]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Fix access to auto-generated socket paths
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 7 Aug 2015 12:42:31 +0000 (14:42 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 24 Aug 2015 09:53:17 +0000 (11:53 +0200)
commitf1f68ca33433825ce0deed2d96f1990200bc6618
tree52b4a90cc2cef93e5dd40ea877d62a0ee043ebeb
parentf4c60dfbf2ec606a5fc148b4c6ff1cd17ffd79ec
qemu: Fix access to auto-generated socket paths

We are automatically generating some socket paths for domains, but all
those paths end up in a directory that's the same for multiple domains.
The problem is that multiple domains can each run with different
seclabels (users, selinux contexts, etc.).  The idea here is to create a
per-domain directory labelled in a way that each domain can access its
own unix sockets.

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

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