Re: [Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-21 Thread Peter Xu
On Mon, Jun 19, 2017 at 11:09:58AM +0200, Markus Armbruster wrote: > Eduardo Habkost writes: > > > On Mon, Jun 12, 2017 at 12:46:09PM +0800, Peter Xu wrote: > >> On Fri, Jun 09, 2017 at 03:39:24PM +0200, Markus Armbruster wrote: > >> > Peter Xu writes: > >> > > >> > > Let the old man "Migration

Re: [Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-19 Thread Markus Armbruster
Eduardo Habkost writes: > On Mon, Jun 12, 2017 at 12:46:09PM +0800, Peter Xu wrote: >> On Fri, Jun 09, 2017 at 03:39:24PM +0200, Markus Armbruster wrote: >> > Peter Xu writes: >> > >> > > Let the old man "MigrationState" join the object family. Direct benefit >> > > is that we can start to use

Re: [Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-13 Thread Eduardo Habkost
On Tue, Jun 13, 2017 at 11:52:15AM +0800, Peter Xu wrote: > On Mon, Jun 12, 2017 at 01:13:49PM -0300, Eduardo Habkost wrote: > > On Mon, Jun 12, 2017 at 12:46:09PM +0800, Peter Xu wrote: > > > On Fri, Jun 09, 2017 at 03:39:24PM +0200, Markus Armbruster wrote: > > > > Peter Xu writes: > > > > > >

Re: [Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-12 Thread Peter Xu
On Mon, Jun 12, 2017 at 01:13:49PM -0300, Eduardo Habkost wrote: > On Mon, Jun 12, 2017 at 12:46:09PM +0800, Peter Xu wrote: > > On Fri, Jun 09, 2017 at 03:39:24PM +0200, Markus Armbruster wrote: > > > Peter Xu writes: > > > > > > > Let the old man "MigrationState" join the object family. Direct

Re: [Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-12 Thread Eduardo Habkost
On Mon, Jun 12, 2017 at 12:46:09PM +0800, Peter Xu wrote: > On Fri, Jun 09, 2017 at 03:39:24PM +0200, Markus Armbruster wrote: > > Peter Xu writes: > > > > > Let the old man "MigrationState" join the object family. Direct benefit > > > is that we can start to use all the property features derived

Re: [Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-11 Thread Peter Xu
On Fri, Jun 09, 2017 at 03:39:24PM +0200, Markus Armbruster wrote: > Peter Xu writes: > > > 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 f

Re: [Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-09 Thread Markus Armbruster
Peter Xu writes: > 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

Re: [Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-09 Thread Juan Quintela
Peter Xu wrote: > 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 HM

[Qemu-devel] [PATCH v2 2/6] migration: let MigrationState be a qdev

2017-06-08 Thread Peter Xu
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, re