Received: from eggs.gnu.org ([2001:4830:134:3::10]:48321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkSAg-00057w-PH for qemu-devel@nongnu.org; Thu, 15 Sep 2016 04:37:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkSAf-0002se-E6 for qemu-devel@nongnu.org; Thu, 15 Sep 2016 04:37:26 -0400 Date: Thu, 15 Sep 2016 10:37:16 +0200 From: Kevin Wolf Message-ID: <20160915083716.GB4726@noname.redhat.com> References: <1471625435-6190-1-git-send-email-kwolf@redhat.com> <1471625435-6190-6-git-send-email-kwolf@redhat.com> <0c1387e5-4228-da71-1cff-d715e2853006@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4SFOXa2GPu3tIq4H" Content-Disposition: inline In-Reply-To: <0c1387e5-4228-da71-1cff-d715e2853006@redhat.com> 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: Eric Blake Cc: qemu-block@nongnu.org, mreitz@redhat.com, qemu-devel@nongnu.org --4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 14.09.2016 um 22:57 hat Eric Blake geschrieben: > 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... >=20 > > Signed-off-by: Kevin Wolf > > --- >=20 > > +++ 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) >=20 > ...why even bother to deprecate 'device'? Can't we just do a whole-sale > 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? I tried this for the experimental commands, but I think it required some more test case rewrites, so I decided to leave it for later. Not necessarily "when promoting to stable" later, but a separate series anyway. Kevin --4SFOXa2GPu3tIq4H Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJX2l28AAoJEH8JsnLIjy/Wxq0P/RilcO0xcvt+euz3zYpVxyOW 1nT5EoKgz/9seobZEDkOxzl/+kXH6s6V8qEUwqer1a1dz/P+LYbr39FMAynQsOT7 EVbF+tb6SOZRc5OheEb0y8Kkq/fVsjrA+uYntHSuOlxOUOcKcCuwtrdLVOygn6aI NmULvT16hR6I9I2zxcQIXbNu9ZhA17XH5OechOq6zH59MtRCjLCmRyiGQtwozO86 fMGWgOV8oEAzGkq365OyHr7+Luds4vh+tbe4l5BgVzqPfpKBc06ke2LTHHjydUzp NLV+8wt6+1T+aZ8sfS6It5Rm7CvsIWqvoVzsx23tY4nJL0j1+/IGy23XlLAO9kmC 0nm7qG4KHsL+yyt8lMYH9mKJR1B6QUf5mze8QdPmFjpBAnuUyzQ77ZezcLgyXaM/ Ed+QgLhO3h9z0G0AXuQNss9JpDfNv6HpgaDEecVGyK4yilQbbVN95T1RUA0M8Rfe d72YWywQonyaH68CqL7Fv0K32MeD43oCOqPLfex8uDc355XxyGf08mDxofMoLPwE PcRC2zwkjc5RiJWMW07gT4O0rYh0A+haTM3wkIaSIn7ekB8mtC4L3YFwMgBnvcHG 5/5uLwjzbpunt0bXbbTP89JvU0qMdkQTzyLIdro8lAO7U0P8zqxXuRRVeJFvmiE8 cCZmZmluQXbojNuad/I5 =FPlu -----END PGP SIGNATURE----- --4SFOXa2GPu3tIq4H--