Comment 9 for bug 1827866

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: vmx_apicv_test in ubuntu_kvm_unit_tests failed on X/B-KVM X-azure

This issue can be found on AWS Trusty 4.4 as well (4.4.0-1061.65-aws):

 timeout -k 1s --foreground 10 /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 /tmp/tmp.QWPJWlQ7uF -smp 1 -cpu host,+vmx -append apic_reg_virt_test virt_x2apic_mode_test # -initrd /tmp/tmp.OCXCEUzFNz
 enabling apic
 paging enabled
 cr0 = 80010011
 cr3 = 477000
 cr4 = 20

 Test suite: apic_reg_virt_test
 --- Virtualize APIC accesses test ---
 FAIL: xapic - reading 0x000: x86/vmx_tests.c:2184: Assertion failed: (expected) == (actual)
 LHS: 0x000000000000002c - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0010'1100 - 44
 RHS: 000000000000000000 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 - 0
 Expected VMX_APIC_ACCESS, got VMX_EXC_NMI.
 STACK: 405e1c 409a1e 401556 4039f1 400312

 Test suite: virt_x2apic_mode_test
 --- Baseline test ---
 FAIL: xapic - reading 0x000: x2apic - reading 0x000: x86/vmx_tests.c:2184: Assertion failed: (expected) == (actual)
 LHS: 0x0000000000000012 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0001'0010 - 18
 RHS: 000000000000000000 - 0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000'0000 - 0
 Expected VMX_VMCALL, got VMX_EXC_NMI.
 STACK: 405e1c 405e46 40c979 401556 4039f1 400312
 SUMMARY: 8 tests, 2 unexpected failures
 FAIL vmx_apicv_test (8 tests, 2 unexpected failures)