[libvirt] [PATCH] Check for --live flag for postcopy-after-precopy migration

Jiri Denemark jdenemar at redhat.com
Fri Aug 26 20:51:09 UTC 2016


On Fri, Aug 26, 2016 at 21:41:31 +0200, Michal Privoznik wrote:
> On 26.08.2016 11:25, Kothapally Madhu Pavan wrote:
> > Unlike postcopy migration there is no --live flag check for
> > postcopy-after-precopy.
> > 
> > Signed-off-by: Kothapally Madhu Pavan <kmp at linux.vnet.ibm.com>
> > ---
> >  tools/virsh-domain.c |    6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> 
> ACKed and pushed.

This doesn't make any sense. First, post-copy migration is enabled with
--postcopy option to migrate command and --postcopy-after-precopy is
just an additional flag for post-copy migration. So if virsh was to
report such an error, it should check for --postcopy option. But such
check doesn't belong to libvirt at all, the appropriate libvirt driver
is supposed to check for the flags and report invalid combinations.

Jirka




More information about the libvir-list mailing list