Received: from eggs.gnu.org ([2001:4830:134:3::10]:43523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUxt2-0001dn-VH for qemu-devel@nongnu.org; Wed, 03 Aug 2016 11:15:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUxsx-0005uI-MR for qemu-devel@nongnu.org; Wed, 03 Aug 2016 11:15:11 -0400 References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-9-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: <33d757ed-8764-b1dd-6385-0d79fd1a82fe@redhat.com> Date: Wed, 3 Aug 2016 17:14:50 +0200 MIME-Version: 1.0 In-Reply-To: <1470223294-3870-9-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0D6tIpu8hgfbhO27KJklKosSkEJkmnjXF" Subject: Re: [Qemu-devel] [PATCH v5 08/11] block: Accept node-name for drive-backup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0D6tIpu8hgfbhO27KJklKosSkEJkmnjXF From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Message-ID: <33d757ed-8764-b1dd-6385-0d79fd1a82fe@redhat.com> Subject: Re: [PATCH v5 08/11] block: Accept node-name for drive-backup References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-9-git-send-email-kwolf@redhat.com> In-Reply-To: <1470223294-3870-9-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 03.08.2016 13:21, Kevin Wolf wrote: > In order to remove the necessity to use BlockBackend names in the > external API, we want to allow node-names everywhere. This converts > drive-backup and the corresponding transaction action to accept a > node-name without lifting the restriction that we're operating at a roo= t > node. >=20 > In case of an invalid device name, the command returns the GenericError= > error class now instead of DeviceNotFound, because this is what > qmp_get_root_bs() returns. >=20 > Signed-off-by: Kevin Wolf > Reviewed-by: Eric Blake > Reviewed-by: Alberto Garcia > --- > blockdev.c | 36 +++++++++--------------------------- > qapi/block-core.json | 4 ++-- > qmp-commands.hx | 2 +- > tests/qemu-iotests/055 | 7 ++----- > 4 files changed, 14 insertions(+), 35 deletions(-) Reviewed-by: Max Reitz --0D6tIpu8hgfbhO27KJklKosSkEJkmnjXF 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 iQEvBAEBCAAZBQJXogpqEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6DisrQNL B/wNz7s5vaNRdo88fXr5gPdAwzMSwqHae6MJgU/RWT0uQD/lcGiO38Uw+a5KVQ0y rnAe1bXx7qlFvLAQojNk8zUmNOIRO2RQ2Xbk2jPvHXXqNcqzWhEV3WAaj1i4EAY7 xjs77vPHdnhjr7fRRTbN8ZCArLNwzQTAYSapklaz/Wg209qaY8YE2tGZw9TjTivw HFK3KzAlpgSSOuQE6+UiIZmVp06bl6/n9trczEHGBdeFBGHAoOSqUdbwC8f6kHwO Hz1nuRP4hjksZjwwIPDBhl1qOyyQnf8fWXna5Ke8U+x+hnWKs12M43FjXw5v1dQs r3+1jSVLAj7uqeDIfEXOkCPp =YJwb -----END PGP SIGNATURE----- --0D6tIpu8hgfbhO27KJklKosSkEJkmnjXF--