From 4c9f8d1b4eb0e1a7e69df6373e9c2d40a929494d Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Tue, 17 Apr 2012 16:56:51 +0000 Subject: xen: add a dummy xc_hvm_inject_msi for Xen < 4.2 xc_hvm_inject_msi is only available on Xen >= 4.2: add a dummy compatibility function for Xen < 4.2. Also enable msi support only on Xen >= 4.2. Signed-off-by: Stefano Stabellini Acked-by: Anthony PERARD --- xen-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xen-all.c') diff --git a/xen-all.c b/xen-all.c index a08eec0931..bdf9c0fc79 100644 --- a/xen-all.c +++ b/xen-all.c @@ -129,7 +129,7 @@ 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); + xen_xc_hvm_inject_msi(xen_xc, xen_domid, addr, data); } static void xen_suspend_notifier(Notifier *notifier, void *data) -- cgit v1.2.1