diff --git a/libvirt.changes b/libvirt.changes index 52fae52..fc0af04 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Jan 23 01:19:22 UTC 2016 - jfehlig@suse.com + +- qemu: set /usr/share/qemu/ovmf-x86_64-ms-{code,vars}.bin as + default UEFI firmwares for x86_64 + bsc#961853 + ------------------------------------------------------------------- Mon Jan 18 18:30:52 UTC 2016 - jfehlig@suse.com diff --git a/libvirt.spec b/libvirt.spec index c536b79..116a1cf 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -215,6 +215,11 @@ %endif %endif +# Advertise OVMF for >= 13.1 +%if 0%{?suse_version} >= 1310 + %define with_loader_nvram --with-loader-nvram="/usr/share/qemu/ovmf-x86_64-ms-code.bin:/usr/share/qemu/ovmf-x86_64-ms-vars.bin" +%endif + %if %{with_macvtap} %define with_libnl 1 %endif @@ -1196,6 +1201,7 @@ export CFLAGS="$RPM_OPT_FLAGS" --libexecdir=%{_libdir}/%{name} \ --with-qemu-user=%{qemu_user} \ --with-qemu-group=%{qemu_group} \ + %{?with_loader_nvram} \ --without-login-shell \ %{init_scripts} \ ac_cv_path_MODPROBE=/sbin/modprobe \