aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/svm.c
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <[email protected]>2022-05-19 05:27:00 -0500
committerPaolo Bonzini <[email protected]>2022-06-24 12:45:51 -0400
commit8fc9c7a3079e2d2e72dfb2f4e9bb2b1fc67f0ee6 (patch)
tree92fdcfeba63b2127e12892177575018f0be42860 /arch/x86/kvm/svm/svm.c
parent5c127c85472c0c4c9d1f88e2807adcab9335d97c (diff)
KVM: x86: Deactivate APICv on vCPU with APIC disabled
APICv should be deactivated on vCPU that has APIC disabled. Therefore, call kvm_vcpu_update_apicv() when changing APIC mode, and add additional check for APIC disable mode when determine APICV activation, Suggested-by: Maxim Levitsky <[email protected]> Reviewed-by: Maxim Levitsky <[email protected]> Signed-off-by: Suravee Suthikulpanit <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
0 files changed, 0 insertions, 0 deletions