[libvirt] [PATCH] configure: Report --with-loader-nvram value in summary

--- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 7f6fd7c..d5fb71d 100644 --- a/configure.ac +++ b/configure.ac @@ -2980,6 +2980,7 @@ AC_MSG_NOTICE([ XML Catalog: $XML_CATALOG_FILE]) AC_MSG_NOTICE([ Init script: $with_init_script]) AC_MSG_NOTICE([Char device locks: $with_chrdev_lock_files]) AC_MSG_NOTICE([ Default Editor: $DEFAULT_EDITOR]) +AC_MSG_NOTICE([ Loader/NVRAM: $with_loader_nvram]) AC_MSG_NOTICE([]) AC_MSG_NOTICE([Developer Tools]) AC_MSG_NOTICE([]) -- 2.3.5

Fedora doesn't ship OVMF/AAVMF builds in its repos due to licensing issues, so the recommended way to consume these bits is via Gerd's nightly repo: https://www.kraxel.org/repos Let's teach fedora builds about the loader/nvram pairs these packages installed, so users don't need to edit qemu.conf to get virt-manager UEFI support. --- libvirt.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index c5c6608..b32b68a 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -344,6 +344,12 @@ %endif +# Advertise OVMF and AAVMF from nightly firmware repo +%if 0%{?fedora} + %define with_loader_nvram --with-loader-nvram="/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd:/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd:/usr/share/edk2.git/aarch64/QEMU_EFI-pflash.raw:/usr/share/edk2.git/aarch64/vars-template-pflash.raw" +%endif + + # The RHEL-5 Xen package has some feature backports. This # flag is set to enable use of those special bits on RHEL-5 %if 0%{?rhel} == 5 @@ -1522,6 +1528,7 @@ rm -f po/stamp-po %{with_packager_version} \ --with-qemu-user=%{qemu_user} \ --with-qemu-group=%{qemu_group} \ + %{?with_loader_nvram} \ %{?enable_werror} \ --enable-expensive-tests \ %{init_scripts} -- 2.3.5

subject should be s/and/at/g - Cole On 04/22/2015 04:25 PM, Cole Robinson wrote:
Fedora doesn't ship OVMF/AAVMF builds in its repos due to licensing issues, so the recommended way to consume these bits is via Gerd's nightly repo: https://www.kraxel.org/repos
Let's teach fedora builds about the loader/nvram pairs these packages installed, so users don't need to edit qemu.conf to get virt-manager UEFI support. --- libvirt.spec.in | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/libvirt.spec.in b/libvirt.spec.in index c5c6608..b32b68a 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -344,6 +344,12 @@ %endif
+# Advertise OVMF and AAVMF from nightly firmware repo +%if 0%{?fedora} + %define with_loader_nvram --with-loader-nvram="/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd:/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd:/usr/share/edk2.git/aarch64/QEMU_EFI-pflash.raw:/usr/share/edk2.git/aarch64/vars-template-pflash.raw" +%endif + + # The RHEL-5 Xen package has some feature backports. This # flag is set to enable use of those special bits on RHEL-5 %if 0%{?rhel} == 5 @@ -1522,6 +1528,7 @@ rm -f po/stamp-po %{with_packager_version} \ --with-qemu-user=%{qemu_user} \ --with-qemu-group=%{qemu_group} \ + %{?with_loader_nvram} \ %{?enable_werror} \ --enable-expensive-tests \ %{init_scripts}

On 04/22/2015 02:28 PM, Cole Robinson wrote:
subject should be s/and/at/g
- Cole
On 04/22/2015 04:25 PM, Cole Robinson wrote:
Fedora doesn't ship OVMF/AAVMF builds in its repos due to licensing issues, so the recommended way to consume these bits is via Gerd's nightly repo: https://www.kraxel.org/repos
Let's teach fedora builds about the loader/nvram pairs these packages installed, so users don't need to edit qemu.conf to get virt-manager UEFI support.
ACK both patches with the typo correction in the second. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On 04/22/2015 04:58 PM, Eric Blake wrote:
On 04/22/2015 02:28 PM, Cole Robinson wrote:
subject should be s/and/at/g
- Cole
On 04/22/2015 04:25 PM, Cole Robinson wrote:
Fedora doesn't ship OVMF/AAVMF builds in its repos due to licensing issues, so the recommended way to consume these bits is via Gerd's nightly repo: https://www.kraxel.org/repos
Let's teach fedora builds about the loader/nvram pairs these packages installed, so users don't need to edit qemu.conf to get virt-manager UEFI support.
ACK both patches with the typo correction in the second.
Thanks, pushed now - Cole
participants (2)
-
Cole Robinson
-
Eric Blake