diff mbox series

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

Message ID 20190212233451.27740-13-sean.j.christopherson@intel.com (mailing list archive)
State New, archived
Headers show
Series KVM: clean up the nVMX config | expand

Commit Message

Sean Christopherson Feb. 12, 2019, 11:34 p.m. UTC
...so that they can be specified via globbing in the config.

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

Patch

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 */