kvm.git Commit: 51ef04ce3219d05c88f204342b2db294b5590d0a
qemu-kvm Commit: 3e6f07b0c86b7fabfce72c1a42e54b2ad79dc587
Host Kernel Version: 2.6.33-rc4
KVM guest Save-Restore command changed, the new command function can work.
However, when we do <migrate "exec:dd="" of="test.img""> in guest qemu console, it will cost much long time to return(~2 minutes of a 256M memory guest), the speed of saving only has ~1MB/s
344640+0 records in
344640+0 records out
176455680 bytes (176 MB) copied, 183.226 s, 963 kB/s
1) qemu-system-x86_64 -m 256 -smp 4 -net
nic,macaddr=00:16:3e:57:87:39,model=rtl8139 -net tap,script=/etc/kvm/qemu-ifup
-hda /share/xvs/var/guest.img
2) Ctrl+Alt+2 migrate "exec:dd of=test.img" This step takes ~2 minutes with a
256MB memory guest, it will be more long for a >256MB memory guest.
3) qemu-system-x86_64 -m 256 -smp 4 -net
nic,macaddr=00:16:3e:57:87:39,model=rtl8139 -net tap,script=/etc/kvm/qemu-ifup
-hda /share/xvs/var/guest.img --incoming "exec:dd if=test.img"
On kvm 66fc6be8d2b04153b753182610f919faf9c705bc and qemu-kvm
53b6d3d5c2522e881c8d194f122de3114f6f76eb, the issue is not exist.
it will take <10s to save, speed: ~45MB/s
mark this bug fixed and verified.