Received: from eggs.gnu.org ([2001:4830:134:3::10]:57574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkILU-000717-Hh for qemu-devel@nongnu.org; Wed, 14 Sep 2016 18:07:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkILS-0001qq-KO for qemu-devel@nongnu.org; Wed, 14 Sep 2016 18:07:55 -0400 References: <1471625435-6190-1-git-send-email-kwolf@redhat.com> <1471625435-6190-10-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <17d1d145-d819-c9e0-3adf-8aaf5aa68f5a@redhat.com> Date: Wed, 14 Sep 2016 17:07:45 -0500 MIME-Version: 1.0 In-Reply-To: <1471625435-6190-10-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CbiP8jCl9R7Pj0jkPvabGdJRA9vV2vpxK" Subject: Re: [Qemu-devel] [PATCH 09/10] block: Accept device model name for block_set_io_throttle 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) --CbiP8jCl9R7Pj0jkPvabGdJRA9vV2vpxK From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, qemu-devel@nongnu.org Message-ID: <17d1d145-d819-c9e0-3adf-8aaf5aa68f5a@redhat.com> Subject: Re: [PATCH 09/10] block: Accept device model name for block_set_io_throttle References: <1471625435-6190-1-git-send-email-kwolf@redhat.com> <1471625435-6190-10-git-send-email-kwolf@redhat.com> In-Reply-To: <1471625435-6190-10-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 block_set_io_throttle to accept a qdev device name. >=20 > Signed-off-by: Kevin Wolf > --- > blockdev.c | 12 +++++++----- > qapi/block-core.json | 6 ++++-- > qmp-commands.hx | 6 ++++-- > 3 files changed, 15 insertions(+), 9 deletions(-) >=20 > +++ b/qapi/block-core.json > @@ -1378,6 +1378,8 @@ > # > # @device: The name of the device > # > +# @id: the name or QOM path of the guest device (since: 2.8) > +# Missing #optional markers, and whether device is deprecated and/or mutually-exclusive with id. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --CbiP8jCl9R7Pj0jkPvabGdJRA9vV2vpxK 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/ iQEcBAEBCAAGBQJX2coxAAoJEKeha0olJ0NqywgH/RJf0X1WYr53oYZ3EzOdctx2 Vs6XUHhYqHXicd2Q4Nim0fnNA7gF/AWZlrzP42PppWa/aLWVpCVRFxuuZfAVE8rB F1HvykIPO8hduzDx38OpRUKAmWQGx2OwOoIQX8ut+otAh/cnHr0GOTlAwuxbsHuN qHoAJsXyM4jWL8hm7JQGuEmVfL241RueWj+Q7zTWXUuAuzk+Z0WHO6/EAcRmx7Iq GXSurS1uXWM8SJzbp85aiAYE1AVzdUzAv3iPq4zMb4xNII0/DQ229K8ghI9JwX46 trw0c0RWtE5LDKGXHFc0301A8zzoc/IZXpWldy9NjFHCKVeo8zgb4zuEptvPeK8= =Fsqb -----END PGP SIGNATURE----- --CbiP8jCl9R7Pj0jkPvabGdJRA9vV2vpxK--