Received: from eggs.gnu.org ([2001:4830:134:3::10]:44396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkHF3-0007xp-NA for qemu-devel@nongnu.org; Wed, 14 Sep 2016 16:57:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkHEx-0001DV-6t for qemu-devel@nongnu.org; Wed, 14 Sep 2016 16:57:08 -0400 References: <1471625435-6190-1-git-send-email-kwolf@redhat.com> <1471625435-6190-6-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <0c1387e5-4228-da71-1cff-d715e2853006@redhat.com> Date: Wed, 14 Sep 2016 15:57:00 -0500 MIME-Version: 1.0 In-Reply-To: <1471625435-6190-6-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WmXK960fKIknsUviLPXFomklfNWfPMgqd" Subject: Re: [Qemu-devel] [PATCH 05/10] block: Accept device model name for x-blockdev-insert-medium List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WmXK960fKIknsUviLPXFomklfNWfPMgqd From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, qemu-devel@nongnu.org Message-ID: <0c1387e5-4228-da71-1cff-d715e2853006@redhat.com> Subject: Re: [PATCH 05/10] block: Accept device model name for x-blockdev-insert-medium References: <1471625435-6190-1-git-send-email-kwolf@redhat.com> <1471625435-6190-6-git-send-email-kwolf@redhat.com> In-Reply-To: <1471625435-6190-6-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/19/2016 11:50 AM, Kevin Wolf wrote: > In order to remove the necessity to use BlockBackend names in the > external API, we want to allow qdev device names in all device related > commands. >=20 > This converts x-blockdev-insert-medium to accept a qdev device name. >=20 Since this command is experimental... > Signed-off-by: Kevin Wolf > --- > +++ b/qapi/block-core.json > @@ -2380,14 +2380,17 @@ > # This command is still a work in progress and is considered experimen= tal. > # Stay away from it unless you want to help with its development. > # > -# @device: block device name > +# @device: block device name (deprecated, use @id instead) > +# > +# @id: the name or QOM path of the guest device (since: 2.8) =2E..why even bother to deprecate 'device'? Can't we just do a whole-sal= e switch to a required 'id' only? Or should such a wholesale switch be reserved for the day that we remove the x- prefix when promoting the command to stable? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --WmXK960fKIknsUviLPXFomklfNWfPMgqd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJX2bmcAAoJEKeha0olJ0NqpuEH/308MsBCjj5prMaY0eKZZ/a9 Afvr0W1SuXktigrr54o9649mSUosHSB2zK49Pn7VbB3nxJjYZPsCWyFC6/kKnDBO sFsPvedGWvtuPWo3SIIQ4hP4NMIbirgj028kGYB/P6m2PzAUq/mV0d2vaGhkvNDh ZtffDZcejulmEA8EC+AZqAUaaSxFtYjIYnav6Qm06o33pL6r9zmsnhB4Dl/XL6et 0/VPc52xoKU6x4CC89LVen+BIsZ0m3PRd4bhczRtwYGn1Pu4/CHkzvMnJDPiCDzG AZeJXMbx2+KQFl8KF5bRmZsSNCLoGdUhSmgLmiIUP3uHft0++FnnB9wO9qChSAY= =tVE8 -----END PGP SIGNATURE----- --WmXK960fKIknsUviLPXFomklfNWfPMgqd--