diff options
author | Suravee Suthikulpanit <[email protected]> | 2022-05-19 05:27:00 -0500 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-06-24 12:45:51 -0400 |
commit | 8fc9c7a3079e2d2e72dfb2f4e9bb2b1fc67f0ee6 (patch) | |
tree | 92fdcfeba63b2127e12892177575018f0be42860 /arch/x86/kvm/svm/svm.c | |
parent | 5c127c85472c0c4c9d1f88e2807adcab9335d97c (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