qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kashyap Chamarthy <kchamart@redhat.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
	qemu-block@nongnu.org, Fam Zheng <famz@redhat.com>,
	qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] RFC: handling image options with drive-mirror/drive-backup
Date: Thu, 29 Sep 2016 12:29:04 +0200	[thread overview]
Message-ID: <20160929102904.v7xphrkrv2sxqwj3@eukaryote> (raw)
In-Reply-To: <20160929094337.GJ5312@redhat.com>

On Thu, Sep 29, 2016 at 10:43:37AM +0100, Daniel P. Berrange wrote:
> On Thu, Sep 29, 2016 at 11:17:52AM +0200, Kevin Wolf wrote:

[...]

> > Just to clarify what "not stable" means: Literally none of the
> > blockdev-add commands that used to work when it was originally merged
> > are still working. And we're considering another similar change
> > (removing the "options" indirection) that will change the command for
> > all users. So while I would encourage libvirt to write prototyp code for
> > supporting blockdev-add now, I would advise against enabling it in a
> > release yet.
> 
> Urgh, arbitrarily changing behaviour of existing commands is really
> very bad for libvirt, as it means we have to now write special case
> logic to detect whether we can use the command or not, instead of
> merely detecting whether it exists.
> 
> If commands are expected to change, they should have an 'x-' prefix
> and once that's removed they should never be changed in an incompatible
> manner again.

I too wondered about the "x-" prefix for 'blockdev-add' when I was
digging into the details a month ago.  I came to the conclusion that it
was just an inadvertant mistake that it wasn't marked as such --
because, you could see the experimental prefix for rest of them
commands: x-blockdev-change x-blockdev-del, x-blockdev-insert-medium,
x-blockdev-remove-medium

-- 
/kashyap

  reply	other threads:[~2016-09-29 10:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29  8:34 [Qemu-devel] RFC: handling image options with drive-mirror/drive-backup Daniel P. Berrange
2016-09-29  8:43 ` Fam Zheng
2016-09-29  8:51   ` Daniel P. Berrange
2016-09-29  9:09     ` Fam Zheng
2016-09-29  9:15       ` Daniel P. Berrange
2016-09-29  9:25         ` Fam Zheng
2016-09-29  9:17       ` Kevin Wolf
2016-09-29  9:43         ` Daniel P. Berrange
2016-09-29 10:29           ` Kashyap Chamarthy [this message]
2016-09-29 10:37           ` Kevin Wolf
2016-09-29  9:47     ` Kashyap Chamarthy

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=20160929102904.v7xphrkrv2sxqwj3@eukaryote \
    --to=kchamart@redhat.com \
    --cc=berrange@redhat.com \
    --cc=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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).