]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Handle BLOCK_IO_ERROR event properly with -blockdev
authorPeter Krempa <pkrempa@redhat.com>
Mon, 13 Aug 2018 15:02:38 +0000 (17:02 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Aug 2018 13:46:06 +0000 (15:46 +0200)
commitadf85f4791e4ebf7b44ff39fce1323488bc98eef
tree1d933630b34f213db60ddc7357fb509eae691050
parentd322a83674f687faf957851afa20b4a3a6dcb0da
qemu: monitor: Handle BLOCK_IO_ERROR event properly with -blockdev

Use the 'node-name' provided in the event if 'device' is empty to look
up the disk.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_process.c