Skip to contentSkip to conversation

vmexit: Update unittests.cfg with list of vmexit subtests

PATCH Applied Lucas Meneghel Rodrigues 2 participants 2 messages May 14, 2012 – May 16, 2012 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vmexit: Update unittests.cfg with list of vmexit subtests

vmexit takes a parameter to run appropriate subtests, but unittests.cfg was not updated to reflect that. As this config file is used by automated test harnesses such as autotest, this will make the appropriate tests not executed.

Tested successfuly with qemu-kvm shipped in Fedora 17 and RHEL 6.3. I've found problems with qemu-kvm compiled from master HEAD, but it's not related to this patch, as all other unittests are failing (currently under investigation).

---
 x86/unittests.cfg |   32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)
x86/unittests.cfg +31 -1
index 83489d0..10067c4 100644
@@ -17,9 +17,39 @@ smp = 2
 file = smptest.flat
 smp = 3
 
-[vmexit]
+[vmexit_cpuid]
+file = vmexit.flat
+extra_params = -append 'cpuid'
+
+[vmexit_vmcall]
+file = vmexit.flat
+extra_params = -append 'vmcall'
+
+[vmexit_mov_from_cr8]
+file = vmexit.flat
+extra_params = -append 'mov_from_cr8'
+
+[vmexit_mov_to_cr8]
+file = vmexit.flat
+extra_params = -append 'mov_to_cr8'
+
+[vmexit_inl_pmtimer]
+file = vmexit.flat
+extra_params = -append 'inl_from_pmtimer'
+
+[vmexit_ipi]
 file = vmexit.flat
 smp = 2
+extra_params = -append 'ipi'
+
+[vmexit_ipi_halt]
+file = vmexit.flat
+smp = 2
+extra_params = -append 'ipi_halt'
+
+[vmexit_ple_round_robin]
+file = vmexit.flat
+extra_params = -append 'ple_round_robin'
 
 [access]
 file = access.flat
Signature · 1 line
1.7.10.1
#1 lore raw
Quoted 6 lines · Lucas Meneghel Rodrigues

vmexit takes a parameter to run appropriate subtests, but unittests.cfg was not updated to reflect that. As this config file is used by automated test harnesses such as autotest, this will make the appropriate tests not executed.

Quoted 6 lines

Tested successfuly with qemu-kvm shipped in Fedora 17 and RHEL 6.3. I've found problems with qemu-kvm compiled from master HEAD, but it's not related to this patch, as all other unittests are failing (currently under investigation).

Applied, thanks.