[libvirt] [PATCH] bhyve: add bootrom support
Daniel P. Berrange
berrange at redhat.com
Mon Nov 2 13:37:45 UTC 2015
On Mon, Nov 02, 2015 at 04:24:09PM +0300, Roman Bogorodskiy wrote:
> Recently, bhyve got UEFI support that eliminates necessity of
> having two-step process of starting a VM, i.e. loading OS
> using loader like bhyveloader or grub and then calling bhyve itself.
>
> From user perspective usage looks the following: if a domain XML
> contains the '<bootloader>' element and it's value is a path
> to non-executable file, then it's treated as a path to bootrom
> file and external loader is not execute.
Actually, <bootloader> is used to signify a helper program that
runs in host context to acquire a kernel + initrd image to boot
a guest from. So that's not the right element to be using here
If you want to provide a guest BIOS image, then you want to use
the <loader> element instead. IIUC, for UEFI, we use this with
QEMU/KVM:
<loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list