From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: kvm@vger.kernel.org
Cc: avi@redhat.com, Lucas Meneghel Rodrigues <lmr@redhat.com>
Subject: [PATCH] vmexit: Update unittests.cfg with list of vmexit subtests
Date: Mon, 14 May 2012 18:57:11 -0300 [thread overview]
Message-ID: <1337032631-12346-1-git-send-email-lmr@redhat.com> (raw)
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
next reply other threads:[~2012-05-14 21:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-14 21:57 Lucas Meneghel Rodrigues [this message]
2012-05-16 21:26 ` [PATCH] vmexit: Update unittests.cfg with list of vmexit subtests Marcelo Tosatti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337032631-12346-1-git-send-email-lmr@redhat.com \
--to=lmr@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox