From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN1kf-0003wn-9e for qemu-devel@nongnu.org; Thu, 28 Aug 2014 11:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN1kU-0004WB-Ut for qemu-devel@nongnu.org; Thu, 28 Aug 2014 11:36:41 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:48114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN1kU-0004Vy-Nu for qemu-devel@nongnu.org; Thu, 28 Aug 2014 11:36:30 -0400 Received: by mail-wi0-f171.google.com with SMTP id hi2so7660038wib.10 for ; Thu, 28 Aug 2014 08:36:28 -0700 (PDT) Date: Thu, 28 Aug 2014 16:36:25 +0100 From: Stefan Hajnoczi Message-ID: <20140828153625.GD21702@stefanha-thinkpad.redhat.com> References: <201407171528189986365@sangfor.com> <201407181032304457667@sangfor.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1sNVjLsmu1MXqwQ/" Content-Disposition: inline In-Reply-To: <201407181032304457667@sangfor.com> Subject: Re: [Qemu-devel] [question] how to check if savevm is completed? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu Cc: qemu-devel --1sNVjLsmu1MXqwQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --1sNVjLsmu1MXqwQ/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT/0x5AAoJEJykq7OBq3PI1/QH/RB3nzl9xD6hg/vigjmfmpZQ +40GdPaEPEQ4KkueA2uxtgEvp5zPN8DyoTijUyAYP6tdUxr+DFqugyusFdm0qM1b 8EvOmAABqP5TwsZ/Xy59ZoJeKKSOf4bjh37l70NWEvs+E/A0gptrod+BHj5AzYMf XlKh/8/LWXPT8tMt7plpFfAJ+RVIUv106cY7QZfBvd1oTsKx8K4VK4+z2M58DR0c fAtm18AmUI3qABhRa+yJPn4RmlQzHAmM6zizUfMWQfxluZrA4QrkxNKArAc0BVCI zVVmK36dV9OlM43drWux2qFDhzlTfbEq2iH6KLuhxr7bXmyYpp2W7PnhCI8ljnI= =ePpt -----END PGP SIGNATURE----- --1sNVjLsmu1MXqwQ/--