aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-02-10 00:57:06 -0500
committerAvi Kivity <avi@redhat.com>2009-03-24 05:03:09 -0400
commit79950e1073150909619b7c0f9a39a2fea83a42d8 (patch)
tree5dc96ee5d69029d61b90bc18d44cb42baaa925cd /include/linux/kvm_host.h
parent34c33d163fe509da8414a736c6328855f8c164e5 (diff)
KVM: Use irq routing API for MSI
Merge MSI userspace interface with IRQ routing table. Notice the API have been changed, and using IRQ routing table would be the only interface kvm-userspace supported. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index c03a0a9a8584..339eda3ca6ee 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -116,6 +116,7 @@ struct kvm_kernel_irq_routing_entry {
116 unsigned irqchip; 116 unsigned irqchip;
117 unsigned pin; 117 unsigned pin;
118 } irqchip; 118 } irqchip;
119 struct msi_msg msi;
119 }; 120 };
120 struct list_head link; 121 struct list_head link;
121}; 122};
@@ -327,7 +328,6 @@ struct kvm_assigned_dev_kernel {
327 int host_irq; 328 int host_irq;
328 bool host_irq_disabled; 329 bool host_irq_disabled;
329 int guest_irq; 330 int guest_irq;
330 struct msi_msg guest_msi;
331#define KVM_ASSIGNED_DEV_GUEST_INTX (1 << 0) 331#define KVM_ASSIGNED_DEV_GUEST_INTX (1 << 0)
332#define KVM_ASSIGNED_DEV_GUEST_MSI (1 << 1) 332#define KVM_ASSIGNED_DEV_GUEST_MSI (1 << 1)
333#define KVM_ASSIGNED_DEV_HOST_INTX (1 << 8) 333#define KVM_ASSIGNED_DEV_HOST_INTX (1 << 8)