From: Marcelo Tosatti <mtosatti@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kvm@vger.kernel.org, Avi Kivity <avi@redhat.com>,
gleb@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH for-3.6] kvm: fix KVM_GET_MSR for PV EOI
Date: Mon, 27 Aug 2012 17:47:42 -0300 [thread overview]
Message-ID: <20120827204742.GA5031@amt.cnet> (raw)
In-Reply-To: <20120826150029.GA11114@redhat.com>
On Sun, Aug 26, 2012 at 06:00:29PM +0300, Michael S. Tsirkin wrote:
> KVM_GET_MSR was missing support for PV EOI,
> which is needed for migration.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>
> Please consider this bugfix patch for 3.6.
> Thanks!
>
> arch/x86/kvm/x86.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
> index 91a5958..ff5e985 100644
> --- a/arch/x86/kvm/x86.c
> +++ b/arch/x86/kvm/x86.c
> @@ -1993,6 +1993,9 @@ int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
> case MSR_KVM_STEAL_TIME:
> data = vcpu->arch.st.msr_val;
> break;
> + case MSR_KVM_PV_EOI_EN:
> + data = vcpu->arch.pv_eoi.msr_val;
> + break;
> case MSR_IA32_P5_MC_ADDR:
> case MSR_IA32_P5_MC_TYPE:
> case MSR_IA32_MCG_CAP:
Should increase KVM_SAVE_MSRS_BEGIN.
next prev parent reply other threads:[~2012-08-27 20:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-26 15:00 [PATCH for-3.6] kvm: fix KVM_GET_MSR for PV EOI Michael S. Tsirkin
2012-08-27 20:47 ` Marcelo Tosatti [this message]
2012-08-27 21:02 ` 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=20120827204742.GA5031@amt.cnet \
--to=mtosatti@redhat.com \
--cc=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.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