Re: [PART1 V5 00/13] KVM: x86: Introduce SVM AVIC support

From: Paolo Bonzini
Date: Tue May 10 2016 - 10:57:27 EST


On 04/05/2016 21:09, Suravee Suthikulpanit wrote:
> * Removing the RFC since I think this is getting ready.

It's pretty good indeed. Since it's still disabled by default, I'm
going ahead and merging it.

Can you please test that it doesn't break nested virtualization?

Paolo

> * Rebase to latest tip.git.
> * Rename vm_deinit to vm_destroy.
> * Replace svm_vcpu_avic_enabled() with kvm_vcpu_apicv_active().
> * Fix the cluster logical APIC ID calculation logic.
> * Misc clean up based on previous review comments.
> * (NEW) Rename kvm_lapic_get_reg to kvm_lapic_get_reg.
> * (NEW) Introduce kvm_x86_ops.apicv_post_state_restore hook.
> * (NEW) Re-factor the VMEXIT handling code and reuse
> it in the apicv_post_state_restore to implement support for
> vmsave/restore, which has been tested migrating:
> - from AVIC mode to non-AVIC mode
> - from non-AVIC mode to AVIC mode
> * (NEW) Add support for the AVIC VMCB clean bit.