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 > --- > block.c | 5 +++++ > 1 file changed, 5 insertions(+) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org