Re: [PART1 RFC 5/9] svm: Add VMEXIT handlers for AVIC

From: Suravee Suthikulpanit
Date: Fri Feb 19 2016 - 07:00:27 EST


Hi

On 2/19/16 18:44, Paolo Bonzini wrote:


On 19/02/2016 12:39, Suravee Suthikulpanit wrote:

Good point. I have made the change by introducing new function pointer,
kvm_x86_ops.vcpu_blocking() and kvm_x86_ops.vcpu_unblocking(). Then
provides the hook to set/unset the IsRunningBit here. Also, I no longer
set the bit in the vcpu_load/vcpu_put.

If this is okay. I'll send out V2 soon.

Great, thanks. Have you tried making the backing page point to the
kvm_lapic's regs? If so, I think you're ready to send out v2 indeed.

Paolo


Yes, this also done. It works quite well. I was just about to reply to you regarding this change. (Having trouble looking for the related message in the thread :) ).

Thanks,
Suravee