block: BDS options may lack the "driver" option
commit62a01a27f7f67853553679201e8617ccd28e965b
authorMax Reitz <mreitz@redhat.com>
Fri, 1 Feb 2019 19:29:34 +0000 (1 20:29 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 25 Feb 2019 14:11:27 +0000 (25 15:11 +0100)
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