[qemu] Run qemu-sanity-check on x86 and armv7 too. The results are still only advisory.

Richard W.M. Jones rjones at fedoraproject.org
Tue Feb 18 17:00:07 UTC 2014


commit 5b4ee6cf966e4935de128825dc42dee29aa63f7f
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Feb 18 11:42:44 2014 -0500

    Run qemu-sanity-check on x86 and armv7 too.  The results are still only advisory.

 qemu.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index d76fb08..33cc56d 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -139,7 +139,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 1.7.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
 Group: Development/Tools
@@ -1065,9 +1065,16 @@ make check
 # Sanity-check current kernel can boot on this qemu.
 # The results are advisory only.
 %if 0%{?fedora} >= 20
+%ifarch %{arm}
+hostqemu=arm-softmmu/qemu-system-arm
+%endif
+%ifarch %{ix86}
+hostqemu=i386-softmmu/qemu-system-i386
+%endif
 %ifarch x86_64
-qemu-sanity-check --qemu=x86_64-softmmu/qemu-system-x86_64 || :
+hostqemu=x86_64-softmmu/qemu-system-x86_64
 %endif
+if test -f $hostqemu; then qemu-sanity-check --qemu=$hostqemu ||: ; fi
 %endif
 
 %ifarch %{kvm_archs}
@@ -1477,6 +1484,10 @@ getent passwd qemu >/dev/null || \
 %endif
 
 %changelog
+* Tue Feb 18 2014 Richard W.M. Jones <rjones at redhat.com> - 2:1.7.0-5
+- Run qemu-sanity-check on x86 and armv7 too.  The results are still
+  only advisory.
+
 * Mon Jan 13 2014 Richard W.M. Jones <rjones at redhat.com> - 2:1.7.0-4
 - Disable make check on aarch64.
 


More information about the scm-commits mailing list