libvirt/tests/qemuhotplugtestdomains
Michal Privoznik 8abc979bb0 qemu: Move channelTargetDir into stateDir
For historical reasons (i.e. unknown reason) we put channel
sockets into a path derived from cfg->libDir which is a path that
survives host reboots (e.g. /var/lib/libvirt/...). This is not
necessary and in fact for session daemon creates a longer prefix:

  XDG_CONFIG_HOME -> /home/user/.config
  XDG_RUNTIME_DIR -> /run/user/1000

Worse, if host is rebooted suddenly (e.g. due to power loss) then
we leave files behind and nobody will ever remove them.

Therefore, place the channel target dir into state dir.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2173980
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2023-08-17 17:22:09 +02:00
..
qemuhotplug-base-ccw-live-with-2-ccw-virtio.xml tests: remove acpi support from s390x ccw hotplug tests 2023-07-10 13:28:05 +02:00
qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-explicit.xml tests: remove acpi support from s390x ccw hotplug tests 2023-07-10 13:28:05 +02:00
qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-reverse.xml tests: remove acpi support from s390x ccw hotplug tests 2023-07-10 13:28:05 +02:00
qemuhotplug-base-ccw-live-with-ccw-virtio.xml tests: remove acpi support from s390x ccw hotplug tests 2023-07-10 13:28:05 +02:00
qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2-explicit.xml tests: remove acpi support from s390x ccw hotplug tests 2023-07-10 13:28:05 +02:00
qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2.xml tests: remove acpi support from s390x ccw hotplug tests 2023-07-10 13:28:05 +02:00
qemuhotplug-base-ccw-live.xml tests: remove acpi support from s390x ccw hotplug tests 2023-07-10 13:28:05 +02:00
qemuhotplug-base-ccw-live+ccw-virtio.xml tests: remove acpi support from s390x ccw hotplug tests 2023-07-10 13:28:05 +02:00
qemuhotplug-base-live.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+cdrom-scsi.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+cdrom-usb.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+disk-scsi-multipath.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+disk-scsi-wwn.xml tests: hotplug: Test disks with duplicate WWNs 2017-06-23 14:11:25 +02:00
qemuhotplug-base-live+disk-scsi-wwn+disk-scsi-duplicate-wwn.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+disk-scsi.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+disk-usb.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+disk-virtio.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+guestfwd.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+hostdev-pci.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+interface-vdpa.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+ivshmem-doorbell-detach.xml
qemuhotplug-base-live+ivshmem-doorbell.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+ivshmem-plain-detach.xml
qemuhotplug-base-live+ivshmem-plain.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+qemu-agent-detach.xml qemu: Move channelTargetDir into stateDir 2023-08-17 17:22:09 +02:00
qemuhotplug-base-live+qemu-agent.xml qemu: Move channelTargetDir into stateDir 2023-08-17 17:22:09 +02:00
qemuhotplug-base-live+watchdog-user-alias.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+watchdog.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-live+watchdog+watchdog-reset.xml qemu: Validate watchdog action compatibility per-device 2023-04-20 10:17:35 +02:00
qemuhotplug-base-with-scsi-controller-live.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base-with-scsi-controller-live+disk-scsi-2.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-base-without-scsi-controller-live.xml tests: unify qemu binary paths for all qemu related tests 2017-04-11 14:06:47 +02:00
qemuhotplug-base-without-scsi-controller-live+disk-scsi-2.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-base+qemu-agent-detach.xml qemu: Generate shorter channel target paths 2023-08-17 17:19:01 +02:00
qemuhotplug-base+qemu-agent.xml qemu: Generate shorter channel target paths 2023-08-17 17:19:01 +02:00
qemuhotplug-console-compat-2-live.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-console-compat-2-live+console-virtio.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-disk-cdrom.xml qemuhotplugtest: Verify domain XML on UPDATE 2023-04-25 08:46:27 +02:00
qemuhotplug-disk-cdrom+disk-cdrom-nochange.xml qemuhotplugtest: Verify domain XML on UPDATE 2023-04-25 08:46:27 +02:00
qemuhotplug-graphics-spice-listen-network.xml qemuhotplugtestdomain: Move all i686 test cases to x86_64 2023-04-03 09:19:07 +02:00
qemuhotplug-graphics-spice-listen-network+graphics-spice-listen-network-password.xml qemuhotplugtest: Verify domain XML on UPDATE 2023-04-25 08:46:27 +02:00
qemuhotplug-graphics-spice-timeout.xml qemuhotplugtest: Verify domain XML on UPDATE 2023-04-25 08:46:27 +02:00
qemuhotplug-graphics-spice-timeout+graphics-spice-timeout-nochange.xml qemuhotplugtest: Verify domain XML on UPDATE 2023-04-25 08:46:27 +02:00
qemuhotplug-graphics-spice-timeout+graphics-spice-timeout-password.xml qemuhotplugtest: Verify domain XML on UPDATE 2023-04-25 08:46:27 +02:00
qemuhotplug-graphics-spice.xml qemuhotplugtest: Verify domain XML on UPDATE 2023-04-25 08:46:27 +02:00
qemuhotplug-graphics-spice+graphics-spice-nochange.xml qemuhotplugtest: Verify domain XML on UPDATE 2023-04-25 08:46:27 +02:00
qemuhotplug-pseries-base-live.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00
qemuhotplug-pseries-base-live+hostdev-pci.xml qemuhotplugtest: Use real 'latest' capabilities for hotplug testing 2023-04-03 09:19:07 +02:00