gitlab.arm.com will be in the maintainance mode on Wednesday June 29th 01:00 - 10:00 (UTC+1). Repositories is read only during the maintainance.

Commit 11cec501 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

x86: cover emulation of reduced MAXPHYADDR



Add a variant of x86/access.flat that covers the emulation
of guest-MAXPHYADDR < host-MAXPHYADDR.  Use an old-ish
CPU model because to speed up the test, as Ivy Bridge did
not have SMEP and PKU.
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 8b0a3d4d
......@@ -116,9 +116,16 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed
[access]
file = access.flat
arch = x86_64
extra_params = -cpu host,host-phys-bits
extra_params = -cpu max
timeout = 180
[access-reduced-maxphyaddr]
file = access.flat
arch = x86_64
extra_params = -cpu IvyBridge,phys-bits=36,host-phys-bits=off
timeout = 180
check = /sys/module/kvm_intel/parameters/allow_smaller_maxphyaddr=Y
[smap]
file = smap.flat
extra_params = -cpu host
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment