If more than one boot device has been selected, the currently selected number displayed in the menu is wrong. The tiny patch I am attaching makes sure that only the first boot device is considered. The patch has to be applied on top of the original patch. Signed-off-by: Stefano Stabellini > The attached patch implements a mini BIOS menu for choosing a > non-default boot device. When a guest starts it'll display > > 'Press F10 to select boot device' > > And wait 3 seconds, before continuing with the normal boot device. If > they press the F10 key, a menu is shown allowing a choice between > floppy, harddisk, cdrom and network (PXE). > > I can't take credit for this originally - Jeremy Katz wrote it for KVM, > I merely re-diffed the patch to work against Xen's QEMU/BIOS code tree. > It has been tested in Fedora successfully against 3.1.x and 3.2.x > > Signed-off-by: Daniel P. Berrange > CC: Jeremy Katz >