From: Stefan Hajnoczi <stefanha@gmail.com>
To: Zhang Haoyu <zhanghy@sangfor.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [question] how to check if savevm is completed?
Date: Thu, 28 Aug 2014 16:36:25 +0100 [thread overview]
Message-ID: <20140828153625.GD21702@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <201407181032304457667@sangfor.com>
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
On Fri, Jul 18, 2014 at 10:32:33AM +0800, Zhang Haoyu wrote:
> >> I run savevm by qemu-monitor, but how to check if savevm is completed? I haven't find the query interface.
> >
> >That is because savevm is synchronous. It blocks until the operation is
> >complete. You cannot use the QEMU monitor while savevm is executing.
> >
> So, only the asynchronous operations provide the query interface, like hmp_info_migrate, right?
Yes, because the monitor is blocked during synchronous operations. Only
one command is processed at a time.
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
prev parent reply other threads:[~2014-08-28 15:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-17 7:28 [Qemu-devel] [question] how to check if savevm is completed? Zhang Haoyu
2014-07-17 18:29 ` Stefan Hajnoczi
2014-07-18 2:32 ` Zhang Haoyu
2014-08-28 15:36 ` Stefan Hajnoczi [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=20140828153625.GD21702@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=zhanghy@sangfor.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).