Re: [Qemu-devel] [RFC PATCH 02/12] migration: migrate icount fields.

2014-03-25 Thread Frederic Konrad
On 24/03/2014 16:42, Paolo Bonzini wrote: Il 24/03/2014 15:49, Frederic Konrad ha scritto: --- a/cpus.c +++ b/cpus.c @@ -427,6 +427,26 @@ void qemu_clock_warp(QEMUClockType type) } } +static bool icount_state_needed(void *opaque) +{ +return (use_icount != 0); +} + +/* + * This is a su

Re: [Qemu-devel] [RFC PATCH 02/12] migration: migrate icount fields.

2014-03-24 Thread Paolo Bonzini
Il 24/03/2014 15:49, Frederic Konrad ha scritto: --- a/cpus.c +++ b/cpus.c @@ -427,6 +427,26 @@ void qemu_clock_warp(QEMUClockType type) } } +static bool icount_state_needed(void *opaque) +{ +return (use_icount != 0); +} + +/* + * This is a subsection for icount migration. + */ +static

Re: [Qemu-devel] [RFC PATCH 02/12] migration: migrate icount fields.

2014-03-24 Thread Frederic Konrad
On 22/03/2014 09:57, Paolo Bonzini wrote: Il 21/03/2014 20:17, fred.kon...@greensocs.com ha scritto: From: KONRAD Frederic This fixes a bug where qemu_icount and qemu_icount_bias are not migrated. Signed-off-by: KONRAD Frederic --- cpus.c | 23 ++- 1 file changed, 22 i

Re: [Qemu-devel] [RFC PATCH 02/12] migration: migrate icount fields.

2014-03-22 Thread Paolo Bonzini
Il 21/03/2014 20:17, fred.kon...@greensocs.com ha scritto: From: KONRAD Frederic This fixes a bug where qemu_icount and qemu_icount_bias are not migrated. Signed-off-by: KONRAD Frederic --- cpus.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/cpu

[Qemu-devel] [RFC PATCH 02/12] migration: migrate icount fields.

2014-03-21 Thread fred . konrad
From: KONRAD Frederic This fixes a bug where qemu_icount and qemu_icount_bias are not migrated. Signed-off-by: KONRAD Frederic --- cpus.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/cpus.c b/cpus.c index 687717f..bdbc431 100644 --- a/cpus.c +++ b