qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] QMP migration race condition / doc problem


From: Alex Bligh
Subject: Re: [Qemu-devel] QMP migration race condition / doc problem
Date: Fri, 12 Dec 2014 14:13:35 +0000

On 12 Dec 2014, at 12:11, Alex Bligh <address@hidden> wrote:

> Now, from the docs, the 'migrate' QMP command is meant to return an empty
> object all the time (as far as I can tell). From the time difference, it
> appears it's doing something.
> 
> 'query-migrate' is specified to return an empty object only "before the
> first migration" (see full extract below from qmp-commands.hx for details).
> After the first migration (which I can only presume means 'after the
> first migration has started') it's meant to return a status member of
> either 'completed', 'active' or 'failed'. But it's doing none of these.
> I am calling it a matter of microseconds after it's returned the QMP
> object (see above) which I guess may be the issue.

On further investigation I think this is because an older version of qemu
was being used. Older versions of qemu return an empty object in the
'setup' state, i.e. whilst tcp is connecting. I will submit a patch to
fix the documentation.

-- 
Alex Bligh







reply via email to

[Prev in Thread] Current Thread [Next in Thread]