From ead8cd12f95e0f15c842f6682610bfb740fcd4a46f35067f5b79252052984552 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Wed, 27 Jan 2016 22:57:49 +0000 Subject: [PATCH] Accepting request 356399 from home:jfehlig:branches:Virtualization - qemu: set /usr/share/qemu/ovmf-x86_64-ms-{code,vars}.bin as default UEFI firmwares for x86_64 bsc#961853 OBS-URL: https://build.opensuse.org/request/show/356399 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=509 --- libvirt.changes | 7 +++++++ libvirt.spec | 6 ++++++ 2 files changed, 13 insertions(+) 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 \