vmx_instruction_intercept test in kvm-unit-test failed on E4v3 azure node with 4.13/4.14 kernel

Bug #1748108 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
New
Undecided
Unassigned
linux-azure-edge (Ubuntu)
New
Undecided
Unassigned

Bug 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 vmx_instruction_intercept 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_instruction_intercept test as root:

# TESTNAME=vmx_instruction_intercept TIMEOUT=90s ACCEL= ./x86/run x86/vmx.flat -smp 1 -cpu host,+vmx -append instruction_intercept
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 -append instruction_intercept # -initrd /tmp/tmp.w6ySLIhh8e
enabling apic
paging enabled
cr0 = 80010011
cr3 = 46b000
cr4 = 20

Test suite: instruction intercept
PASS: execute HLT
PASS: intercept HLT
PASS: execute INVLPG
PASS: intercept INVLPG
PASS: execute MWAIT
PASS: intercept MWAIT
Unhandled exception 13 #GP at ip 00000000004039d5
error_code=0000 rflags=00010046 cs=00000008
rax=0000000000000000 rcx=0000000000000000 rdx=00000000004039d3 rbx=000000000041bcfa
rbp=0000000000472fdf rsi=0000000000000000 rdi=0000000000000006
 r8=000000000041cf72 r9=00000000000003f8 r10=0000000000000000 r11=0000000000000000
r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
cr0=0000000080010031 cr2=0000000000000000 cr3=000000000046b000 cr4=0000000000002020
cr8=0000000000000000
 STACK: @4039d5 401eb6 4004dd

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:20:16 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)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
summary: vmx_instruction_intercept test in kvm-unit-test failed on E4v3 azure
- node with 4.14 kernel
+ node with 4.13/4.14 kernel
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.