From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGAqF-0005Y3-2D for qemu-devel@nongnu.org; Tue, 27 Jan 2015 13:26:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGAqB-0001Tp-3O for qemu-devel@nongnu.org; Tue, 27 Jan 2015 13:26:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGAqA-0001Tf-Sa for qemu-devel@nongnu.org; Tue, 27 Jan 2015 13:26:19 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0RIQIth026666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 27 Jan 2015 13:26:18 -0500 Message-ID: <54C7D848.5090400@redhat.com> Date: Tue, 27 Jan 2015 13:26:16 -0500 From: Max Reitz MIME-Version: 1.0 References: <1422288204-29271-1-git-send-email-mreitz@redhat.com> <1422288204-29271-2-git-send-email-mreitz@redhat.com> <54C7D750.1020602@redhat.com> In-Reply-To: <54C7D750.1020602@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 01/50] blockdev: Allow creation of BDS trees without BB List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , qemu-devel@nongnu.org Cc: Kevin Wolf , Fam Zheng , Jeff Cody , Markus Armbruster , Stefan Hajnoczi , john@redhat.com On 2015-01-27 at 13:22, Eric Blake wrote: > On 01/26/2015 09:02 AM, Max Reitz wrote: >> If the "id" field is missing from the options given to blockdev-add, >> just omit the BlockBackend and create the BlockDriverState tree alone. >> >> Signed-off-by: Max Reitz >> --- >> blockdev.c | 38 +++++++++++++++++++++++++------------- >> tests/qemu-iotests/087 | 20 -------------------- >> tests/qemu-iotests/087.out | 12 ------------ >> 3 files changed, 25 insertions(+), 45 deletions(-) > I'd feel more comfortable if this patch also touched > qapi/block-core.json to mention the change in policy on > BlockdevOptionsBase. Will do. > Also, should 'node-name' be mandatory when > omitting 'id'? Seems good to me. Not specifying a node-name doesn't make a whole lot of sense, except for when you really badly want qemu to create useless structures in memory. Max