diff mbox

[kvm-unit-tests,06/32] x86: vmx: filter exit_monitor_from_l2_test from full vmx test

Message ID 20170421005004.137260-7-dmatlack@google.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Matlack April 21, 2017, 12:49 a.m. UTC
Filter out exit_monitor_from_l2_test when running the full vmx test
suite (i.e. the "[vmx]" test suite in unittest.cfg). Since
exit_monitor_from_l2_test causes the VM to shutdown, many of the tests
in vmx_tests.c end up getting skipped.

Signed-off-by: David Matlack <dmatlack@google.com>
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paolo Bonzini April 21, 2017, 8:55 a.m. UTC | #1
On 21/04/2017 02:49, David Matlack wrote:
> Filter out exit_monitor_from_l2_test when running the full vmx test
> suite (i.e. the "[vmx]" test suite in unittest.cfg). Since
> exit_monitor_from_l2_test causes the VM to shutdown, many of the tests
> in vmx_tests.c end up getting skipped.
> 
> Signed-off-by: David Matlack <dmatlack@google.com>

This can be squashed into patch 7, since the test doesn't exist yet.

Paolo

> ---
>  x86/unittests.cfg | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index 02dd6b235739..8011429d2307 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -196,7 +196,7 @@ arch = x86_64
>  
>  [vmx]
>  file = vmx.flat
> -extra_params = -cpu host,+vmx
> +extra_params = -cpu host,+vmx -append -exit_monitor_from_l2_test
>  arch = x86_64
>  groups = vmx
>  
>
diff mbox

Patch

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 02dd6b235739..8011429d2307 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -196,7 +196,7 @@  arch = x86_64
 
 [vmx]
 file = vmx.flat
-extra_params = -cpu host,+vmx
+extra_params = -cpu host,+vmx -append -exit_monitor_from_l2_test
 arch = x86_64
 groups = vmx