kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v2] x86: Add a kvm module parameter check for vmware_backdoors test
@ 2020-01-16 19:47 Babu Moger
  2020-01-18 21:36 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Babu Moger @ 2020-01-16 19:47 UTC (permalink / raw)
  To: pbonzini; +Cc: kvm

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]


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

* Re: [kvm-unit-tests PATCH v2] x86: Add a kvm module parameter check for vmware_backdoors test
  2020-01-16 19:47 [kvm-unit-tests PATCH v2] x86: Add a kvm module parameter check for vmware_backdoors test Babu Moger
@ 2020-01-18 21:36 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2020-01-18 21:36 UTC (permalink / raw)
  To: Babu Moger; +Cc: kvm

On 16/01/20 20:47, Babu Moger wrote:
> 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]
> 

Queued, thanks.

Paolo


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

end of thread, other threads:[~2020-01-18 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16 19:47 [kvm-unit-tests PATCH v2] x86: Add a kvm module parameter check for vmware_backdoors test Babu Moger
2020-01-18 21:36 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).