Skip to contentSkip to conversation

proposal : use gpxe roms in upstream qemu

Qemu-devel Glauber Costa 2 participants 2 messages Aug 26, 2009

lore
Share & tools
lore
#0 lore raw

Hi people,

For a while now, we are using gpxe instead of etherboot in fedora's qemu, with strong success. etherboot is currently deprecated, and gpxe offers a lot of interesting features, like iscsi initiator support, besides being actively maintained. I even think with some effort we may be able to get rid of extboot by using gpxe infrastructure to initiate virtio disks.

I propose we do the same in upstream qemu. To properly use it, there are a number of qemu, bochs bios and kernel (in kvm case) fixes needed. But they are fairly old at this point in time, and had more than enough time to spread around.

I've put the roms we are using in http://glommer.net/gpxe if people want to test it. They are built from gpxe 0.9.7 without any patches, so it should be very very straightforward to reproduce. One can also grab .rom files from rom-o-matic.net

#1 lore raw
Quoted 7 lines · Glauber Costa

Hi people,

For a while now, we are using gpxe instead of etherboot in fedora's qemu, with strong success. etherboot is currently deprecated, and gpxe offers a lot of interesting features, like iscsi initiator support, besides being actively maintained. I even think with some effort we may be able to get rid of extboot by using gpxe infrastructure to initiate virtio disks.

Quoted 8 lines

I propose we do the same in upstream qemu. To properly use it, there are a number of qemu, bochs bios and kernel (in kvm case) fixes needed. But they are fairly old at this point in time, and had more than enough time to spread around.

I've put the roms we are using in http://glommer.net/gpxe if people want to test it. They are built from gpxe 0.9.7 without any patches, so it should be very very straightforward to reproduce. One can also grab .rom files from rom-o-matic.net

One problem with this is that gpxe does not work with the builtin tftp server. If I do:

x86_64-softmmu/qemu-system-x86_64 -hda ~/imag/linux.img -snapshot -L ~/git/qemu/pc-bios -boot n -bootp /pxelinux.0 -tftp /tftpboot

I get a tftp server does not support tsize option.

Regards,

Anthony Liguori