]> git.proxmox.com Git - mirror_qemu.git/commit
migration: Fix regression for xenfv and pc,accel=xen machine.
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 3 Aug 2015 14:29:21 +0000 (15:29 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 3 Aug 2015 16:13:40 +0000 (16:13 +0000)
commit8c6dc68f4cff9eef870497a19a5373dde9dbdcc2
tree88dcd36e5ae08283a170ee8bf9394932c94a5871
parentc69adea462a97c02001b2dd1edd2a0692d27f5a2
migration: Fix regression for xenfv and pc,accel=xen machine.

This fix migration from the same QEMU version and from previous QEMU
version.

>From the global state section, we don't need runstate with Xen. Right now,
the way the Xen toolstack knows when QEMU is ready is when QEMU reach
"running" runstate.

The configuration section and the section footers are not going to be
present in previous version of QEMU with xenfv machine, so we skip them.

The Xen toolstack libxenlight does not specify a particular version of the
'pc' machine, so migration from older version of QEMU used by Xen to newer
one would break due to missing "configuration" section and section footers.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-common.c