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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 31, 2015 at 14:39:13 +0200, Peter Krempa wrote:
> On Fri, Jul 31, 2015 at 13:57:29 +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@xxxxxxxxxx>
> > ---
> >  src/qemu/qemu_driver.c    |  5 ++++-
> >  src/qemu/qemu_migration.c |  3 ++-
> >  src/qemu/qemu_process.c   | 14 ++++++++++----
> >  3 files changed, 16 insertions(+), 6 deletions(-)
> > 
> 
> You also need to fix the case where an incomming migration is killed on
> daemon restart in qemuProcessReconnect.

Yeah, I had that in mind in one moment but I failed to fix this in the
end... v2 coming in a few moments.

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]