On 02/24/2018 09:40 AM, Max Reitz wrote:
Instead of converting all "backing": null instances into "backing": "", handle a null value directly in bdrv_open_inherit().This enables explicitly null backing links for json:{} filenames. Signed-off-by: Max Reitz <[email protected]> Reviewed-by: Alberto Garcia <[email protected]> --- block.c | 4 +++- blockdev.c | 14 -------------- tests/qemu-iotests/089 | 20 ++++++++++++++++++++ tests/qemu-iotests/089.out | 8 ++++++++ 4 files changed, 31 insertions(+), 15 deletions(-)
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
