[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 04/14] migration: let MigrationState be a qdev
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PULL 04/14] migration: let MigrationState be a qdev |
Date: |
Mon, 3 Jul 2017 09:24:37 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Fri, Jun 30, 2017 at 04:27:46PM -0500, Eric Blake wrote:
> On 06/30/2017 04:18 PM, Philippe Mathieu-Daudé wrote:
> > Hi Peter, Juan,
> >
> > On 06/28/2017 08:30 AM, Juan Quintela wrote:
> >> From: Peter Xu <address@hidden>
> >>
> >> Let the old man "MigrationState" join the object family. Direct benefit
> >> is that we can start to use all the property features derived from
> >> current QDev, like: HW_COMPAT_* bits, command line setup for migration
> >> parameters (so will never need to set them up each time using HMP/QMP,
> >> this is really, really attractive for test writters), etc.
> >>
> >> I see no reason to disallow this happen yet. So let's start from this
> >> one, to see whether it would be anything good.
> >>
> >> Now we init the MigrationState struct statically in main() to make sure
> >> it's initialized after global properties are applied, since we'll use
> >> them during creation of the object.
> >>
> >> No functional change at all.
> >>
>
> > qemu-system-arm: migration/migration.c:127: migrate_get_current:
> > Assertion `current_migration' failed.
> >
> > I'v bisected to this commit using the following script:
>
> Known issue;
>
> https://lists.gnu.org/archive/html/qemu-devel/2017-06/msg06958.html
Yeah, I'll post the fix today. Really sorry for the inconvenience!
--
Peter Xu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PULL 04/14] migration: let MigrationState be a qdev,
Peter Xu <=