libvirt/tests/qemuhotplugtestdevices
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-ccw-virtio-1-explicit.xml
qemuhotplug-ccw-virtio-1-reverse.xml
qemuhotplug-ccw-virtio-2-explicit.xml
qemuhotplug-ccw-virtio-2.xml
qemuhotplug-ccw-virtio.xml
qemuhotplug-cdrom-scsi.xml qemu: support CDROM hotplug cdrom with USB/SCSI bus 2022-07-20 16:53:51 +02:00
qemuhotplug-cdrom-usb.xml qemu: support CDROM hotplug cdrom with USB/SCSI bus 2022-07-20 16:53:51 +02:00
qemuhotplug-console-virtio.xml
qemuhotplug-disk-cdrom-nochange.xml
qemuhotplug-disk-scsi-2.xml qemuhotplugtest: Enable 'lsilogic' SCSI controller 2023-04-03 09:19:07 +02:00
qemuhotplug-disk-scsi-duplicate-wwn.xml
qemuhotplug-disk-scsi-multipath.xml
qemuhotplug-disk-scsi.xml
qemuhotplug-disk-usb.xml
qemuhotplug-disk-virtio.xml
qemuhotplug-graphics-spice-listen-network-password.xml
qemuhotplug-graphics-spice-listen.xml
qemuhotplug-graphics-spice-nochange.xml
qemuhotplug-graphics-spice-timeout-nochange.xml qemuhotplugtest: Move domain and device XMLs to different directories 2016-07-11 17:09:29 +02:00
qemuhotplug-graphics-spice-timeout-password.xml
qemuhotplug-guestfwd.xml
qemuhotplug-hostdev-pci.xml
qemuhotplug-interface-vdpa.xml
qemuhotplug-ivshmem-doorbell-detach.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-ivshmem-doorbell.xml
qemuhotplug-ivshmem-plain-detach.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-ivshmem-plain.xml
qemuhotplug-qemu-agent-detach.xml qemu: Move channelTargetDir into stateDir 2023-08-17 17:22:09 +02:00
qemuhotplug-qemu-agent.xml
qemuhotplug-watchdog-full.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-watchdog-reset.xml qemu: Validate watchdog action compatibility per-device 2023-04-20 10:17:35 +02:00
qemuhotplug-watchdog-user-alias-full.xml qemuhotplugtest: Add also always-present capabilities 2021-05-03 12:14:44 +02:00
qemuhotplug-watchdog-user-alias.xml
qemuhotplug-watchdog.xml