qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RESEND 17/50] block: Respect empty BB in bdrv_lo


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH RESEND 17/50] block: Respect empty BB in bdrv_lookup_bs()
Date: Tue, 27 Jan 2015 14:56:04 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 01/27/2015 12:45 PM, Max Reitz wrote:
> blk_by_name() may return a BlockBackend for which blk_bs() returns NULL.
> In this case, an error should be returned (instead of just returning
> NULL without modifying *errp).
> 
> Signed-off-by: Max Reitz <address@hidden>
> ---
>  block.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]