Daniel P. Berrange
2007-Dec-21 22:31 UTC
[Xen-devel] PATCH: Add QEMU BIOS menu for choosing boot device
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 <berrange@redhat.com> CC: Jeremy Katz <katzj@redhat.com> rombios.c | 226 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 225 insertions(+), 1 deletion(-) Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2008-Jan-02 15:22 UTC
Re: [Xen-devel] PATCH: Add QEMU BIOS menu for choosing boot device
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 <stefano.stabellini@citrix.com>> 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 <berrange@redhat.com> > CC: Jeremy Katz <katzj@redhat.com> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel