Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-11 Thread David Gibson
On Mon, Jul 11, 2016 at 09:58:21AM +0200, Igor Mammedov wrote: > On Mon, 11 Jul 2016 13:22:37 +1000 > David Gibson wrote: > > > On Fri, Jul 08, 2016 at 01:11:02PM +0200, Igor Mammedov wrote: > > > On Fri, 8 Jul 2016 15:19:58 +1000 > > > David Gibson wrote: > > > > > > > On Thu, Jul 07, 2016 a

Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-11 Thread Igor Mammedov
On Mon, 11 Jul 2016 13:22:37 +1000 David Gibson wrote: > On Fri, Jul 08, 2016 at 01:11:02PM +0200, Igor Mammedov wrote: > > On Fri, 8 Jul 2016 15:19:58 +1000 > > David Gibson wrote: > > > > > On Thu, Jul 07, 2016 at 08:20:22PM +0530, Bharata B Rao wrote: > > > > Add CPUState::stable_cpu_id

Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-11 Thread Igor Mammedov
On Mon, 11 Jul 2016 09:05:07 +0530 Bharata B Rao wrote: > On Mon, Jul 11, 2016 at 01:22:37PM +1000, David Gibson wrote: > > On Fri, Jul 08, 2016 at 01:11:02PM +0200, Igor Mammedov wrote: > > > On Fri, 8 Jul 2016 15:19:58 +1000 > > > David Gibson wrote: > > > > > > > On Thu, Jul 07, 2016 at

Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-10 Thread Bharata B Rao
On Mon, Jul 11, 2016 at 01:22:37PM +1000, David Gibson wrote: > On Fri, Jul 08, 2016 at 01:11:02PM +0200, Igor Mammedov wrote: > > On Fri, 8 Jul 2016 15:19:58 +1000 > > David Gibson wrote: > > > > > On Thu, Jul 07, 2016 at 08:20:22PM +0530, Bharata B Rao wrote: > > > > Add CPUState::stable_cpu_id

Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-10 Thread David Gibson
On Fri, Jul 08, 2016 at 01:11:02PM +0200, Igor Mammedov wrote: > On Fri, 8 Jul 2016 15:19:58 +1000 > David Gibson wrote: > > > On Thu, Jul 07, 2016 at 08:20:22PM +0530, Bharata B Rao wrote: > > > Add CPUState::stable_cpu_id and use that as instance_id in > > > vmstate_register() call. > > > > >

Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-08 Thread Igor Mammedov
On Fri, 8 Jul 2016 15:19:58 +1000 David Gibson wrote: > On Thu, Jul 07, 2016 at 08:20:22PM +0530, Bharata B Rao wrote: > > Add CPUState::stable_cpu_id and use that as instance_id in > > vmstate_register() call. > > > > Introduce has-stable_cpu_id property that allows target machines to > > optio

Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-07 Thread David Gibson
On Thu, Jul 07, 2016 at 08:20:22PM +0530, Bharata B Rao wrote: > Add CPUState::stable_cpu_id and use that as instance_id in > vmstate_register() call. > > Introduce has-stable_cpu_id property that allows target machines to > optionally switch to using stable_cpu_id instead of cpu_index. > This wil

Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-07 Thread David Gibson
On Thu, Jul 07, 2016 at 07:52:32PM +0200, Greg Kurz wrote: > On Thu, 7 Jul 2016 20:20:22 +0530 > Bharata B Rao wrote: > > > Add CPUState::stable_cpu_id and use that as instance_id in > > vmstate_register() call. > > > > Introduce has-stable_cpu_id property that allows target machines to > > opt

Re: [Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-07 Thread Greg Kurz
On Thu, 7 Jul 2016 20:20:22 +0530 Bharata B Rao wrote: > Add CPUState::stable_cpu_id and use that as instance_id in > vmstate_register() call. > > Introduce has-stable_cpu_id property that allows target machines to > optionally switch to using stable_cpu_id instead of cpu_index. If stable_cpu_

[Qemu-devel] [RFC PATCH v2 2/5] cpu: Introduce CPUState::stable_cpu_id

2016-07-07 Thread Bharata B Rao
Add CPUState::stable_cpu_id and use that as instance_id in vmstate_register() call. Introduce has-stable_cpu_id property that allows target machines to optionally switch to using stable_cpu_id instead of cpu_index. This will help allow successful migration in cases where holes are introduced in cp