qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] vl: Fix to create migration object before block


From: Anthony PERARD
Subject: Re: [Qemu-devel] [PATCH] vl: Fix to create migration object before block backends again
Date: Tue, 26 Mar 2019 16:16:46 +0000
User-agent: Mutt/1.11.4 (2019-03-13)

On Tue, Mar 26, 2019 at 03:58:52PM +0000, Anthony PERARD wrote:
> 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 <address@hidden>
> > Signed-off-by: Markus Armbruster <address@hidden>
> 
> 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

I should have quote this from QEMU stderr instead of the single line
abrove:
    qemu-system-i386: Configuration section missing
    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?

-- 
Anthony PERARD



reply via email to

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