]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Clear generated private paths
authorMartin Kletzander <mkletzan@redhat.com>
Sun, 3 Apr 2016 19:51:29 +0000 (21:51 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 4 Apr 2016 06:17:10 +0000 (08:17 +0200)
commitd558fb34fd0e410fdaeb993ea43ba733bfb5c528
treec3c7914ca062cdbc7c8d94554fd6a734fd713c45
parent1893b6df117baf785cc568c9b044a849de0ca046
qemu: Clear generated private paths

The paths have the domain ID in them.  Without cleaning them, they would
contain the same ID even after multiple restarts.  That could cause
various problems, e.g. with access.

Add function qemuDomainClearPrivatePaths() for this as a counterpart of
qemuDomainSetPrivatePaths().

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_process.c