[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 20/37] block: Prepare for NULL BDS
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 20/37] block: Prepare for NULL BDS |
Date: |
Mon, 09 Feb 2015 14:21:16 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 02/09/2015 10:11 AM, Max Reitz wrote:
> blk_bs() will not necessarily return a non-NULL value any more (unless
> blk_is_available() is true or it can be assumed to otherwise, e.g.
> because it is called immediately after a successful blk_new_with_bs() or
> blk_new_open()).
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block.c | 5 ++
> block/qapi.c | 4 +-
> blockdev.c | 222
> ++++++++++++++++++++++++++++++++++++----------------
> hw/block/xen_disk.c | 4 +-
> 4 files changed, 163 insertions(+), 72 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
- Re: [Qemu-devel] [PATCH v2 35/37] hmp: Add read-only-mode option to change command, (continued)
- [Qemu-devel] [PATCH v2 37/37] iotests: Add test for change-related QMP commands, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v2 23/37] blockdev: Allow more options for BB-less BDS tree, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v2 28/37] blockdev: Add blockdev-insert-medium, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v2 30/37] blockdev: Implement change with basic operations, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v2 29/37] blockdev: Implement eject with basic operations, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v2 20/37] block: Prepare for NULL BDS, Max Reitz, 2015/02/09
- Re: [Qemu-devel] [PATCH v2 20/37] block: Prepare for NULL BDS,
Eric Blake <=
- [Qemu-devel] [PATCH v2 26/37] blockdev: Add blockdev-close-tray, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v2 25/37] blockdev: Add blockdev-open-tray, Max Reitz, 2015/02/09
- [Qemu-devel] [PATCH v2 12/37] block: Move BlockAcctStats into BlockBackend, Max Reitz, 2015/02/09