From: Paolo Bonzini <pbonzini@redhat.com>
To: yadong.qi@intel.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] KVM: x86: emulate wait-for-SIPI and SIPI-VMExit
Date: Fri, 6 Nov 2020 11:10:06 +0100 [thread overview]
Message-ID: <a5c0071c-101a-a2ff-4ced-2f5ec8b38896@redhat.com> (raw)
In-Reply-To: <20201106065122.403183-1-yadong.qi@intel.com>
On 06/11/20 07:51, yadong.qi@intel.com wrote:
> @@ -4036,6 +4060,8 @@ static void sync_vmcs02_to_vmcs12(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12)
>
> if (vcpu->arch.mp_state == KVM_MP_STATE_HALTED)
> vmcs12->guest_activity_state = GUEST_ACTIVITY_HLT;
> + else if (vcpu->arch.mp_state == KVM_MP_STATE_INIT_RECEIVED)
> + vmcs12->guest_activity_state = GUEST_ACTIVITY_WAIT_SIPI;
> else
> vmcs12->guest_activity_state = GUEST_ACTIVITY_ACTIVE;
>
Updated, thanks.
Paolo
prev parent reply other threads:[~2020-11-06 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-06 6:51 yadong.qi
2020-11-06 10:10 ` Paolo Bonzini [this message]
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=a5c0071c-101a-a2ff-4ced-2f5ec8b38896@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yadong.qi@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
all inboxes | Powered by JetHome®