xen: add a dummy xc_hvm_inject_msi for Xen < 4.2
commit4c9f8d1b4eb0e1a7e69df6373e9c2d40a929494d
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 17 Apr 2012 16:56:51 +0000 (17 16:56 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 17 Apr 2012 18:04:42 +0000 (17 18:04 +0000)
treec78b0b193fafc9d37c7765350a9aabea084602be
parent8688e0652dc4fde816316fbd10869e3e33411968
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 <stefano.stabellini@eu.citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
hw/pc.c
hw/xen.h
hw/xen_common.h
xen-all.c