diff options
author | Tang Liang <liang.tang@oracle.com> | 2011-12-08 04:36:39 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-01-12 11:55:22 -0500 |
commit | 8605c6844fb9bdf55471bb87c3ac62d44eb34e04 (patch) | |
tree | dacf321b31e811d68f8b42da6c0a0b8e48dbe7ac /include/xen/interface | |
parent | 7b67e751479d50b7f84d1a3cc5216eed5e534b66 (diff) |
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')
-rw-r--r-- | include/xen/interface/physdev.h | 7 |
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 { | |||
145 | uint8_t devfn; | 145 | uint8_t devfn; |
146 | }; | 146 | }; |
147 | 147 | ||
148 | #define PHYSDEVOP_restore_msi 19 | ||
149 | struct physdev_restore_msi { | ||
150 | /* IN */ | ||
151 | uint8_t bus; | ||
152 | uint8_t devfn; | ||
153 | }; | ||
154 | |||
148 | #define PHYSDEVOP_manage_pci_add_ext 20 | 155 | #define PHYSDEVOP_manage_pci_add_ext 20 |
149 | struct physdev_manage_pci_ext { | 156 | struct physdev_manage_pci_ext { |
150 | /* IN */ | 157 | /* IN */ |