Re: [libvirt] [PATCH v2 3/4] qemuMigrationDstPrepareAny: Parse cookie before adding domain onto list

2018-11-23 Thread Jiri Denemark
On Fri, Nov 23, 2018 at 14:23:50 +0100, Michal Privoznik wrote: > There are some checks done when parsing a migration cookie. For > instance, one of the checks ensures that the domain is not being > migrated onto the same host. If that is the case, then we are in > big trouble because the @vm is th

[libvirt] [PATCH v2 3/4] qemuMigrationDstPrepareAny: Parse cookie before adding domain onto list

2018-11-23 Thread Michal Privoznik
There are some checks done when parsing a migration cookie. For instance, one of the checks ensures that the domain is not being migrated onto the same host. If that is the case, then we are in big trouble because the @vm is the same domain object used by source and it has some jobs sets and everyt