From: Sheldon <shaohef@linux.vnet.ibm.com>
To: Amos Kong <kongjianjun@gmail.com>
Cc: Shu Ming <shuming@linux.vnet.ibm.com>,
qemu-devel@nongnu.org,
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] question about qemu migrate.
Date: Tue, 24 Jul 2012 01:34:54 +0800 [thread overview]
Message-ID: <500D8B3E.3090707@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAFeW=pZ-u6-Z=N7w9CWMJ7e+=La-acCLDGEr5M2ZT+_kTXo7oA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1651 bytes --]
On 07/23/2012 06:26 AM, Amos Kong wrote:
> On Sun, Jul 22, 2012 at 10:59 PM, Sheldon <shaohef@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?
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.
[-- Attachment #2: Type: text/html, Size: 2824 bytes --]
prev parent reply other threads:[~2012-07-23 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-22 4:30 [Qemu-devel] question about qemu migrate Sheldon
2012-07-22 4:49 ` Amos Kong
2012-07-22 14:59 ` Sheldon
2012-07-22 22:26 ` Amos Kong
2012-07-23 17:34 ` Sheldon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=500D8B3E.3090707@linux.vnet.ibm.com \
--to=shaohef@linux.vnet.ibm.com \
--cc=kongjianjun@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=shuming@linux.vnet.ibm.com \
--cc=stefanha@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).