From: Babu Moger <babu.moger@amd.com>
To: pbonzini@redhat.com
Cc: kvm@vger.kernel.org
Subject: [kvm-unit-tests PATCH v2] x86: Add a kvm module parameter check for vmware_backdoors test
Date: Thu, 16 Jan 2020 13:47:46 -0600 [thread overview]
Message-ID: <157920400074.15031.16850091609715260458.stgit@naples-babu.amd.com> (raw)
vmware_backdoors test fails if the kvm module parameter
enable_vmware_backdoor is not set to Y. Add a check before
running the test.
Suggested-by: Wei Huang <Wei.Huang2@amd.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
---
v2: Fixed Wei's name.
Added reviwed by Liran Alon.
x86/unittests.cfg | 1 +
1 file changed, 1 insertion(+)
diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 51e4ba5..aae1523 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -164,6 +164,7 @@ check = /proc/sys/kernel/nmi_watchdog=0
[vmware_backdoors]
file = vmware_backdoors.flat
extra_params = -machine vmport=on -cpu host
+check = /sys/module/kvm/parameters/enable_vmware_backdoor=Y
arch = x86_64
[port80]
next reply other threads:[~2020-01-16 19:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-16 19:47 Babu Moger [this message]
2020-01-18 21:36 ` [kvm-unit-tests PATCH v2] x86: Add a kvm module parameter check for vmware_backdoors test Paolo Bonzini
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=157920400074.15031.16850091609715260458.stgit@naples-babu.amd.com \
--to=babu.moger@amd.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.