All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sheldon <shaohef@linux.vnet.ibm.com>
To: Amos Kong <kongjianjun@gmail.com>
Cc: qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] question about qemu migrate.
Date: Sun, 22 Jul 2012 22:59:43 +0800	[thread overview]
Message-ID: <500C155F.3020008@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAFeW=pY22_qdritZDW7CEzd=MVDBciczY4Pms40wuBzo+bARYw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

On 07/22/2012 12:49 PM, Amos Kong wrote:
> On Sun, Jul 22, 2012 at 12:30 PM, Sheldon <shaohef@linux.vnet.ibm.com 
> <mailto:shaohef@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.







[-- Attachment #2: Type: text/html, Size: 2046 bytes --]

  reply	other threads:[~2012-07-22 15:00 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 [this message]
2012-07-22 22:26     ` Amos Kong
2012-07-23 17:34       ` Sheldon

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=500C155F.3020008@linux.vnet.ibm.com \
    --to=shaohef@linux.vnet.ibm.com \
    --cc=kongjianjun@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.