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). Signed-off-by: Lucas Meneghel Rodrigues <lmr@xxxxxxxxxx> --- x86/unittests.cfg | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/x86/unittests.cfg b/x86/unittests.cfg index 83489d0..10067c4 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -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 -- 1.7.10.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html