[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a5c0071c-101a-a2ff-4ced-2f5ec8b38896@redhat.com>
Date: Fri, 6 Nov 2020 11:10:06 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: yadong.qi@...el.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] KVM: x86: emulate wait-for-SIPI and SIPI-VMExit
On 06/11/20 07:51, yadong.qi@...el.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
Powered by blists - more mailing lists