From: Paolo Bonzini <pbonzini@redhat.com>
To: Wanpeng Li <kernellwp@gmail.com>,
linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: "Radim Krčmář" <rkrcmar@redhat.com>,
"Wanpeng Li" <wanpeng.li@hotmail.com>,
"Michael S . Tsirkin" <mst@redhat.com>,
"Alexander Graf" <agraf@suse.de>,
"Gabriel L. Somlo" <gsomlo@gmail.com>
Subject: Re: [PATCH] KVM: nVMX: fix MWAIT emulation for guests
Date: Thu, 4 May 2017 12:37:51 +0200 [thread overview]
Message-ID: <eaecfa0d-e541-bf8e-1d3a-26add59e2514@redhat.com> (raw)
In-Reply-To: <1493890648-9277-1-git-send-email-wanpeng.li@hotmail.com>
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
next prev parent reply other threads:[~2017-05-04 10:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-04 9:37 Wanpeng Li
2017-05-04 9:43 ` Alexander Graf
2017-05-04 10:37 ` Paolo Bonzini [this message]
2017-05-04 10:47 ` Wanpeng Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eaecfa0d-e541-bf8e-1d3a-26add59e2514@redhat.com \
--to=pbonzini@redhat.com \
--cc=agraf@suse.de \
--cc=gsomlo@gmail.com \
--cc=kernellwp@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=rkrcmar@redhat.com \
--cc=wanpeng.li@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®