Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-18 Thread Peter Xu
On Fri, Jun 16, 2017 at 11:34:32AM -0300, Eduardo Habkost wrote: > On Fri, Jun 16, 2017 at 03:58:20PM +0800, Peter Xu wrote: > > On Tue, Jun 13, 2017 at 08:16:35AM -0300, Eduardo Habkost wrote: [...] > > Hi, Eduardo, > > > > I'm working on providing a AccelState.global_props, then let KVM/TCG >

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-16 Thread Eduardo Habkost
On Fri, Jun 16, 2017 at 03:58:20PM +0800, Peter Xu wrote: > On Tue, Jun 13, 2017 at 08:16:35AM -0300, Eduardo Habkost wrote: > > On Tue, Jun 13, 2017 at 11:41:02AM +0800, Peter Xu wrote: > > > On Mon, Jun 12, 2017 at 04:18:06PM +0800, Peter Xu wrote: > > > > On Fri, Jun 09, 2017 at 10:40:10AM -0300

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-16 Thread Peter Xu
On Tue, Jun 13, 2017 at 08:16:35AM -0300, Eduardo Habkost wrote: > On Tue, Jun 13, 2017 at 11:41:02AM +0800, Peter Xu wrote: > > On Mon, Jun 12, 2017 at 04:18:06PM +0800, Peter Xu wrote: > > > On Fri, Jun 09, 2017 at 10:40:10AM -0300, Eduardo Habkost wrote: > > > > On Fri, Jun 09, 2017 at 11:48:59A

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-13 Thread Peter Xu
On Tue, Jun 13, 2017 at 08:16:35AM -0300, Eduardo Habkost wrote: > On Tue, Jun 13, 2017 at 11:41:02AM +0800, Peter Xu wrote: > > On Mon, Jun 12, 2017 at 04:18:06PM +0800, Peter Xu wrote: > > > On Fri, Jun 09, 2017 at 10:40:10AM -0300, Eduardo Habkost wrote: > > > > On Fri, Jun 09, 2017 at 11:48:59A

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-13 Thread Eduardo Habkost
On Tue, Jun 13, 2017 at 11:41:02AM +0800, Peter Xu wrote: > On Mon, Jun 12, 2017 at 04:18:06PM +0800, Peter Xu wrote: > > On Fri, Jun 09, 2017 at 10:40:10AM -0300, Eduardo Habkost wrote: > > > On Fri, Jun 09, 2017 at 11:48:59AM +0800, Peter Xu wrote: > > > > Put it into MigrationState then we can u

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-12 Thread Peter Xu
On Mon, Jun 12, 2017 at 04:18:06PM +0800, Peter Xu wrote: > On Fri, Jun 09, 2017 at 10:40:10AM -0300, Eduardo Habkost wrote: > > On Fri, Jun 09, 2017 at 11:48:59AM +0800, Peter Xu wrote: > > > Put it into MigrationState then we can use the properties to specify > > > whether to enable storing globa

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-12 Thread Peter Xu
On Fri, Jun 09, 2017 at 10:40:10AM -0300, Eduardo Habkost wrote: > On Fri, Jun 09, 2017 at 11:48:59AM +0800, Peter Xu wrote: > > Put it into MigrationState then we can use the properties to specify > > whether to enable storing global state. > > > > Removing global_state_set_optional() since now w

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-09 Thread Juan Quintela
Eduardo Habkost wrote: D> On Fri, Jun 09, 2017 at 11:48:59AM +0800, Peter Xu wrote: >> Put it into MigrationState then we can use the properties to specify >> whether to enable storing global state. >> >> Removing global_state_set_optional() since now we can use HW_COMPAT_2_3 >> for x86/power in

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-09 Thread Eduardo Habkost
On Fri, Jun 09, 2017 at 11:48:59AM +0800, Peter Xu wrote: > Put it into MigrationState then we can use the properties to specify > whether to enable storing global state. > > Removing global_state_set_optional() since now we can use HW_COMPAT_2_3 > for x86/power in general, and the register_compat

Re: [Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-09 Thread Juan Quintela
Peter Xu wrote: > Put it into MigrationState then we can use the properties to specify > whether to enable storing global state. > > Removing global_state_set_optional() since now we can use HW_COMPAT_2_3 > for x86/power in general, and the register_compat_prop() for xen_init(). > > Signed-off-by:

[Qemu-devel] [PATCH v2 3/6] migration: move global_state.optional out

2017-06-08 Thread Peter Xu
Put it into MigrationState then we can use the properties to specify whether to enable storing global state. Removing global_state_set_optional() since now we can use HW_COMPAT_2_3 for x86/power in general, and the register_compat_prop() for xen_init(). Signed-off-by: Peter Xu --- hw/i386/pc_pi