From: Stefano Stabellini Subject: [PULL BUILD FIX] build xc_hvm_inject_msi on Xen < 4.2 Date: Fri, 20 Apr 2012 14:39:06 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Anthony Liguori Cc: Anthony Perard , "xen-devel@lists.xensource.com" , "alevy@redhat.com" , qemu-devel@nongnu.org, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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