From: Ian Campbell <ian.campbell@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Roger Pau Monne <roger.pau@citrix.com>
Cc: xen-devel@lists.xenproject.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH QEMU v2 2/2] xen: fix usage of xc_domain_create in domain builder
Date: Fri, 13 Nov 2015 13:54:49 +0000 [thread overview]
Message-ID: <1447422889.18450.135.camel@citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1511131333180.2653@kaball.uk.xensource.com>
On Fri, 2015-11-13 at 13:46 +0000, Stefano Stabellini wrote:
> On Fri, 13 Nov 2015, Roger Pau Monne wrote:
> > Due to the addition of HVMlite and the requirement to always provide a
> > valid
> > xc_domain_configuration_t, xc_domain_create now always takes an arch
> > domain
> > config, which can be NULL in order to mimic previous behaviour.
> >
> > Add a small stub called xen_domain_create that encapsulates the correct
> > call
> > to xc_domain_create depending on the libxc version detected.
> >
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
>
> FYI this is going to conflict with Ian's series:
>
> 1447070487-31229-1-git-send-email-ian.campbell@citrix.com
The bit being patched here is disabled by
"xen: make it possible to build without the Xen PV domain builder" in that
series.
In any case I think Roger's stuff would be better off going in first and I
can easily rebase over it.
> In addition, the patch causes a build failure against most Xen versions:
>
> In file included from
> /local/scratch/sstabellini/qemu/include/hw/xen/xen_backend.h:4:0,
> from hw/block/xen_disk.c:38:
> /local/scratch/sstabellini/qemu/include/hw/xen/xen_common.h:445:37:
> error: unknown type name ‘xc_domain_configuration_t’
> CC hw/bt/hci-csr.o
> make: *** [hw/block/xen_disk.o] Error 1
Given the only caller today passes NULL I'd suggest moving the NULL down
into the wrapper, i.e. dropping the argument from xen_domain_create.
If someone wants to resurrect the domain build in QEMU _and_ teach it to do
pvh, then they will surely be able to refactor this to suit their needs.
Ian.
next prev parent reply other threads:[~2015-11-13 13:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1447412752-24545-1-git-send-email-roger.pau@citrix.com>
2015-11-13 11:05 ` [Qemu-devel] [PATCH QEMU 2/2] xen: fix usage of xc_domain_create in domain builder Roger Pau Monne
2015-11-13 11:09 ` Stefano Stabellini
2015-11-13 12:18 ` [Qemu-devel] [PATCH QEMU v2 " Roger Pau Monne
2015-11-13 13:46 ` Stefano Stabellini
2015-11-13 13:54 ` Ian Campbell [this message]
2015-11-13 16:46 ` [Qemu-devel] [PATCH QEMU v3 " Roger Pau Monne
2015-11-13 17:35 ` Stefano Stabellini
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=1447422889.18450.135.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=qemu-devel@nongnu.org \
--cc=roger.pau@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--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).