* [Qemu-devel] [question] how to check if savevm is completed?
@ 2014-07-17 7:28 Zhang Haoyu
2014-07-17 18:29 ` Stefan Hajnoczi
2014-07-18 2:32 ` Zhang Haoyu
0 siblings, 2 replies; 4+ messages in thread
From: Zhang Haoyu @ 2014-07-17 7:28 UTC (permalink / raw)
To: qemu-devel
Hi, all
I run savevm by qemu-monitor, but how to check if savevm is completed? I haven't find the query interface.
Thanks,
Zhang Haoyu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [question] how to check if savevm is completed?
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
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2014-07-17 18:29 UTC (permalink / raw)
To: Zhang Haoyu; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
On Thu, Jul 17, 2014 at 03:28:21PM +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.
Stefan
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [question] how to check if savevm is completed?
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
1 sibling, 1 reply; 4+ messages in thread
From: Zhang Haoyu @ 2014-07-18 2:32 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel
>> 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?
Thanks,
Zhang Haoyu
>Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [question] how to check if savevm is completed?
2014-07-18 2:32 ` Zhang Haoyu
@ 2014-08-28 15:36 ` Stefan Hajnoczi
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2014-08-28 15:36 UTC (permalink / raw)
To: Zhang Haoyu; +Cc: qemu-devel
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-28 15:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.