On 12 Dec 2014, at 12:11, Alex Bligh <a...@alex.org.uk> 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