Re: [Qemu-devel] [PATCH v5 04/10] migration: let MigrationState be a qdev

2017-06-26 Thread Eduardo Habkost
On Mon, Jun 26, 2017 at 10:50:35AM +0800, Peter Xu wrote: > On Fri, Jun 23, 2017 at 07:18:19PM -0300, Eduardo Habkost wrote: > > On Fri, Jun 23, 2017 at 12:46:40PM +0800, Peter Xu wrote: > > > Let the old man "MigrationState" join the object family. Direct benefit > > > is that we can start to use

Re: [Qemu-devel] [PATCH v5 04/10] migration: let MigrationState be a qdev

2017-06-25 Thread Peter Xu
On Fri, Jun 23, 2017 at 07:18:19PM -0300, Eduardo Habkost wrote: > On Fri, Jun 23, 2017 at 12:46:40PM +0800, 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_

Re: [Qemu-devel] [PATCH v5 04/10] migration: let MigrationState be a qdev

2017-06-23 Thread Eduardo Habkost
On Fri, Jun 23, 2017 at 12:46:40PM +0800, 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 nev

[Qemu-devel] [PATCH v5 04/10] migration: let MigrationState be a qdev

2017-06-22 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