To some extent we have the code in, but this should enable the full support.
Michal Privoznik (9):
qemuDomainDetachDeviceConfig: make idx type of ssize_t
domain_conf: Validate redirdev after parsing
Export virDomainRedirdevDefFree
virDomainRedirdevDef: Introduce find & remove routines
virDomainDeviceInfoIterateInternal: Iterate through redirdevs too
qemuMonitorJSONAttachCharDev: Teach spicevmc
qemuDomainAttachDeviceConfig: Allow redirdev coldplug
qemuDomainDetachDeviceConfig: Allow cold unplug of redirdevs
qemuDomainRemoveDevice: Enable live redirdev detach
src/conf/domain_conf.c | 84 ++++++++++++++++++++++++++++++++++++++++----
src/conf/domain_conf.h | 4 +++
src/libvirt_private.syms | 3 ++
src/qemu/qemu_driver.c | 29 ++++++++++++---
src/qemu/qemu_hotplug.c | 76 ++++++++++++++++++++++++++++++++++++++-
src/qemu/qemu_hotplug.h | 3 ++
src/qemu/qemu_monitor_json.c | 7 ++++
tests/qemumonitorjsontest.c | 2 +-
8 files changed, 196 insertions(+), 12 deletions(-)
--
2.8.4