diff options
author | Wei Liu <wei.liu2@citrix.com> | 2012-04-12 10:01:43 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2012-04-13 17:34:08 +0000 |
commit | f1dbf015dfb0aa7f66f710a1f1bc58b662951de2 (patch) | |
tree | 3bc3d4c32d908a5dafea56eb1f39dd7440b2bc0f /xen-all.c | |
parent | 7672725d41d1a04195affc1a7bd5676ba6314b14 (diff) |
Xen: basic HVM MSI injection support.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'xen-all.c')
-rw-r--r-- | xen-all.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -122,6 +122,11 @@ void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len) } } +void xen_hvm_inject_msi(uint64_t addr, uint32_t data) +{ + xc_hvm_inject_msi(xen_xc, xen_domid, addr, data); +} + static void xen_suspend_notifier(Notifier *notifier, void *data) { xc_set_hvm_param(xen_xc, xen_domid, HVM_PARAM_ACPI_S_STATE, 3); |