kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH] x86: Increase timeout for vmx_vmcs_shadow_test
@ 2021-12-13 19:59 David Matlack
  2021-12-14 12:08 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: David Matlack @ 2021-12-13 19:59 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: kvm, drjones, David Matlack

When testing with debug kernels (e.g. CONFIG_DEBUG_VM)
vmx_vmcs_shadow_test exceeds the default 90s timeout. The test ends up
taking about 120s to complete (on a barmetal host), so increase the
timeout to 180s.

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

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index 3000e53c790f..133a2a1501dd 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -346,6 +346,7 @@ file = vmx.flat
 extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test
 arch = x86_64
 groups = vmx
+timeout = 180
 
 [debug]
 file = debug.flat

base-commit: 0c111b370ad3c5a89e11caee79bc93a66fd004f2
-- 
2.34.1.173.g76aa8bc2d0-goog


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

* Re: [kvm-unit-tests PATCH] x86: Increase timeout for vmx_vmcs_shadow_test
  2021-12-13 19:59 [kvm-unit-tests PATCH] x86: Increase timeout for vmx_vmcs_shadow_test David Matlack
@ 2021-12-14 12:08 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2021-12-14 12:08 UTC (permalink / raw)
  To: David Matlack; +Cc: kvm, drjones

On 12/13/21 20:59, David Matlack wrote:
> When testing with debug kernels (e.g. CONFIG_DEBUG_VM)
> vmx_vmcs_shadow_test exceeds the default 90s timeout. The test ends up
> taking about 120s to complete (on a barmetal host), so increase the
> timeout to 180s.
> 
> Signed-off-by: David Matlack <dmatlack@google.com>
> ---
>   x86/unittests.cfg | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index 3000e53c790f..133a2a1501dd 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -346,6 +346,7 @@ file = vmx.flat
>   extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test
>   arch = x86_64
>   groups = vmx
> +timeout = 180
>   
>   [debug]
>   file = debug.flat
> 
> base-commit: 0c111b370ad3c5a89e11caee79bc93a66fd004f2
> 

Applied, thanks.

Paolo

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

end of thread, other threads:[~2021-12-14 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-13 19:59 [kvm-unit-tests PATCH] x86: Increase timeout for vmx_vmcs_shadow_test David Matlack
2021-12-14 12:08 ` 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).