summary refs log tree commit diff stats
path: root/python/qemu/qmp.py
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-07-15 15:28:44 +0200
committerMax Reitz <mreitz@redhat.com>2019-07-15 15:48:41 +0200
commit0b1847bbc2b4f50e7497cb05c4540bf7b016c9c6 (patch)
tree035ef39eacc827f44f2da64a6d61ab23a6341efe /python/qemu/qmp.py
parent0e4a0644bf18b6aab136f926b0e63bc24db6bdfe (diff)
downloadfocaccia-qemu-0b1847bbc2b4f50e7497cb05c4540bf7b016c9c6.tar.gz
focaccia-qemu-0b1847bbc2b4f50e7497cb05c4540bf7b016c9c6.zip
gluster: fix .bdrv_reopen_prepare when backing file is a JSON object
When the backing_file is specified as a JSON object, the
qemu_gluster_reopen_prepare() fails with this message:
    invalid URI json:{"server.0.host": ...}

In this case, we should call qemu_gluster_init() using the QDict
'state->options' that contains the JSON parameters already parsed.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1542445
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20190715132844.506584-1-sgarzare@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'python/qemu/qmp.py')
0 files changed, 0 insertions, 0 deletions