kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH] x86/access: Fix phys-bits parameter
@ 2020-05-13 14:23 Mohammed Gamal
  2020-05-13 14:57 ` Thomas Huth
  0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Gamal @ 2020-05-13 14:23 UTC (permalink / raw)
  To: kvm, pbonzini; +Cc: thuth, vkuznets, Mohammed Gamal

Some QEMU versions don't support setting phys-bits argument directly.
This causes breakage to Travis CI. Work around the bug by setting
host-phys-bits=on

Fixes: 1a296ac170f ("x86: access: Add tests for reserved bits of guest physical address")

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
---
 x86/unittests.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index bf0d02e..d43cac2 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -116,7 +116,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed
 [access]
 file = access.flat
 arch = x86_64
-extra_params = -cpu host,phys-bits=36
+extra_params = -cpu host,host-phys-bits=on,phys-bits=36
 
 [smap]
 file = smap.flat
-- 
2.25.2


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

* Re: [kvm-unit-tests PATCH] x86/access: Fix phys-bits parameter
  2020-05-13 14:23 [kvm-unit-tests PATCH] x86/access: Fix phys-bits parameter Mohammed Gamal
@ 2020-05-13 14:57 ` Thomas Huth
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2020-05-13 14:57 UTC (permalink / raw)
  To: Mohammed Gamal, kvm, pbonzini; +Cc: vkuznets

On 13/05/2020 16.23, Mohammed Gamal wrote:
> Some QEMU versions don't support setting phys-bits argument directly.
> This causes breakage to Travis CI. Work around the bug by setting
> host-phys-bits=on
> 
> Fixes: 1a296ac170f ("x86: access: Add tests for reserved bits of guest physical address")
> 
> Reported-by: Thomas Huth <thuth@redhat.com>
> Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
> ---
>  x86/unittests.cfg | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index bf0d02e..d43cac2 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -116,7 +116,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed
>  [access]
>  file = access.flat
>  arch = x86_64
> -extra_params = -cpu host,phys-bits=36
> +extra_params = -cpu host,host-phys-bits=on,phys-bits=36
>  
>  [smap]
>  file = smap.flat
> 

Tested-by: Thomas Huth <thuth@redhat.com>


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

end of thread, other threads:[~2020-05-13 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 14:23 [kvm-unit-tests PATCH] x86/access: Fix phys-bits parameter Mohammed Gamal
2020-05-13 14:57 ` Thomas Huth

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).