[kvm-unit-tests PATCH 12/15] KVM: nVMX: Rename SMP tests to being with vmx_smp_*

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

 



...so that they can be specified via globbing in the config.

Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
---
 x86/unittests.cfg | 2 +-
 x86/vmx_tests.c   | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 838b2f5..cab5b62 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -239,7 +239,7 @@ groups = vmx
 [vmx_smp]
 file = vmx.flat
 smp = 2
-extra_params = -cpu host,+vmx -m 2048 -append "vmx_eoi_bitmap_ioapic_scan_test vmx_apic_passthrough_thread_test"
+extra_params = -cpu host,+vmx -m 2048 -append "vmx_smp*"
 arch = x86_64
 groups = vmx
 
diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c
index 28bab81..b51ce4c 100644
--- a/x86/vmx_tests.c
+++ b/x86/vmx_tests.c
@@ -5910,7 +5910,7 @@ static void vmx_eoi_bitmap_ioapic_scan_test_guest(void)
 	asm volatile ("int $0x79");
 }
 
-static void vmx_eoi_bitmap_ioapic_scan_test(void)
+static void vmx_smp_eoi_bitmap_ioapic_scan_test(void)
 {
 	if (!cpu_has_apicv() || (cpu_count() < 2)) {
 		report_skip(__func__);
@@ -6064,7 +6064,7 @@ static void vmx_apic_passthrough_test(void)
 	vmx_apic_passthrough(false);
 }
 
-static void vmx_apic_passthrough_thread_test(void)
+static void vmx_smp_apic_passthrough_test(void)
 {
 	vmx_apic_passthrough(true);
 }
@@ -6423,11 +6423,11 @@ struct vmx_test vmx_tests[] = {
 	TEST(vmx_controls_test),
 	TEST(vmentry_movss_shadow_test),
 	/* APICv tests */
-	TEST(vmx_eoi_bitmap_ioapic_scan_test),
+	TEST(vmx_smp_eoi_bitmap_ioapic_scan_test),
 	TEST(vmx_hlt_with_rvi_test),
 	/* APIC pass-through tests */
 	TEST(vmx_apic_passthrough_test),
-	TEST(vmx_apic_passthrough_thread_test),
+	TEST(vmx_smp_apic_passthrough_test),
 	/* VMCS Shadowing tests */
 	TEST(vmx_vmcs_shadow_test),
 	/* Regression tests */
-- 
2.20.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