]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Label correct per-VM path when starting
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 25 Aug 2015 08:57:56 +0000 (10:57 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 26 Aug 2015 08:44:14 +0000 (10:44 +0200)
commitf674dc6794e0946f89313f477aa7886a4a28188e
tree92adbdf10a4cb62a7bead8a049e8115eca8a555a
parentbf2788218ad29719467260aa4ecad6dc31c97046
qemu: Label correct per-VM path when starting

Commit f1f68ca33433825ce0deed2d96f1990200bc6618 overused mdir_name()
event though it was not needed in the latest version, hence labelling
directory one level up in the tree and not the one it should.

If anyone with SElinux managed to try run a domain with guest agent set
up, it's highly possible that they will need to run 'restorecon -F
/var/lib/libvirt/qemu/channel/target' to fix what was done.

Reported-by: Luyao Huang <lhuang@redhat.com>
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_process.c