Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1635627

Re: [PATCH] KVM: nVMX: fix MWAIT emulation for guests

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] KVM: nVMX: fix MWAIT emulation for guests
Date 2017-05-04 12:40 +0200
Message-ID <tDmkV-2bM-1@gated-at.bofh.it> (permalink)
References <tDloS-1BT-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 04/05/2017 11:37, Wanpeng Li wrote:
> 
> The kvm-unit-tests/vmx.flat fails against instruction(mwait) intercept test.
> 
> Test suite: instruction intercept
> Unhandled exception 13 #GP at ip 0000000000402397
> error_code=0000      rflags=00010012      cs=00000008
> rax=0000000000000000 rcx=0000000004006172 rdx=0000000000402397 rbx=000000000041427d
> rbp=0000000007ff8fdf rsi=0000000000000000 rdi=0000000000000004
>  r8=000000000000000a  r9=00000000000003f8 r10=0000000000000000 r11=0000000000000000
>  r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
> cr0=0000000080010031 cr2=0000000000000000 cr3=0000000007fff000 cr4=0000000000002020
> cr8=0000000000000000
>  	STACK: @402397 401102 400459

The problem is simply that the tests were not clearing eax/ecx/edx.

Update kvm-unit-tests.git, it includes the "[PATCH] vmx: correctly set
up MONITOR and MWAIT" from April 27 (message id
1493309532-14398-1-git-send-email-pbonzini@redhat.com).

Thanks,

Paolo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] KVM: nVMX: fix MWAIT emulation for guests Wanpeng Li <kernellwp@gmail.com> - 2017-05-04 11:40 +0200
  Re: [PATCH] KVM: nVMX: fix MWAIT emulation for guests Alexander Graf <agraf@suse.de> - 2017-05-04 11:50 +0200
  Re: [PATCH] KVM: nVMX: fix MWAIT emulation for guests Paolo Bonzini <pbonzini@redhat.com> - 2017-05-04 12:40 +0200
    Re: [PATCH] KVM: nVMX: fix MWAIT emulation for guests Wanpeng Li <kernellwp@gmail.com> - 2017-05-04 12:50 +0200

csiph-web