Re: [Qemu-devel] [PATCH RFC 4/4] Curling: the receiver

2013-09-11 Thread junqing . wang
hi, At 2013-09-10 22:19:48,"Juan Quintela" wrote: >> @@ -112,13 +113,24 @@ static void process_incoming_migration_co(void *opaque) >> { >> QEMUFile *f = opaque; >> int ret; >> +int count = 0; >> >> -ret = qemu_loadvm_state(f); >> -qemu_fclose(f); >> -if (ret < 0) {

[Qemu-devel] [PATCH RFC 4/4] Curling: the receiver

2013-09-10 Thread Jules Wang
The receiver does migration loop until the migration connection is lost. Then, it is started as a backup. The receiver does not load vm state once a migration begins, instead, it perfetches one whole migration data into a buffer, then loads vm state from that buffer afterwards. Signed-off-by: Jul

Re: [Qemu-devel] [PATCH RFC 4/4] Curling: the receiver

2013-09-10 Thread Juan Quintela
Jules Wang wrote: > The receiver does migration loop until the migration connection is > lost. Then, it is started as a backup. > > The receiver does not load vm state once a migration begins, > instead, it perfetches one whole migration data into a buffer, > then loads vm state from that buffer a