summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-02-25 17:22:27 +0800
committerAvi Kivity <avi@redhat.com>2009-06-10 11:48:23 +0300
commit2350bd1f62c8706c22b8e58c3bfff10806c0a31b (patch)
tree5d5d6f6424072a4a6fc4091a7316a3a2b15d40b2 /include/linux
parentc1e01514296e8a4a43ff0c88dcff635cb90feb5f (diff)
downloadlinux-stable-2350bd1f62c8706c22b8e58c3bfff10806c0a31b.tar.gz
linux-stable-2350bd1f62c8706c22b8e58c3bfff10806c0a31b.tar.bz2
linux-stable-2350bd1f62c8706c22b8e58c3bfff10806c0a31b.zip
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')
-rw-r--r--include/linux/kvm_host.h1
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 {
void (*irq_acked)(struct kvm_irq_ack_notifier *kian);
};
+#define KVM_ASSIGNED_MSIX_PENDING 0x1
struct kvm_guest_msix_entry {
u32 vector;
u16 entry;