aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/svm.c
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <[email protected]>2022-05-19 05:27:04 -0500
committerPaolo Bonzini <[email protected]>2022-06-24 12:50:49 -0400
commitc0caeee65af3944b7b8abbf566e7cc1fae15c775 (patch)
tree46d3cd8441e025b9e0a518c9a570c40295a32b49 /arch/x86/kvm/svm/svm.c
parent4d1d7942e36add0aa741a62d0c8e3aba2d5b3ab1 (diff)
KVM: SVM: Do not throw warning when calling avic_vcpu_load on a running vcpu
Originalliy, this WARN_ON is designed to detect when calling avic_vcpu_load() on an already running vcpu in AVIC mode (i.e. the AVIC is_running bit is set). However, for x2AVIC, the vCPU can switch from xAPIC to x2APIC mode while in running state, in which the avic_vcpu_load() will be called from svm_refresh_apicv_exec_ctrl(). Therefore, remove this warning since it is no longer appropriate. Reviewed-by: Maxim Levitsky <[email protected]> Reviewed-by: Pankaj Gupta <[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