Hi, Wenchao
In order to determine whether my test method or my system environment have problems,
I want to test the patch on the qemu version which you used.
You can give me a rough version number.
You told me that patch is based on the version before qemu-1.3. But in your patch,
there is a diff:
--- a/savevm.c
+++ b/savevm.c
@@ -698,7 +698,7 @@ int qemu_get_byte(QEMUFile *f)
return result;
}
-static int64_t qemu_ftell(QEMUFile *f)
+int64_t qemu_ftell(QEMUFile *f)
{
return f->buf_offset - f->buf_size + f->buf_index;
}
@@ -2061,32 +2061,10 @@ out:
return ret;
}
But before qemu-1.3, the "qemu_ftell" function is not a static function.
In qemu-1.3 and the following version, the "qemu_ftell" function is change
to a static function. So I'm not sure which version you used.
Which tool you used to connect the VM, Spice, VNC or others?
When I use the Spice, after I "loadvm" the snapshot which is create by
the "migrate image:" command, the qemu-kvm will be error or crash.
But when I use VNC, it is OK.
How do you think this issue? Please give me some suggestion.
And can you give me the detailed "qemu-kvm" command, which you used to start the VM.
I want compare your "qemu-kvm" command and my.
Best Regards
Liu Ji
-----------------------------------------------------