From: Avi Kivity <avi@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>,
Sheng Yang <sheng@linux.intel.com>
Cc: kvm@vger.kernel.org
Subject: [PATCH 0/3] Fix #GP at wrong rip for mov cr instructions
Date: Thu, 10 Jun 2010 17:02:13 +0300 [thread overview]
Message-ID: <1276178536-10888-1-git-send-email-avi@redhat.com> (raw)
Three mov cr instructions fail in a similar way when they fault: the
fault rip points at the next instead of faulting instructions. This
patch set fixes the problem.
Avi Kivity (3):
KVM: Fix mov cr0 #GP at wrong instruction
KVM: Fix mov cr4 #GP at wrong instruction
KVM: Fix mov cr3 #GP at wrong instruction
arch/x86/include/asm/kvm_host.h | 6 +++---
arch/x86/kvm/mmu.c | 2 +-
arch/x86/kvm/svm.c | 6 +++---
arch/x86/kvm/vmx.c | 21 +++++++++++++++------
arch/x86/kvm/x86.c | 32 +++++++-------------------------
5 files changed, 29 insertions(+), 38 deletions(-)
next reply other threads:[~2010-06-10 14:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-10 14:02 Avi Kivity [this message]
2010-06-10 14:02 ` [PATCH 1/3] KVM: Fix mov cr0 #GP at wrong instruction Avi Kivity
2010-06-10 14:02 ` [PATCH 2/3] KVM: Fix mov cr4 " Avi Kivity
2010-06-10 14:02 ` [PATCH 3/3] KVM: Fix mov cr3 " Avi Kivity
2010-06-11 17:09 ` [PATCH 0/3] Fix #GP at wrong rip for mov cr instructions Marcelo Tosatti
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=1276178536-10888-1-git-send-email-avi@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=sheng@linux.intel.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