From: George Dunlap <george.dunlap@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>, Juergen Gross <jgross@suse.com>
Cc: stefano.stabellini@eu.citrix.com, George.Dunlap@eu.citrix.com,
ian.jackson@eu.citrix.com, cyliu@suse.com,
xen-devel@lists.xen.org,
Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: [PATCH v5 2/5] libxl: add query function for backend support by device model
Date: Wed, 30 Mar 2016 15:10:45 +0100 [thread overview]
Message-ID: <56FBDE65.3040606@citrix.com> (raw)
In-Reply-To: <20160330135328.GC5656@citrix.com>
On 30/03/16 14:53, Wei Liu wrote:
> On Wed, Mar 30, 2016 at 02:05:55PM +0200, Juergen Gross wrote:
>> Add a function to query whether the device model is supporting a
>> specific backend type. The device model is writing the supported
>> backend types to Xenstore on startup. The new query function checks
>> for the appropriate entry to be present.
>>
>> As not all versions of qemu are capable to indicate support of
>> specific backends the query function is to be called with an indicator
>> whether the default return value should be "supported" (in case qemu
>> doesn't know set any support information) or "not supported".
>>
>> Signed-off-by: Juergen Gross <jgross@suse.com>
>
> The code itself looks straightforward enough.
>
> But note that this is a new protocol that needs to be supported
> essentially forever. I've CC QEMU maintainers for their input.
FWIW, libxl only needs to support this forever if qemu ever actually
provides it. If no version of qemu ever ships with this check, then we
can't break anything by removing it.
This is what I was saying in my other comment -- we could just check
this in, and back out the whole series if the qemu side gets NACK'ed.
Even if we release with this, there's no real harm done, as the qusb
code will simply never be activated.
> This also means even if we get this in for 4.7 we can't essentially
> benefit from it until this protocol is implemented in upstream QEMU. At
> this point I don't think I would take this particular patch for 4.7.
qemu has a faster release cycle than us, right? If we have support in
principle for this approach, people who want qusb support can always use
a newer qemu release.
OTOH, if we check this in then the qemu folks can either take this exact
approach, or something completely incompatible -- they can't make minor
modifications.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-03-30 14:10 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-30 12:05 [PATCH v5 0/5] libxl: add support for qemu base pvusb backend Juergen Gross
2016-03-30 12:05 ` [PATCH v5 1/5] libxl: make libxl__need_xenpv_qemu() operate on domain config Juergen Gross
2016-03-30 13:38 ` Wei Liu
2016-03-30 14:02 ` Juergen Gross
2016-03-30 12:05 ` [PATCH v5 2/5] libxl: add query function for backend support by device model Juergen Gross
2016-03-30 13:44 ` George Dunlap
2016-03-30 13:59 ` Juergen Gross
2016-03-30 13:53 ` Wei Liu
2016-03-30 14:02 ` Juergen Gross
2016-03-30 14:09 ` Wei Liu
2016-03-30 14:11 ` Juergen Gross
2016-03-30 14:26 ` Wei Liu
2016-03-30 15:55 ` Anthony PERARD
2016-03-30 15:59 ` Wei Liu
2016-03-30 16:07 ` Anthony PERARD
2016-03-30 14:10 ` George Dunlap [this message]
2016-03-30 14:27 ` Wei Liu
2016-03-30 12:05 ` [PATCH v5 3/5] libxl: add new pvusb backend "qusb" provided by qemu Juergen Gross
2016-03-30 14:19 ` Wei Liu
2016-03-30 14:34 ` Juergen Gross
2016-03-30 14:38 ` Wei Liu
2016-03-30 16:16 ` Wei Liu
2016-03-30 17:09 ` Juergen Gross
2016-03-30 12:05 ` [PATCH v5 4/5] libxl: add service function to check whether device model is running Juergen Gross
2016-03-30 12:05 ` [PATCH v5 5/5] libxl: check for dynamic device model start required Juergen Gross
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=56FBDE65.3040606@citrix.com \
--to=george.dunlap@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=anthony.perard@citrix.com \
--cc=cyliu@suse.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jgross@suse.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.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).