On 07/22/2012 12:49 PM, Amos Kong wrote:
On Sun, Jul 22, 2012 at 12:30 PM, Sheldon <shao...@linux.vnet.ibm.com
<mailto:shao...@linux.vnet.ibm.com>> wrote:
I find there are four kinds of uri for qmp_migrate
"tcp:", "exec:", "unix:", and "fd:"
now I want to migrate the vm to a local file with "exec:" uri by
hmp-command.
How should I do the migration?
(qemu) migrate -d exec:cat>/tmp/vm.out
.... -incoming fd:</tmp/vm.out
thank you. it can work now.
there are still some questions.
1. the migration file vm.out is a QEMU suspend to disk image.
How can I reboot vm.out by QEMU?
2. I execute "migrate" with -b option, seems that the "migrate" runs at
background.
I cat get the "migrate" information by qmp , there is a { "execute":
"query-migrate" } command in qmp-command.
But I can not get the the "migrate" information by hmp, there is not a
"query-migrate" command in hmp-command.