qemu-e2k/hw/core
Greg Kurz 902c053d83 migration: allow machine to enforce configuration section migration
Migration of pseries-2.3 doesn't have configuration section. Unfortunately,
QEMU 2.4/2.4.1/2.5 are buggy and always stream and expect the configuration
section, and break migration both ways.

This patch introduces a property which allows to enforce a configuration
section for machines who don't have one.

It can be set at startup:

-machine enforce-config-section=on

or later from the QEMU monitor:

qom-set /machine enforce-config-section on

It is up to the tooling to set or unset this property according to the
version of the QEMU at the other end of the pipe.

Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-02-28 16:19:02 +11:00
..
empty_slot.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
fw-path-provider.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
hotplug.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
irq.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
loader.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
machine.c migration: allow machine to enforce configuration section migration 2016-02-28 16:19:02 +11:00
Makefile.objs
nmi.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
null-machine.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
platform-bus.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
ptimer.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
qdev-properties-system.c qom: Swap 'name' next to visitor in ObjectPropertyAccessor 2016-02-08 17:29:56 +01:00
qdev-properties.c qapi: Drop unused 'kind' for struct/enum visit 2016-02-08 17:29:57 +01:00
qdev.c qom: Swap 'name' next to visitor in ObjectPropertyAccessor 2016-02-08 17:29:56 +01:00
stream.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
sysbus.c hw/core: Clean up includes 2016-01-29 15:07:25 +00:00
uboot_image.h