Re: [PATCH] bhyve: add bootrom support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Daniel P. Berrange wrote:

> 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>

Ah, I should read formatdomain.html more carefully!

I'll work on v2, thanks for the feedback.

Roman Bogorodskiy

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]