On 5/15/24 12:27, Rayhan Faizel wrote:
This patch series extends the current evdev device implementation to
allow
hotplugging, including live attachment and detachment.
Resolves:
https://gitlab.com/libvirt/libvirt/-/issues/529
I've put this into the commit message of the first patch as it's where
it belongs.
Rayhan Faizel (2):
qemu: Implement support for hotplugging evdev input devices
qemuhotplugtest: Add testcases for hotplugging evdev input devices
src/qemu/qemu_command.c | 2 +-
src/qemu/qemu_command.h | 3 +
src/qemu/qemu_hotplug.c | 95 +++++++++++++------
tests/qemuhotplugtest.c | 5 +
.../qemuhotplug-input-evdev.xml | 3 +
.../qemuhotplug-base-live+input-evdev.xml | 58 +++++++++++
6 files changed, 137 insertions(+), 29 deletions(-)
create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-input-evdev.xml
create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-live+input-evdev.xml
Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
and merged.
Michal