qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Bruce Rogers <brogers@novell.com>,
	Markus Armbruster <armbru@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] move 'unsafe' to end of caching modes in help
Date: Mon, 26 Jul 2010 19:26:55 +0300	[thread overview]
Message-ID: <4C4DB74F.7090507@redhat.com> (raw)
In-Reply-To: <4C4DAF94.1040300@codemonkey.ws>

  On 07/26/2010 06:53 PM, Anthony Liguori wrote:
>> You almost sound like Dan refused to consider anything but parsing help
>> output, like it were Dan's fault that QEMU still doesn't provide a
>> usable interface for querying its capabilities, and like the way to get
>> it was to put more pressure on Dan.
>
> I'm not blaming anyone.  As I see it, we have a supported interface 
> for determining which interfaces are supported by a given version of 
> QEMU--the version number.  If the version number is not reliable 
> because downstreams backport features in an undetectable way, that is 
> not our (upstream) problem.
>
> I'm a practical guy, and I don't see that it's a huge burden for 
> libvirt to detect downstreams and build a feature matrix based on 
> versions.  If someone demonstrates that it's infeasible, I'll happily 
> reconsider.

It generates a dependency.  If the downstream backports feature A in 
version V, then a new version of libvirt needs to be issued which has 
(A, V) in its feature matrix.

On the other hand, capability reporting, even if suckily implemented via 
-help, doesn't need new versions of libvirt.

>> That would be unfair.  Dan posted patches to fix this problem properly,
>> which puts the ball squarely in our court.
>
> The patches are a good step, but they don't solve the problem.  There 
> will always be older versions of libvirt and older versions of QEMU so 
> what's libvirt going to do with those?

Is there a released version of qemu which breaks libvirt?

Older versions of libvirt aren't a problem, they simply don't know about 
cache=unsafe.

>
>>    Could we please refrain from
>> gratuitously fscking up libvirt just a bit longer, until we finish
>> improving and merging Dan's patches?
>
> Even without doing version based feature detection, libvirt could just 
> do a better job of parsing the help output.

True.  However, we don't provide a sane interface for detecting qemu 
capabilties, so there's no need to act surprised when users don't 
implement perfect work arounds.

> The help output is *not* a supported interface. 

There is no supported, usable interface for this.

> There are very simple changes libvirt can and should make.  The fix to 
> this "problem" belongs in libvirt, no QEMU.

libvirt can't make retroactive changes.  Sure, it can issue an update, 
but if we can help them avoid it by changing the order of the help text, 
I don't see why we can't do that.

-- 
error compiling committee.c: too many arguments to function

  reply	other threads:[~2010-07-26 16:27 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 20:32 [Qemu-devel] [PATCH] move 'unsafe' to end of caching modes in help Bruce Rogers
2010-07-21 20:55 ` Anthony Liguori
2010-07-21 21:32   ` Daniel P. Berrange
2010-07-21 21:45     ` Anthony Liguori
2010-07-21 21:58       ` Daniel P. Berrange
2010-07-21 23:39         ` Anthony Liguori
2010-07-22  0:45           ` Jamie Lokier
2010-07-22  6:53           ` Markus Armbruster
2010-07-22  8:42           ` Daniel P. Berrange
2010-07-22 14:19             ` Anthony Liguori
2010-07-23  8:00               ` Markus Armbruster
2010-07-26 15:53                 ` Anthony Liguori
2010-07-26 16:26                   ` Avi Kivity [this message]
2010-07-26 16:29                     ` Avi Kivity
2010-07-26 19:03                       ` Anthony Liguori
2010-07-26 19:24                         ` Avi Kivity
2010-07-26 19:43                           ` [Qemu-devel] " Juan Quintela
2010-07-26 16:40                     ` [Qemu-devel] " Anthony Liguori
2010-07-26 16:54                       ` Avi Kivity
2010-07-26 18:59                         ` Anthony Liguori
2010-07-26 19:19                           ` Avi Kivity
2010-07-26 19:35                             ` Anthony Liguori
2010-07-26 19:43                               ` Avi Kivity
2010-07-26 20:03                                 ` Anthony Liguori
2010-07-27  8:11                               ` Markus Armbruster
2010-07-27  9:47                                 ` Jes Sorensen
2010-07-27 12:30                                   ` Cole Robinson
2010-07-27 12:50                                     ` Anthony Liguori
2010-07-27 13:35                                       ` Cole Robinson
2010-07-27  8:26                               ` Markus Armbruster
2010-08-03  9:43                                 ` Richard W.M. Jones
2010-07-27  8:56                   ` Kevin Wolf
2010-07-22 13:45   ` Luiz Capitulino
2010-07-27 10:26 ` Daniel P. Berrange
2010-07-27 13:11   ` Bruce Rogers

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=4C4DB74F.7090507@redhat.com \
    --to=avi@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=armbru@redhat.com \
    --cc=brogers@novell.com \
    --cc=qemu-devel@nongnu.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).