]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_process: add tray changed event to queue in refresh disks
authorKristina Hanicova <khanicov@redhat.com>
Tue, 13 Dec 2022 12:40:26 +0000 (13:40 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Dec 2022 17:01:41 +0000 (18:01 +0100)
commit5ef2582646eb98af208ce37355f82bdef39931fa
tree1a94e834f696b252f3a35da37de6e35c8beef54e
parente6cd8b6eb3f2b32c464834a9a2177d79d51d5bd6
qemu_process: add tray changed event to queue in refresh disks

There are some cases when the internal state of disks can change
without qemu sending events about it (e.g. a disk can close
during reset). In case this happens, we should emit an event
about the modified disk.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1824722#c20

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_process.c