diff options
author | Tang Liang <liang.tang@oracle.com> | 2011-12-08 17:36:39 +0800 |
---|---|---|
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) | |
download | linux-8605c6844fb9bdf55471bb87c3ac62d44eb34e04.tar.gz linux-8605c6844fb9bdf55471bb87c3ac62d44eb34e04.tar.bz2 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')
-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 { 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 */ |