summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTang Liang <liang.tang@oracle.com>2011-12-08 17:36:39 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-01-12 11:55:22 -0500
commit8605c6844fb9bdf55471bb87c3ac62d44eb34e04 (patch)
treedacf321b31e811d68f8b42da6c0a0b8e48dbe7ac /include
parent7b67e751479d50b7f84d1a3cc5216eed5e534b66 (diff)
downloadop-kernel-dev-8605c6844fb9bdf55471bb87c3ac62d44eb34e04.zip
op-kernel-dev-8605c6844fb9bdf55471bb87c3ac62d44eb34e04.tar.gz
xen: Utilize the restore_msi_irqs hook.
to make a hypercall to restore the vectors in the MSI/MSI-X configuration space. Signed-off-by: Tang Liang <liang.tang@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/xen/interface/physdev.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xen/interface/physdev.h b/include/xen/interface/physdev.h
index c1080d9..0c28989 100644
--- a/include/xen/interface/physdev.h
+++ b/include/xen/interface/physdev.h
@@ -145,6 +145,13 @@ struct physdev_manage_pci {
uint8_t devfn;
};
+#define PHYSDEVOP_restore_msi 19
+struct physdev_restore_msi {
+ /* IN */
+ uint8_t bus;
+ uint8_t devfn;
+};
+
#define PHYSDEVOP_manage_pci_add_ext 20
struct physdev_manage_pci_ext {
/* IN */
OpenPOWER on IntegriCloud