qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: qemu-devel@nongnu.org,
	Stefano Stabellini <sstabellini@kernel.org>,
	"open list:X86" <xen-devel@lists.xenproject.org>
Subject: Re: [Qemu-devel] [PATCH v1] xen: preserve COMPAT in CFLAGS
Date: Mon, 21 Jan 2019 16:16:35 +0000	[thread overview]
Message-ID: <20190121161635.GL1271@perard.uk.xensource.com> (raw)
In-Reply-To: <20181026101016.28584-1-olaf@aepfle.de>

On Fri, Oct 26, 2018 at 12:10:16PM +0200, Olaf Hering wrote:
> A given Qemu version can not predict what version of Xen it will run on.
> There are some checks in configure to decide what Xen libraries and
> functions are available. How exactly these functions must be accessed
> has to be decided by configure and the user who is compiling Qemu.
> In no way some random header file must override this decision.
> 
> Remove the breakage introduced by commit 5eeb39c24b, which would always
> hide the libxc interfaces the given version of Qemu knows about.
> 
> The current symptom of such breakage is a build failure with qemu-2.9
> and older, in combination with Xen 4.12.

I can't reproduce this build issue.

I've build QEMU 2.9.1 against Xen 4.11, and it build just fine. (I just
needed -DXC_WANT_COMPAT_DEVICEMODEL_API).
But when building againt unstable (to be 4.12), it's configure that
fails. That patch would not work.

Could you tell me a configuration of QEMU and Xen that fails? Their
versions, or theirs commit id.
And can you attach the output of ./configure, as well as the build
failures?


As for https://lists.xenproject.org/archives/html/xen-devel/2018-10/msg01950.html
It appear that the same QEMU 2.9.1 is used, but QEMU isn't supposed to
use the function xc_map_foreign_bulk when built against Xen 4.12. That
function is only supposed to be used when building against Xen 4.6 and
earlier.  QEMU 2.9.1 knows about Xen up to 4.8, it should have used
xenforeignmemory_map directly. So, this is probably an issue with
./configure.

Thanks,

-- 
Anthony PERARD

  parent reply	other threads:[~2019-01-21 16:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-26 10:10 [Qemu-devel] [PATCH v1] xen: preserve COMPAT in CFLAGS Olaf Hering
2018-12-11  9:24 ` [Qemu-devel] [Xen-devel] " Olaf Hering
2018-12-13 11:05 ` [Qemu-devel] " Anthony PERARD
2019-01-07 14:20   ` Olaf Hering
2019-01-21 16:16 ` Anthony PERARD [this message]
2019-01-21 17:23   ` Anthony PERARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190121161635.GL1271@perard.uk.xensource.com \
    --to=anthony.perard@citrix.com \
    --cc=olaf@aepfle.de \
    --cc=qemu-devel@nongnu.org \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).