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
qemuhotplug-cdrom-usb.xml
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
qemuhotplug-graphics-spice-timeout-password.xml
qemuhotplug-guestfwd.xml
qemuhotplug-hostdev-pci.xml
qemuhotplug-interface-vdpa.xml
qemuhotplug-ivshmem-doorbell-detach.xml
qemuhotplug-ivshmem-doorbell.xml
qemuhotplug-ivshmem-plain-detach.xml
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
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
qemuhotplug-watchdog-user-alias.xml
qemuhotplug-watchdog.xml