libvirt/tests/qemuhotplugtestdevices
Michal Privoznik d3759d3674 qemu: Generate shorter channel target paths
A <channel/> device is basically an UNIX socket into guest.
Whatever is sent from the host, appears in the guest and vice
versa. But because of that, the length of the path to the socket
is important (underscored by fact that we derive the path from
domain short name). But there are still cases where we might not
fit into UNIX_PATH_MAX limit (usually 108 characters), because
the path is derived also from other variables, e.g.
XDG_CONFIG_HOME for session domains.

There are two components though, that are needless: "/target/"
and "domain-" prefix. Drop them. This is safe to do, because
running domains have their path saved in status XML and even
though paths are dropped on migration, they are not part of guest
ABI and thus we are free to change them.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2023-08-17 17:19:01 +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: Generate shorter channel target paths 2023-08-17 17:19:01 +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