From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4blU-0004mi-7y for qemu-devel@nongnu.org; Mon, 05 Mar 2012 12:32:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4bl9-0001Ok-Vr for qemu-devel@nongnu.org; Mon, 05 Mar 2012 12:32:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:7821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4bl9-0001OL-Nj for qemu-devel@nongnu.org; Mon, 05 Mar 2012 12:31:43 -0500 Date: Mon, 5 Mar 2012 14:31:42 -0300 From: Luiz Capitulino Message-ID: <20120305143142.1a1a53e2@doriath.home> In-Reply-To: <4F54F76B.70403@codemonkey.ws> References: <1330956981-5001-1-git-send-email-alevy@redhat.com> <4F54CEA2.10808@codemonkey.ws> <4F54F5F8.70105@redhat.com> <4F54F76B.70403@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/2] console: add hw_screen_dump_async List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Alon Levy , Avi Kivity , kraxel@redhat.com On Mon, 05 Mar 2012 11:27:07 -0600 Anthony Liguori wrote: > On 03/05/2012 11:20 AM, Avi Kivity wrote: > > On 03/05/2012 04:33 PM, Anthony Liguori wrote: > >> > >> > >> async in QEMU doesn't mean "generate a QMP event when you're done". > >> It should mean execute this closure when you finish (function pointer > >> + opaque). > >> > >> The QMP event should be dispatched from the closure such that the > >> screendump code doesn't have to have a direct dependency on QMP. > >> > > > > What about using the parallel execution facility of qmp? It's silly to > > duplicate every command X with X-async and X-COMPLETED. > > We need to switch over to QAPI to get there. We're pretty close to being there. > Luiz, about how long do you think before we get there? It's a bit hard to tell, because it depends on upstream review plus me not being bogged down with other stuff. But maybe in around two weeks when I resume my work on this.