[PATCH kvm-unit-tests] x86: test SMEP/SMAP/PKU by default on access.flat

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

 



The "-cpu qemu64" option does not enable newer x86 features.  Add them
through extra_params.

Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
 x86/unittests.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 2117438..cafba45 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -111,6 +111,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed
 [access]
 file = access.flat
 arch = x86_64
+extra_params = -cpu host
 
 [smap]
 file = smap.flat
-- 
1.8.3.1




[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