qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/1] Making pxe working in the "NAT" mode


From: Erwan Velu
Subject: Re: [Qemu-devel] [PATCH 1/1] Making pxe working in the "NAT" mode
Date: Fri, 16 Feb 2007 11:12:08 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070111)

Anthony Liguori wrote:
Hi Erwan,

I really like the idea of your patch. Of course, the hard coding is not really reasonable :-) Also, PXE is an x86-ism. What you've really done is added a mechanism to publish a BOOTP name. We do need to add a new option too as one may want to use -boot n without publishing a BOOTP filename.

Using your patch as a basis, I've written three patches. The first one is the tsize negotiation fix for the TFTP server. The second adds a -bootp option for specifying the location of the BOOTP image. The third changes the -tftp option to take root directory. The end result, is that now you can say:

qemu -hda /tmp/a.img -boot n -tftp ~/tftpboot -bootp /pxelinux.0

And you get the same results without the hard coding.  What do you think?

I just love it, you exactly did the stuff I didn't knew how to do. It just push a turn a simple Proof-of-concept into a "ready-to-use" feature. Thanks a lot for you excellent work, I hope now this patch could be integrated upstream for allowing people to use PXE in qemu without the need of knowing how to configure the dhcp/tftp and bridging stuff.

One more time, thanks anthony for this patches.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]