access: Enable testing guest MAXPHYADDR < host MAXPHYADDR
cover access: Enable testing guest MAXPHYADDR < host MAXPHYADDR
Re-enable phys-bits=36 to test guest MAXPHYADDR < host MAXPHYADDR. Also increase timeout for access tests since using NPT=0 may need more time.
Mohammed Gamal (2):
Revert "access: disable phys-bits=36 for now"
unittests.cfg: Increase timeout for access test
x86/unittests.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.26.2
PATCH 1/2 Revert "access: disable phys-bits=36 for now"
This reverts commit 71de9c93fbdb15978ffa2f290dd120d3005a9292.
Now that guest_maxphyaddr < host_maxphyaddr patches are sent. Revert this change in kvm-unit-test
Signed-off-by Mohammed Gamal <[email protected]>
--- x86/unittests.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
x86/unittests.cfg +1 -1
@@ -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,host-phys-bits +extra_params = -cpu host,phys-bits=36 [smap] file = smap.flat
Signature · 1 line
2.26.2
PATCH 2/2 unittests.cfg: Increase timeout for access test
In reply to Mohammed GamalIn case of npt=0 on kvm_amd, tests run slower and timeout, so increase the timeout. The tests then do succeed.
Signed-off-by Mohammed Gamal <[email protected]>
--- x86/unittests.cfg | 1 + 1 file changed, 1 insertion(+)
x86/unittests.cfg +1 -0
@@ -117,6 +117,7 @@ extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed file = access.flat arch = x86_64 extra_params = -cpu host,phys-bits=36 +timeout = 180 [smap] file = smap.flat
Signature · 1 line
2.26.2