qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] question about qemu migrate.


From: Sheldon
Subject: Re: [Qemu-devel] question about qemu migrate.
Date: Tue, 24 Jul 2012 01:34:54 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

On 07/23/2012 06:26 AM, Amos Kong wrote:
On Sun, Jul 22, 2012 at 10:59 PM, Sheldon <address@hidden> 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?
Thank for your patience.
Load the suspend vm.out by  # qemu-kvm .... incoming fd</tmp/vm.out,
Actual, I have not do it successfully.  For I can not load the  suspend vm.out, the hmp terminal report "load of migration failed"

When "migrate" with -b option (full copy of disk), the suspend vm.out will copy the source image.
So if I Load the suspend vm.out, does the qemu need the source image?


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
....
got it. Thank you again.

    



reply via email to

[Prev in Thread] Current Thread [Next in Thread]