[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 02/38] blockdev: Allow creation of BDS trees
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v3 02/38] blockdev: Allow creation of BDS trees without BB |
Date: |
Wed, 03 Jun 2015 14:15:03 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 06/03/2015 01:43 PM, 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.
>
> However, if "id" is missing, "node-name" must be specified; otherwise,
> the BDS tree would no longer be accessible.
>
> Many BDS options which are not parsed by bdrv_open() (like caching)
> cannot be specified for these BB-less BDS trees yet. A future patch will
> remove this limitation.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> blockdev.c | 44 +++++++++++++++++++++++++++++++-------------
> qapi/block-core.json | 13 +++++++++----
> tests/qemu-iotests/087 | 2 +-
> tests/qemu-iotests/087.out | 4 ++--
> 4 files changed, 43 insertions(+), 20 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3 00/38] blockdev: BlockBackend and media, Max Reitz, 2015/06/03
- [Qemu-devel] [PATCH v3 01/38] block: Remove host floppy support, Max Reitz, 2015/06/03
- [Qemu-devel] [PATCH v3 02/38] blockdev: Allow creation of BDS trees without BB, Max Reitz, 2015/06/03
- [Qemu-devel] [PATCH v3 03/38] iotests: Only create BB if necessary, Max Reitz, 2015/06/03
- [Qemu-devel] [PATCH v3 05/38] block: Add blk_is_available(), Max Reitz, 2015/06/03
- [Qemu-devel] [PATCH v3 04/38] block: Make bdrv_is_inserted() return a bool, Max Reitz, 2015/06/03
- [Qemu-devel] [PATCH v3 06/38] block: Make bdrv_is_inserted() recursive, Max Reitz, 2015/06/03