On Wed, Mar 13, 2019 at 09:43:30AM +0100, Markus Armbruster wrote:
> Recent commit cda4aa9a5a0 moved block backend creation before machine
> property evaluation. This broke qemu-iotests 055. Turns out we need
> to create the migration object before block backends, so block
> backends can add migration blockers. Fix by calling
> migration_object_init() earlier, right before configure_blockdev().
>
> Fixes: cda4aa9a5a08777cf13e164c0543bd4888b8adce
> Reported-by: Kevin Wolf <[email protected]>
> Signed-off-by: Markus Armbruster <[email protected]>
Hi,
After this patch is applied, migration with Xen doesn't work anymore.
When QEMU on the receiving end is started, it prints:
qemu-system-i386: load of migration failed: Invalid argument
> + /*
> + * Migration object can only be created after global properties
> + * are applied correctly.
> + */
> + migration_object_init();
I think it's because migration_object_init() is now called before
configure_accelerator(). xen_accel_class_init() have some compat_props
for migration.
Any idea how to fix this?
Thanks,
--
Anthony PERARD