]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: BDS options may lack the "driver" option
authorMax Reitz <mreitz@redhat.com>
Fri, 1 Feb 2019 19:29:34 +0000 (20:29 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 25 Feb 2019 14:11:27 +0000 (15:11 +0100)
commit62a01a27f7f67853553679201e8617ccd28e965b
treed8db504a9fecdb54465bca051e14cfd283cf4080
parent1e47cb7f52541a82148da37eb004a0c68be4b865
block: BDS options may lack the "driver" option

When BDSs are created by qemu itself (e.g. as filters in block jobs),
they may not have a "driver" option in their options QDict.  When
generating a json:{} filename, however, it must always be present.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20190201192935.18394-31-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block.c