summaryrefslogtreecommitdiffstats
path: root/include/xen/interface/physdev.h
diff options
context:
space:
mode:
authorTang Liang <liang.tang@oracle.com>2011-12-08 10:36:39 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-01-12 17:55:22 +0100
commit8605c6844fb9bdf55471bb87c3ac62d44eb34e04 (patch)
treedacf321b31e811d68f8b42da6c0a0b8e48dbe7ac /include/xen/interface/physdev.h
parentMerge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jb... (diff)
downloadlinux-8605c6844fb9bdf55471bb87c3ac62d44eb34e04.tar.xz
linux-8605c6844fb9bdf55471bb87c3ac62d44eb34e04.zip
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/xen/interface/physdev.h')
-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 c1080d9c705d..0c28989007fb 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 */