From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIbFy-0005Ez-WA for qemu-devel@nongnu.org; Tue, 25 Oct 2011 03:17:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIbFy-0002U1-0Q for qemu-devel@nongnu.org; Tue, 25 Oct 2011 03:17:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIbFx-0002Tt-Pf for qemu-devel@nongnu.org; Tue, 25 Oct 2011 03:17:05 -0400 Message-ID: <4EA6626B.8000602@redhat.com> Date: Tue, 25 Oct 2011 09:16:59 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1319457739-14562-1-git-send-email-alevy@redhat.com> <1319457739-14562-2-git-send-email-alevy@redhat.com> <4EA5808A.7050409@redhat.com> <20111024134516.57596735@doriath> In-Reply-To: <20111024134516.57596735@doriath> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/5] monitor: screen_dump async List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: mdroth@linux.vnet.ibm.com, mlureau@redhat.com, Alon Levy , armbru@redhat.com, qemu-devel@nongnu.org Hi, > If all you need here is to delay sending the response, then maybe the > current interface could work (although I honestly don't trust it and > regret not having dropped it). Otherwise our only choice would be to > work on getting the QAPI async support merged. A delayed monitor response is all we need. The command may take a bit to finish, where "a bit" is in the order of a few seconds max, usually less than a second. Blocking the monitor for that amount of time is fine, but blocking the io thread introduces insane long I/O latencies for the guest (and device emulation). cheers, Gerd