summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/emulate.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-09-11 10:16:20 +0200
committerAvi Kivity <avi@redhat.com>2011-09-25 18:52:39 +0200
commitc61fa9d63b40b06522c5f1d940b084323a090688 (patch)
treedbabc88d4096a9f155794a6bb48d8ac5274bc1fa /arch/x86/kvm/emulate.c
parentKVM: Clean up unneeded void pointer casts (diff)
downloadlinux-c61fa9d63b40b06522c5f1d940b084323a090688.tar.xz
linux-c61fa9d63b40b06522c5f1d940b084323a090688.zip
KVM: Avoid needless registrations of IRQ ack notifier for assigned devices
We only perform work in kvm_assigned_dev_ack_irq if the guest IRQ is of INTx type. This completely avoids the callback invocation in non-INTx cases by registering the IRQ ack notifier only for INTx. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions