[libvirt] [PATCH v2] qemu: Do not reset labels when migration fails

Peter Krempa pkrempa at redhat.com
Fri Jul 31 13:04:12 UTC 2015


On Fri, Jul 31, 2015 at 14:58:57 +0200, Jiri Denemark wrote:
> 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 at redhat.com>
> ---
> 
> Notes:
>     Version 2:
>     - fix qemuProcessStop call in qemuProcessReconnect
> 
>  src/qemu/qemu_driver.c    |  5 ++++-
>  src/qemu/qemu_migration.c |  3 ++-
>  src/qemu/qemu_process.c   | 19 ++++++++++++++-----
>  3 files changed, 20 insertions(+), 7 deletions(-)
> 

ACK,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150731/45fec469/attachment-0001.sig>


More information about the libvir-list mailing list