]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Do not reset labels when migration fails
authorJiri Denemark <jdenemar@redhat.com>
Thu, 30 Jul 2015 14:42:43 +0000 (16:42 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 31 Jul 2015 13:15:12 +0000 (15:15 +0200)
commite8d0166e1d27c18aacea4b1316760fad4106e1c7
treeeb1bf3e926d235862a286836ebc7b039acdcd2e8
parent40a6dd9c16f4760ae01919f7710476c4c9804f4f
qemu: Do not reset labels when migration fails

When stopping a domain on the destination host after a failed migration,
we need to avoid reseting security labels since the domain is still
running on the source host. While we were correctly doing so in some
cases, there were still some paths which did this wrong.

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

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