svm: Do not intercept CR8 when enable AVIC
commit3bbf3565f48ce3999b5a12cde946f81bd4475312
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Wed, 4 May 2016 19:09:51 +0000 (4 14:09 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 May 2016 16:04:31 +0000 (18 18:04 +0200)
tree818e4dbe18fd8ffef375a748c57ba5ec0de2ecc1
parent46781eae2e3210153476958ea023ce7b44825963
svm: Do not intercept CR8 when enable AVIC

When enable AVIC:
    * Do not intercept CR8 since this should be handled by AVIC HW.
    * Also, we don't need to sync cr8/V_TPR and APIC backing page.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
[Rename svm_in_nested_interrupt_shadow to svm_nested_virtualize_tpr. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c