For the hotplug case we need this qemu patch too: http://lists.nongnu.org/archive/html/qemu-devel/2017-09/msg00856.html so that we can actually set the action that watchdog is supposed to take when it hits the timeout. But apart from that, nothing special is going on. Michal Privoznik (4): qemu: cold-plug of watchdog qemu: cold-unplug of watchdog qemu: hot-plug of watchdog qemu: hot-unplug of watchdog src/libvirt_private.syms | 1 + src/qemu/qemu_alias.c | 15 ++- src/qemu/qemu_alias.h | 2 + src/qemu/qemu_command.c | 2 +- src/qemu/qemu_command.h | 3 + src/qemu/qemu_driver.c | 38 ++++++- src/qemu/qemu_hotplug.c | 125 +++++++++++++++++++++ src/qemu/qemu_hotplug.h | 6 + src/qemu/qemu_monitor.c | 12 ++ src/qemu/qemu_monitor.h | 2 + src/qemu/qemu_monitor_json.c | 28 +++++ src/qemu/qemu_monitor_json.h | 3 + tests/qemuhotplugtest.c | 14 ++- .../qemuhotplug-watchdog-full.xml | 3 + .../qemuhotplug-watchdog.xml | 1 + .../qemuhotplug-base-live+watchdog.xml | 55 +++++++++ 16 files changed, 303 insertions(+), 7 deletions(-) create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-watchdog-full.xml create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-watchdog.xml create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-live+watchdog.xml -- 2.13.5 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list