[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56E657F5.8050708@amd.com>
Date: Mon, 14 Mar 2016 13:19:33 +0700
From: Suravee Suthikulpanit <Suravee.Suthikulpanit@....com>
To: Paolo Bonzini <pbonzini@...hat.com>, <rkrcmar@...hat.com>,
<joro@...tes.org>, <bp@...en8.de>, <gleb@...nel.org>,
<alex.williamson@...hat.com>
CC: <kvm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<wei@...hat.com>, <sherry.hurwitz@....com>
Subject: Re: [PART1 RFC v2 02/10] KVM: x86: Introducing kvm_x86_ops VCPU
blocking/unblocking
Hi
On 03/07/2016 10:42 PM, Paolo Bonzini wrote:
>
> On 04/03/2016 21:46, Suravee Suthikulpanit wrote:
>> >
>> >+static void svm_vcpu_blocking(struct kvm_vcpu *vcpu)
>> >+{
>> >+ avic_set_running(vcpu, false);
>> >+}
>> >+
>> >+static void svm_vcpu_unblocking(struct kvm_vcpu *vcpu)
>> >+{
>> >+ avic_set_running(vcpu, true);
>> >+}
>> >+
>> > static unsigned long svm_get_rflags(struct kvm_vcpu *vcpu)
>> > {
>> > return to_svm(vcpu)->vmcb->save.rflags;
>> >@@ -4321,6 +4331,8 @@ static struct kvm_x86_ops svm_x86_ops = {
>> > .prepare_guest_switch = svm_prepare_guest_switch,
>> > .vcpu_load = svm_vcpu_load,
>> > .vcpu_put = svm_vcpu_put,
>> >+ .vcpu_blocking = svm_vcpu_blocking,
>> >+ .vcpu_unblocking = svm_vcpu_unblocking,
> These two hunks should be added to patch 10.
>
> Paolo
>
Right. Fixed. Thanks for catching this.
Suravee
Powered by blists - more mailing lists