commit | c61fa9d63b40b06522c5f1d940b084323a090688 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Sun Sep 11 10:16:20 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Sun Sep 25 19:52:39 2011 +0300 |
tree | dbabc88d4096a9f155794a6bb48d8ac5274bc1fa | |
parent | 9f9f6b78776be3de02e0c7533924e6954b918123 [diff] |
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>