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

Peter Krempa posted 3 patches 1 year, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1681919007.git.pkrempa@redhat.com
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(-)
[PATCH 0/3] qemu: hotplug: Fix media change in a hotplugged cdrom
Posted by Peter Krempa 1 year, 7 months ago
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
Re: [PATCH 0/3] qemu: hotplug: Fix media change in a hotplugged cdrom
Posted by Ján Tomko 1 year, 7 months ago
On a Wednesday in 2023, Peter Krempa wrote:
>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(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano