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

From: Paolo Bonzini
Date: Fri Feb 19 2016 - 06:44:49 EST




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