[libvirt-users] uefi built from tiancore via edk2 can't persist boot changes

Andrea Bolognani abologna at redhat.com
Tue Mar 22 08:35:37 UTC 2016


On Mon, 2016-03-21 at 13:53 -0500, jsl6uy js16uy wrote:
> for this host....my nvram setting look like
>   <os>
>     <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>
>     <loader readonly='yes' type='pflash'>/home/xyz/OVMF.fd</loader>
>     <nvram template='/usr/share/OVMF/OVMF_VARS.fd'>/var/lib/libvirt/qemu/nvram/X_VARS.fd</nvram>
>     <boot dev='hd'/>
>   </os>

Have you tried deleting the *VARS.fd in /var/lib/libvirt/qemu/nvram
and changing the 'template' attribute so that it points to the
*VARS.fd file you should have in your edk2 source tree, eg. the one
matching the OVMF.fd you're using to boot?

Not sure if that would help, but it's definitely worth a shot :)

Cheers.

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvirt-users mailing list