[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] QEMU build breakage on ARM against Xen 4.9 caused by li

From: Stefano Stabellini
Subject: Re: [Qemu-devel] QEMU build breakage on ARM against Xen 4.9 caused by libxendevicemodel
Date: Fri, 14 Apr 2017 17:39:35 -0700 (PDT)
User-agent: Alpine 2.10 (DEB 1266 2009-07-14)

On Fri, 14 Apr 2017, Stefano Stabellini wrote:
> Hi Paul,
> The following commit in my qemu "next" branch breaks the build on arm
> and arm64:
> commit 670271647ad15e9d937ced7a72c892349c709216
> Author: Paul Durrant <address@hidden>
> Date:   Tue Mar 7 10:55:34 2017 +0000
>     xen: use libxendevicemodel when available
> See the appended build log. Sorry for not realizing it sooner.

As I imagined, this bug is easy to solve. It is reproducible on x86 too,
if you pass -DXC_WANT_COMPAT_DEVICEMODEL_API=1 to configure and
forcefully disable Xen 4.9 detection in the configure script.

If QEMU detects xen_ctrl_version = 480, the build will fail against Xen
4.9, even when -DXC_WANT_COMPAT_DEVICEMODEL_API=1 is specified.

The appended patch solves the problem. However, Xen 4.9 detection and
compilation remain broken.


diff --git a/include/hw/xen/xen_common.h b/include/hw/xen/xen_common.h
index 274accc..b1f5f53 100644
--- a/include/hw/xen/xen_common.h
+++ b/include/hw/xen/xen_common.h
@@ -9,7 +9,6 @@

 #include <xenctrl.h>
 #include <xenstore.h>
@@ -154,6 +153,7 @@ static inline int xendevicemodel_set_mem_type(


 #include <xendevicemodel.h>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]