On Tue, 25 Feb 2020 at 01:33, Paolo Bonzini pbonzini@redhat.com wrote:
On 24/02/20 13:53, Naresh Kamboju wrote:
FAIL vmx (408624 tests, 3 unexpected failures, 2 expected failures, 5 skipped)
This is fixed in the latest kvm-unit-tests.git.
Running latest kvm-unit-tests on x86_64 got this output [1]. "VMX enabled and locked by BIOS" We will enable on our BIOS and re-run these tests.
+ cat logs/vmx.log 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 -exit_monitor_from_l2_test -ept_access* -vmx_smp* -vmx_vmcs_shadow_test -atomic_switch_overflow_msrs_test -vmx_init_signal_test -vmx_apic_passthrough_tpr_threshold_test # -initrd /tmp/tmp.XZcnThGaPI enabling apic paging enabled cr0 = 80010011 cr3 = 63d000 cr4 = 20 VMX enabled and locked by BIOS PASS: test vmxon with unaligned vmxon region <> PASS: ENT_LOAD_DBGCTLS enabled, GUEST_DR7 80000000 Unhandled exception 13 #GP at ip 0000000000409af5 error_code=0000 rflags=00010046 cs=00000008 rax=0000000000000001 rcx=0000000000000000 rdx=0000000000000000 rbx=0000000000635a10 rbp=0000000000644fdf rsi=0000000000000000 rdi=0000000000000000 r8=0000000000000000 r9=0000000000000000 r10=0000000000000000 r11=0000000000000000 r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000 cr0=0000000080010031 cr2=ffffffffffffe000 cr3=000000000063d000 cr4=0000000000002020 cr8=0000000000000000 STACK: @409af5 401765 400535 0x0000000000409af5: guest_state_test_main at x86/vmx_tests.c:5072 Error pretty printing stack: Traceback (most recent call last): File "./scripts/pretty_print_stacks.py", line 83, in main pretty_print_stack(binary, line) File "./scripts/pretty_print_stacks.py", line 49, in pretty_print_stack lines = open(path).readlines() File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7651: ordinal not in range(128) Continuing without pretty printing... STACK: @409af5 401765 400535
[1] https://lkft.validation.linaro.org/scheduler/job/1250342#L1761
Paolo