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

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



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


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