]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix tunnelled migration with qemu running as qemu:qemu.
authorChris Lalancette <clalance@redhat.com>
Thu, 12 Aug 2010 14:01:31 +0000 (10:01 -0400)
committerChris Lalancette <clalance@redhat.com>
Fri, 13 Aug 2010 12:39:46 +0000 (08:39 -0400)
commita2f0b6b81da87d3189211e23a874f12d46865903
tree6c29f97f6a8295a4fff7e1bfa9cc1805a209815c
parent18b6323ab9e4deede09799e9f964a355d64f3cf0
Fix tunnelled migration with qemu running as qemu:qemu.

The problem is that on the source of the migration, libvirtd
is responsible for creating the unix socket over which the data
will flow.  Since libvirtd is running as root, this file will
be created as root.  When the qemu process running as qemu:qemu
goes to access the unix file to write data to it, it will get
permission denied and fail.  Make sure to change the owner
of the unix file to qemu:qemu.

Thanks to Justin Clift for testing this patch out for me.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
src/qemu/qemu_driver.c