[PATCH 0/3] qemu: hotplug: Fix media change in a hotplugged cdrom

Peter Krempa pkrempa at redhat.com
Wed Apr 19 15:44:02 UTC 2023


We need to update private data to handle it properly.

Peter Krempa (3):
  qemuProcessRefreshDisks: Properly compare tray status
  qemuProcessRefreshDisks: Extract update of a single disk
  qemu: hotplug: Update disk private data after hotplug

 src/qemu/qemu_hotplug.c | 21 ++++++++++++----
 src/qemu/qemu_process.c | 55 ++++++++++++++++++++++++-----------------
 src/qemu/qemu_process.h |  3 +++
 tests/qemuhotplugtest.c | 40 ++++++++++++++++++++----------
 4 files changed, 79 insertions(+), 40 deletions(-)

-- 
2.39.2



More information about the libvir-list mailing list