Received: from eggs.gnu.org ([2001:4830:134:3::10]:37581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUvfd-000397-N4 for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:53:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUvfY-0005FL-Q7 for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:53:12 -0400 References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-2-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: <885a64f1-0379-fd71-477f-010f9f62cef0@redhat.com> Date: Wed, 3 Aug 2016 14:53:00 +0200 MIME-Version: 1.0 In-Reply-To: <1470223294-3870-2-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bpQnkaQObMJ1kEeSvRAsO0HqMP87UNwge" Subject: Re: [Qemu-devel] [PATCH v5 01/11] block: Accept node-name for block-stream 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) --bpQnkaQObMJ1kEeSvRAsO0HqMP87UNwge From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Message-ID: <885a64f1-0379-fd71-477f-010f9f62cef0@redhat.com> Subject: Re: [PATCH v5 01/11] block: Accept node-name for block-stream References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-2-git-send-email-kwolf@redhat.com> In-Reply-To: <1470223294-3870-2-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 > block-stream to accept a node-name without lifting the restriction that= > we're operating at a root 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 > --- > block/block-backend.c | 16 ++++++++++++++++ > blockdev.c | 37 +++++++++++++++++++++++++---------= --- > include/sysemu/block-backend.h | 1 + > qapi/block-core.json | 5 +---- > qmp-commands.hx | 2 +- > tests/qemu-iotests/030 | 2 +- > 6 files changed, 45 insertions(+), 18 deletions(-) Reviewed-by: Max Reitz --bpQnkaQObMJ1kEeSvRAsO0HqMP87UNwge 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 iQEvBAEBCAAZBQJXoeksEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6DisrbED B/0eUq+MPYlIiJQBfoACih0TuSKpZH3iK/s1ILUSnR6wncR9QAJA8cXKci2YB/O1 VBA9kN1hXaIzqagpRyIJ7xK6DXBPshN4bHfcDzDQrUopsHIZ8/skFM3qbxAt1z2T SpqCfEqqzM8VE6lI4yjDzLzWE1qFatZP+jliM0drZ9a6DqfhAu6/bESzWWgGJnQh t20vq0OZPthSa49Se9nOeMFncMdI9KThM06AeHs0kf0M9DV7I1aowyJvQs/KASFV PbnN18Vvh9ig7qFJJRSojAuqJR0fpGEc0V1dF95RWJhXCYhKt2akrtCpgeAesWP8 gxLR/+OiTRK4B9hD0bUkAcvP =WuJj -----END PGP SIGNATURE----- --bpQnkaQObMJ1kEeSvRAsO0HqMP87UNwge--