[Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-12-02 Thread Lei Li
Signed-off-by: Lei Li --- migration.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/migration.c b/migration.c index e012cd4..7e0ec33 100644 --- a/migration.c +++ b/migration.c @@ -582,7 +582,7 @@ static void *migration_thread(void *opaque) if (pending

[Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-11-29 Thread Lei Li
Signed-off-by: Lei Li --- migration.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/migration.c b/migration.c index 4ac466b..68b5b02 100644 --- a/migration.c +++ b/migration.c @@ -582,7 +582,7 @@ static void *migration_thread(void *opaque) if (pending

Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-11-28 Thread Lei Li
On 11/26/2013 10:11 PM, Paolo Bonzini wrote: Il 26/11/2013 14:53, Lei Li ha scritto: 1) ram_save_setup stage, it will send all the bytes in this stages to destination, and send_pipefd by ram_control_before_iterate at the end of it. ram_save_setup runs doesn't send anything from guest RA

Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-11-26 Thread Paolo Bonzini
Il 26/11/2013 14:53, Lei Li ha scritto: > 1) ram_save_setup stage, it will send all the bytes in this stages >to destination, and send_pipefd by ram_control_before_iterate >at the end of it. ram_save_setup runs doesn't send anything from guest RAM. It sends the lengths of the various bloc

Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-11-26 Thread Lei Li
On 11/26/2013 08:54 PM, Paolo Bonzini wrote: Il 26/11/2013 13:03, Lei Li ha scritto: +if (pending_size && pending_size >= max_size && +!runstate_needs_reset()) { qemu_savevm_state_iterate(s->file); I'm not sure why you need this. The adjustment he

Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-11-26 Thread Paolo Bonzini
Il 26/11/2013 13:03, Lei Li ha scritto: >>> >>> +if (pending_size && pending_size >= max_size && >>> +!runstate_needs_reset()) { >>> qemu_savevm_state_iterate(s->file); >> I'm not sure why you need this. > > The adjustment here is to avoid the iteratio

Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-11-26 Thread Lei Li
On 11/26/2013 07:32 PM, Paolo Bonzini wrote: Il 21/11/2013 10:11, Lei Li ha scritto: Signed-off-by: Lei Li --- migration.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/migration.c b/migration.c index 4ac466b..0f98ac1 100644 --- a/migration.c +++ b/migrati

Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-11-26 Thread Paolo Bonzini
Il 21/11/2013 10:11, Lei Li ha scritto: > Signed-off-by: Lei Li > --- > migration.c | 10 +++--- > 1 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/migration.c b/migration.c > index 4ac466b..0f98ac1 100644 > --- a/migration.c > +++ b/migration.c > @@ -579,10 +579,11 @@ sta

[Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-11-21 Thread Lei Li
Signed-off-by: Lei Li --- migration.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/migration.c b/migration.c index 4ac466b..0f98ac1 100644 --- a/migration.c +++ b/migration.c @@ -579,10 +579,11 @@ static void *migration_thread(void *opaque) pendin

Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-10-24 Thread Lei Li
On 10/24/2013 10:15 PM, Paolo Bonzini wrote: Il 22/10/2013 04:25, Lei Li ha scritto: Signed-off-by: Lei Li --- migration.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/migration.c b/migration.c index 4ac466b..568b73a 100644 --- a/migration.c +++ b/migrati

Re: [Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-10-24 Thread Paolo Bonzini
Il 22/10/2013 04:25, Lei Li ha scritto: > Signed-off-by: Lei Li > --- > migration.c | 10 +++--- > 1 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/migration.c b/migration.c > index 4ac466b..568b73a 100644 > --- a/migration.c > +++ b/migration.c > @@ -579,10 +579,11 @@ sta

[Qemu-devel] [PATCH 16/17] migration: adjust migration_thread() process for page flipping

2013-10-21 Thread Lei Li
Signed-off-by: Lei Li --- migration.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/migration.c b/migration.c index 4ac466b..568b73a 100644 --- a/migration.c +++ b/migration.c @@ -579,10 +579,11 @@ static void *migration_thread(void *opaque) pendin