Received: from eggs.gnu.org ([2001:4830:134:3::10]:60343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUvFk-00007w-MI for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:26:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUvFi-0006ME-Tl for qemu-devel@nongnu.org; Wed, 03 Aug 2016 08:26:27 -0400 From: Alberto Garcia In-Reply-To: <1470223294-3870-2-git-send-email-kwolf@redhat.com> References: <1470223294-3870-1-git-send-email-kwolf@redhat.com> <1470223294-3870-2-git-send-email-kwolf@redhat.com> Date: Wed, 03 Aug 2016 14:25:42 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: mreitz@redhat.com, eblake@redhat.com, qemu-devel@nongnu.org On Wed 03 Aug 2016 01:21:24 PM CEST, 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. > > 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. > > Signed-off-by: Kevin Wolf Reviewed-by: Alberto Garcia Berto