This is an old revision of the document!
====== How to use gPXE with QEMU ====== ===== QEMU 0.9.1 or later ===== In QEMU 0.9.1, there is a new option, ''-bootp'', which advertises a filename in BOOTP replies from QEMU's internal DHCP server. Combing this option with ''-net user'', this eliminates the need for a special DHCP server setup and TUN/TAP devices. An example command (modified contrib/bochs/qemu.sh): ''qemu -net nic,model=rtl8139 -net user -boot a -fda ../../src/bin/rtl8139.pdsk -bootp http://server/file.gpxe'' ===== QEMU 0.9.0 or earlier ===== For versions of QEMU before 0.9.1, the instructions from [[http://git.etherboot.org/?p=gpxe.git;a=blob;f=contrib/bochs/README.qemu;hb=HEAD|contrib/bochs/README.qemu]] can be used.