public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vmexit: Update unittests.cfg with list of vmexit subtests
@ 2012-05-14 21:57 Lucas Meneghel Rodrigues
  2012-05-16 21:26 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Meneghel Rodrigues @ 2012-05-14 21:57 UTC (permalink / raw)
  To: kvm; +Cc: avi, 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.

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@redhat.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] vmexit: Update unittests.cfg with list of vmexit subtests
  2012-05-14 21:57 [PATCH] vmexit: Update unittests.cfg with list of vmexit subtests Lucas Meneghel Rodrigues
@ 2012-05-16 21:26 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2012-05-16 21:26 UTC (permalink / raw)
  To: Lucas Meneghel Rodrigues; +Cc: kvm, avi

On Mon, May 14, 2012 at 06:57:11PM -0300, Lucas Meneghel Rodrigues wrote:
> 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@redhat.com>

Applied, thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-16 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 21:57 [PATCH] vmexit: Update unittests.cfg with list of vmexit subtests Lucas Meneghel Rodrigues
2012-05-16 21:26 ` Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox