]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Don't bother user with libvirt-internal paths
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 6 Jan 2016 16:35:04 +0000 (17:35 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 7 Jan 2016 10:29:53 +0000 (11:29 +0100)
commit714080791778e3dfbd484ccb3953bffd820b8ba9
tree18624b78dbdb7a76674d98993706cbef8acef587
parent5f7df346118ba227ecd3ea4413d31e142f0bf513
qemu: Don't bother user with libvirt-internal paths

If user defines a virtio channel with UNIX socket backend and doesn't
care about the path for the socket (e.g. qemu-agent channel), we still
generate it into the persistent XML.  Moreover when then user renames
the domain, due to its persistent socket path saved into the per-domain
directory, it will not start.  So let's forget about old generated paths
and also stop putting them into the persistent definition.

https://bugzilla.redhat.com/show_bug.cgi?id=1278068

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-unix.args
tests/qemuxml2argvdata/qemuxml2argv-channel-virtio-unix.xml