]> xenbits.xensource.com Git - libvirt.git/commit
qemuProcessReconnect: Avoid relabeling images after migration
authorJiri Denemark <jdenemar@redhat.com>
Wed, 23 Nov 2016 13:07:53 +0000 (14:07 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 29 Nov 2016 11:37:04 +0000 (12:37 +0100)
commit0355de2e77fa8a11419fde5b0eb68458a7fb62ca
tree4f9505c7bdc7b76fbd45fdad613036579017370a
parentee3ea86b37146ad80d5418b231959491ff28ebae
qemuProcessReconnect: Avoid relabeling images after migration

Restarting libvirtd on the source host at the end of migration when a
domain is already running on the destination would cause image labels to
be reset effectively killing the domain. Commit e8d0166e1d fixed similar
issue on the destination host, but kept the source always resetting the
labels, which was mostly correct except for the specific case handled by
this patch.

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

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_process.c