2018-02-08 06:46:27 |
Po-Hsu Lin |
description |
With Joshua's comment in bug 1719524: "Nested KVM can only be tried on instance sizes with nested Hypervisor support: Ev3 and Dv3.", although the instance name is E4v3 here but I can start a KVM on it.
Test ept_access_test_paddr_read_execute_ad_disabled test will fail on it.
Steps:
1. git clone --depth=1 https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
2. cd kvm-unit-tests; ./configure; make
3. Run the ept_access_test_paddr_read_execute_ad_disabled test as root:
# TESTNAME=vmx_ept_access_test_paddr_read_execute_ad_disabled TIMEOUT=90s ACCEL= ./x86/run x86/vmx.flat -smp 1 -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_execute_ad_disabled
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel x86/vmx.flat -smp 1 -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_execute_ad_disabled # -initrd /tmp/tmp.ya1kG7bKNk
enabling apic
paging enabled
cr0 = 80010011
cr3 = 46b000
cr4 = 20
Test suite: ept_access_test_paddr_read_execute_ad_disabled
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
LHS: 0x00000000000000ab - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1011 - 171
RHS: 0x00000000000000aa - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1010 - 170
STACK: 408b22 40920f 4092f2 4095ca 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
LHS: 0x00000000000000ab - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1011 - 171
RHS: 0x00000000000000aa - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1010 - 170
STACK: 408b22 40920f 4092f2 4095e3 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
LHS: 0x00000000000000ab - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1011 - 171
RHS: 0x00000000000000aa - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1010 - 170
STACK: 408b22 40920f 4092f2 4095fc 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
LHS: 0x00000000000000ab - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1011 - 171
RHS: 0x00000000000000aa - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1010 - 170
STACK: 408b22 40920f 4092f2 409629 401d21 403944 400312
SUMMARY: 145 tests, 4 unexpected failures
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.14.0-1004-azure-edge 4.14.0-1004.4
ProcVersionSignature: User Name 4.14.0-1004.4-username-edge 4.14.14
Uname: Linux 4.14.0-1004-azure-edge x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Feb 8 06:25:58 2018
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux-azure-edge
UpgradeStatus: No upgrade log present (probably fresh install) |
With Joshua's comment in bug 1719524: "Nested KVM can only be tried on instance sizes with nested Hypervisor support: Ev3 and Dv3.", although the instance name is E4v3 here but I can start a KVM on it.
Test vmx_ept_access_test_paddr_read_execute_ad_disabled test will fail on it.
Steps:
1. git clone --depth=1 https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
2. cd kvm-unit-tests; ./configure; make
3. Run the vmx_ept_access_test_paddr_read_execute_ad_disabled test as root:
# TESTNAME=vmx_ept_access_test_paddr_read_execute_ad_disabled TIMEOUT=90s ACCEL= ./x86/run x86/vmx.flat -smp 1 -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_execute_ad_disabled
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel x86/vmx.flat -smp 1 -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_execute_ad_disabled # -initrd /tmp/tmp.ya1kG7bKNk
enabling apic
paging enabled
cr0 = 80010011
cr3 = 46b000
cr4 = 20
Test suite: ept_access_test_paddr_read_execute_ad_disabled
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
LHS: 0x00000000000000ab - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1011 - 171
RHS: 0x00000000000000aa - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1010 - 170
STACK: 408b22 40920f 4092f2 4095ca 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
LHS: 0x00000000000000ab - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1011 - 171
RHS: 0x00000000000000aa - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1010 - 170
STACK: 408b22 40920f 4092f2 4095e3 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
LHS: 0x00000000000000ab - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1011 - 171
RHS: 0x00000000000000aa - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1010 - 170
STACK: 408b22 40920f 4092f2 4095fc 401d21 403944 400312
EPT_VLT_RD expected
FAIL: x86/vmx_tests.c:2232: Expectation failed: (expected_qual) == (qual)
LHS: 0x00000000000000ab - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1011 - 171
RHS: 0x00000000000000aa - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'1010'1010 - 170
STACK: 408b22 40920f 4092f2 409629 401d21 403944 400312
SUMMARY: 145 tests, 4 unexpected failures
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.14.0-1004-azure-edge 4.14.0-1004.4
ProcVersionSignature: User Name 4.14.0-1004.4-username-edge 4.14.14
Uname: Linux 4.14.0-1004-azure-edge x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Thu Feb 8 06:25:58 2018
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux-azure-edge
UpgradeStatus: No upgrade log present (probably fresh install) |
|