build xc_hvm_inject_msi on Xen < 4.2
Anthony,
please pull:
git://xenbits.xen.org/people/sstabellini/qemu-dm.git build_fix
this small patch series fixes the build breakage introduced by f1dbf015dfb0aa7f66f710a1f1bc58b662951de2 with Xen < 4.2.
The problem is that xc_hvm_inject_msi is only defined from Xen 4.2 onwards so we need to provide a compatibility function for older Xen versions.
Stefano Stabellini (2):
xen,configure: detect Xen 4.2
xen: add a dummy xc_hvm_inject_msi for Xen < 4.2
configure | 25 +++++++++++++++++++++++++ hw/pc.c | 2 +- hw/xen.h | 10 ++++++++++ hw/xen_common.h | 15 +++++++++++++++ xen-all.c | 2 +- 5 files changed, 52 insertions(+), 2 deletions(-)
Cheers,
Stefano