v3: - Change qemuhotplugtest so that it runs tests of live hotplug in every case, not only in the new one. - https://www.redhat.com/archives/libvir-list/2016-June/msg00109.html v2: - mostly a rebase, it was almost ACKed but not completely, just to make sure let's see it again with everything done. - use /tmp for paths in tests (automatically fixed by rebasing on top of commit 1893b6df117b) - https://www.redhat.com/archives/libvir-list/2016-April/msg01911.html v1: - https://www.redhat.com/archives/libvir-list/2016-March/msg01454.html Martin Kletzander (3): qemu: Move channel path generation out of command creation qemuhotplugtest: Test live data qemu: Generate channel target paths on hotplug as well src/qemu/qemu_command.c | 25 ++---------- src/qemu/qemu_command.h | 5 +-- src/qemu/qemu_domain.c | 20 ++++++++++ src/qemu/qemu_domain.h | 4 ++ src/qemu/qemu_hotplug.c | 3 ++ src/qemu/qemu_process.c | 12 ++++-- tests/qemuhotplugtest.c | 45 +++++++++++++--------- ...tplug-console-compat-2-live+console-virtio.xml} | 36 ++++++++++++++--- ...qemuhotplug-hotplug-base+qemu-agent-detach.xml} | 36 ++++++++++------- ...xml => qemuhotplug-hotplug-base+qemu-agent.xml} | 36 ++++++++++------- ...=> qemuhotplug-hotplug-base-live+disk-scsi.xml} | 24 +++++++++--- ... => qemuhotplug-hotplug-base-live+disk-usb.xml} | 24 +++++++++--- ... qemuhotplug-hotplug-base-live+disk-virtio.xml} | 24 +++++++++--- ...otplug-hotplug-base-live+qemu-agent-detach.xml} | 36 ++++++++++------- ...> qemuhotplug-hotplug-base-live+qemu-agent.xml} | 36 ++++++++++------- .../qemuhotplug-qemu-agent-detach.xml | 5 +++ .../qemuhotplugtestdata/qemuhotplug-qemu-agent.xml | 5 +++ .../qemuxml2argv-console-compat-2-live.xml} | 37 ++++++++++++++---- .../qemuxml2argv-hotplug-base-live.xml} | 30 ++++++++------- 19 files changed, 303 insertions(+), 140 deletions(-) copy tests/qemuhotplugtestdata/{qemuhotplug-console-compat-2+console-virtio.xml => qemuhotplug-console-compat-2-live+console-virtio.xml} (79%) copy tests/qemuhotplugtestdata/{qemuhotplug-hotplug-base+disk-scsi.xml => qemuhotplug-hotplug-base+qemu-agent-detach.xml} (59%) copy tests/qemuhotplugtestdata/{qemuhotplug-hotplug-base+disk-scsi.xml => qemuhotplug-hotplug-base+qemu-agent.xml} (60%) copy tests/qemuhotplugtestdata/{qemuhotplug-hotplug-base+disk-scsi.xml => qemuhotplug-hotplug-base-live+disk-scsi.xml} (73%) rename tests/qemuhotplugtestdata/{qemuhotplug-hotplug-base+disk-usb.xml => qemuhotplug-hotplug-base-live+disk-usb.xml} (72%) rename tests/qemuhotplugtestdata/{qemuhotplug-hotplug-base+disk-virtio.xml => qemuhotplug-hotplug-base-live+disk-virtio.xml} (73%) copy tests/qemuhotplugtestdata/{qemuhotplug-hotplug-base+disk-scsi.xml => qemuhotplug-hotplug-base-live+qemu-agent-detach.xml} (59%) copy tests/qemuhotplugtestdata/{qemuhotplug-hotplug-base+disk-scsi.xml => qemuhotplug-hotplug-base-live+qemu-agent.xml} (60%) create mode 100644 tests/qemuhotplugtestdata/qemuhotplug-qemu-agent-detach.xml create mode 100644 tests/qemuhotplugtestdata/qemuhotplug-qemu-agent.xml rename tests/{qemuhotplugtestdata/qemuhotplug-console-compat-2+console-virtio.xml => qemuxml2argvdata/qemuxml2argv-console-compat-2-live.xml} (80%) rename tests/{qemuhotplugtestdata/qemuhotplug-hotplug-base+disk-scsi.xml => qemuxml2argvdata/qemuxml2argv-hotplug-base-live.xml} (71%) -- 2.8.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list