All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kurz <groug@kaod.org>
To: Eric Blake <eblake@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>,
	Pradeep Jagadeesh <pradeepkiruvale@gmail.com>,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
	Alberto Garcia <berto@igalia.com>,
	Pradeep Jagadeesh <pradeep.jagadeesh@huawei.com>,
	qemu-devel@nongnu.org, Fam Zheng <famz@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 1/2 v16] fsdev: add IO throttle support to fsdev devices
Date: Wed, 22 Feb 2017 17:59:17 +0100	[thread overview]
Message-ID: <20170222175917.53c27906@bahia.lan> (raw)
In-Reply-To: <18735c6a-e21e-6aaf-4283-53f980afae3f@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2149 bytes --]

On Wed, 22 Feb 2017 10:01:09 -0600
Eric Blake <eblake@redhat.com> wrote:

> On 02/22/2017 07:41 AM, Greg Kurz wrote:
> > Eric,
> > 
> > I fully understand your concern about the missing QMP bits, but given the other
> > comments people made on this series, I'd like to move forward and merge it for
> > 2.9, without the 'x-' prefixed options. Is it okay with you ?  
> 
> Yes, I think we'll be okay. Libvirt will just be unable to recognize the
> feature until the QMP bits are in place.
> 

Ok. I'll work this out with Pradeep for 2.10.

> 
> >>>> If it cannot be probed via QMP, then libvirt will most likely assume
> >>>> that it does not exist.  I guess we're okay having command line only in
> >>>> 2.9 if you can't get QMP working, because libvirt will just never drive
> >>>> the feature until 2.10 when QMP is available; but then we risk the
> >>>> command line subtly changing and breaking someone else that was using
> >>>> the command line without QMP.  Maybe the safest approach is to just use
> >>>> the 'x-' prefix to the command line portion, until the feature is complete.
> >>>>     
> >>>
> >>> The semantics here are exactly the same as for block devices. The
> >>> command line options added to -fsdev are the very same already used
> >>> by -drive for years.
> >>>
> >>> Patch 2/2 in this series even factors them out to a common header file
> >>> to be used by fsdev and blockdev. I really don't expect any modification
> >>> at all on the command line (nor the other people who reviewed that patch
> >>> obviously)... are you suggesting that we should put 2/2 on hold and
> >>> use the 'x-' prefix anyway ?    
> >>
> >> I see these parameter names as stable.  There is little risk that they
> >> would change.  
> 
> We just need to be sure that when we do add QMP, that it doesn't use
> names that differ from the command line (blockdev is an example where we
> weren't careful in 2.8, and had to rename things in 2.9 to be
> consistent, and I want to avoid repeating that mistake).
> 

Can you provide some pointers on what had to be fixed in blockdev ?

Thanks.

--
Greg

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2017-02-22 16:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-03 11:57 [Qemu-devel] [PATCH 0/2 v16] fsdev: add IO throttle support to fsdev devices Pradeep Jagadeesh
2017-02-03 11:57 ` [Qemu-devel] [PATCH 1/2 " Pradeep Jagadeesh
2017-02-03 12:21   ` Alberto Garcia
2017-02-06 19:36   ` Eric Blake
2017-02-06 23:15     ` Greg Kurz
2017-02-07 10:32       ` Greg Kurz
2017-02-07 15:56         ` Eric Blake
2017-02-07 16:29           ` Greg Kurz
2017-02-14 13:21             ` Stefan Hajnoczi
2017-02-22 13:41               ` Greg Kurz
2017-02-22 16:01                 ` Eric Blake
2017-02-22 16:59                   ` Greg Kurz [this message]
2017-02-22 17:04                     ` Eric Blake
2017-02-07  6:18     ` Fam Zheng
2017-02-07 10:34     ` Pradeep Jagadeesh
2017-02-03 11:57 ` [Qemu-devel] [PATCH 2/2 v16] throttle: factor out duplicate code Pradeep Jagadeesh
2017-02-03 12:22   ` Alberto Garcia
2017-02-03 12:27     ` Pradeep Jagadeesh
2017-02-03 12:44       ` Alberto Garcia
2017-02-03 12:46         ` Pradeep Jagadeesh
2017-02-03 12:53           ` Alberto Garcia
2017-02-03 12:57             ` Pradeep Jagadeesh
2017-02-06 14:58   ` Greg Kurz
2017-02-06 15:19     ` Pradeep Jagadeesh
2017-02-03 12:02 ` [Qemu-devel] [PATCH 0/2 v16] fsdev: add IO throttle support to fsdev devices no-reply

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=20170222175917.53c27906@bahia.lan \
    --to=groug@kaod.org \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=berto@igalia.com \
    --cc=eblake@redhat.com \
    --cc=famz@redhat.com \
    --cc=pradeep.jagadeesh@huawei.com \
    --cc=pradeepkiruvale@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.