On Sun, Jul 22, 2012 at 10:59 PM, Sheldon <shao...@linux.vnet.ibm.com> wrote: > > > (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?
Load the suspend vm.out by # qemu-kvm .... incoming fd</tmp/vm.out, and execute monitor cmd to reboot # system_reset. Then re-dump VM to disk by (qemu) migrate -d exec:cat>/tmp/vm.out2 Is it satisfied for you? > 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. (qemu) info migrate info commands(for hmp) always correspond with query commands(for qmp), some query-cmds are not implemented right now (eg. query-network) hmp qmp --- --- info status -> query-status info block -> query-block info pci -> query-pci ....