diff options
author | Sheng Yang <sheng@linux.intel.com> | 2009-02-25 04:22:27 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 04:48:23 -0400 |
commit | 2350bd1f62c8706c22b8e58c3bfff10806c0a31b (patch) | |
tree | 5d5d6f6424072a4a6fc4091a7316a3a2b15d40b2 /include/linux/kvm_host.h | |
parent | c1e01514296e8a4a43ff0c88dcff635cb90feb5f (diff) |
KVM: Add MSI-X interrupt injection logic
We have to handle more than one interrupt with one handler for MSI-X. Avi
suggested to use a flag to indicate the pending. So here is it.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 432edc27e82b..3832243625d4 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -319,6 +319,7 @@ struct kvm_irq_ack_notifier { | |||
319 | void (*irq_acked)(struct kvm_irq_ack_notifier *kian); | 319 | void (*irq_acked)(struct kvm_irq_ack_notifier *kian); |
320 | }; | 320 | }; |
321 | 321 | ||
322 | #define KVM_ASSIGNED_MSIX_PENDING 0x1 | ||
322 | struct kvm_guest_msix_entry { | 323 | struct kvm_guest_msix_entry { |
323 | u32 vector; | 324 | u32 vector; |
324 | u16 entry; | 325 | u16 entry; |