[kvm-unit-tests PATCH] x86/unittests.cfg: mark hyperv_clock and syscall as x86_64 only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These two tests, hyperv_clock and syscall, only exist in the x86_64 makefile,
add this property into the unittests.cfg file to prevent it from running on
i386 systems.

Otherwise it will fail with error messages like:
qemu: could not load kernel 'x86/syscall.flat': No such file or directory

Signed-off-by: Po-Hsu Lin <po-hsu.lin@xxxxxxxxxxxxx>
---
 x86/unittests.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 22c62d5..fdbe4ff 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -169,6 +169,7 @@ file = sieve.flat
 
 [syscall]
 file = syscall.flat
+arch = x86_64
 extra_params = -cpu Opteron_G1,vendor=AuthenticAMD
 
 [tsc]
@@ -570,6 +571,7 @@ groups = hyperv
 file = hyperv_clock.flat
 smp = 2
 extra_params = -cpu kvm64,hv_time
+arch = x86_64
 groups = hyperv
 
 [intel_iommu]
-- 
2.7.4




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux