Received: from eggs.gnu.org ([2001:4830:134:3::10]:38417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUvkv-0001fC-Qw for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:58:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUvkq-0006Fm-RO for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:58:40 -0400 References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-4-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: Date: Wed, 3 Aug 2016 14:58:26 +0200 MIME-Version: 1.0 In-Reply-To: <1470223294-3870-4-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="guWP2mls1HngM6TcOp01XJPWmqnBg0j5w" Subject: Re: [Qemu-devel] [PATCH v5 03/11] block: Accept node-name for blockdev-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) --guWP2mls1HngM6TcOp01XJPWmqnBg0j5w From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Message-ID: Subject: Re: [PATCH v5 03/11] block: Accept node-name for blockdev-backup References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-4-git-send-email-kwolf@redhat.com> In-Reply-To: <1470223294-3870-4-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 > blockdev-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 > --- > blockdev.c | 31 ++++++++----------------------- > qapi/block-core.json | 2 +- > qmp-commands.hx | 2 +- > 3 files changed, 10 insertions(+), 25 deletions(-) Reviewed-by: Max Reitz --guWP2mls1HngM6TcOp01XJPWmqnBg0j5w 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 iQEvBAEBCAAZBQJXoepyEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6Disrbod B/0dGiswOHtuViYHrFvdSCdObjJkldIyftBjl+R5a3YSBLLXkMVWqYpMk7/4A4OA R8c+yIPuRgAkErErmK9oUNQ6x9XBASFLPsqaYoy1YKj8+DEMcGUjl2BIA+smR8po aHJB6HP16sSkQvxJ5esNJl9MW+zNkRlCa9LyJQIlmKCKj6QIU1DB7ha2N6vpcY0l wbcSxg5J38w1wvOZTwusPKUpFOnSsN3njefcx7ywxq3JWtR9U94hflptfYwYXhvb 1iggK5nwgwdYnlaZ33cY3q9KqnrdbRuzpB2uewN++1klE634jq49/nIxiUd5sCci tSTIj1SSD/mEWnNtOMECbQHz =JvqJ -----END PGP SIGNATURE----- --guWP2mls1HngM6TcOp01XJPWmqnBg0j5w--