summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSuthikulpanit, Suravee2019-05-03 15:38:53 +0200
committerPaolo Bonzini2019-06-04 19:27:31 +0200
commit0532dd52dfec0cf774188d3e692d50c197bc4210 (patch)
treef4221640b26b6a23b6d531ea92e692e6d4c364d6 /virt
parentKVM: LAPIC: Optimize timer latency further (diff)
downloadkernel-qcow2-linux-0532dd52dfec0cf774188d3e692d50c197bc4210.tar.gz
kernel-qcow2-linux-0532dd52dfec0cf774188d3e692d50c197bc4210.tar.xz
kernel-qcow2-linux-0532dd52dfec0cf774188d3e692d50c197bc4210.zip
kvm: svm/avic: Do not send AVIC doorbell to self
AVIC doorbell is used to notify a running vCPU that interrupts has been injected into the vCPU AVIC backing page. Current logic checks only if a VCPU is running before sending a doorbell. However, the doorbell is not necessary if the destination CPU is itself. Add logic to check currently running CPU before sending doorbell. Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Reviewed-by: Alexander Graf <graf@amazon.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions