[libvirt] PATCH: Inform QEMU "prepare" hook of migration in progress

Adam Tilghman agt at ucsd.edu
Thu Dec 15 23:48:47 UTC 2011


On Thu, Dec 15, 2011 at 11:32:23PM +0000, Daniel P. Berrange wrote:
> > Rather, we need to thread
> > something through the call chain so that we can tell whether this code
> > was reached from qemu_migrate.c during an actual migration case. 
> 
> That information is in fact already passed into qemuProcessStart()
> via the virDomainRunningReason parameter, one of whose possible
> values is VIR_DOMAIN_RUNNING_MIGRATED

I'll take a stab at a more general solution and get back to the list.

-- Adam




More information about the libvir-list mailing list