Re: [Qemu-devel] [PATCH v5 05/10] migration: move global_state.optional out

2017-06-25 Thread Peter Xu
On Fri, Jun 23, 2017 at 07:19:01PM -0300, Eduardo Habkost wrote: > On Fri, Jun 23, 2017 at 12:46:41PM +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 v5 05/10] migration: move global_state.optional out

2017-06-23 Thread Eduardo Habkost
On Fri, Jun 23, 2017 at 12:46:41PM +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, and AccelClass.global_props for Xe

[Qemu-devel] [PATCH v5 05/10] migration: move global_state.optional out

2017-06-22 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, and AccelClass.global_props for Xen. Reviewed-by: Juan Quintela Signed-off-by: Peter Xu --- hw/i38