From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIJHB-0000Ff-Jc for qemu-devel@nongnu.org; Mon, 24 Oct 2011 08:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIJH9-00026a-P7 for qemu-devel@nongnu.org; Mon, 24 Oct 2011 08:05:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIJH9-00024a-Fu for qemu-devel@nongnu.org; Mon, 24 Oct 2011 08:05:07 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9OC56ZL016834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Oct 2011 08:05:06 -0400 From: Alon Levy Date: Mon, 24 Oct 2011 14:02:14 +0200 Message-Id: <1319457739-14562-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] monitor+qxl: async monitor support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lcapitulino@redhat.com, armbru@redhat.com, kraxel@redhat.com Cc: mlureau@redhat.com, qemu-devel@nongnu.org This patchset converts the screen_dump command to async across qemu, and then implements it asynchronously for the qxl device in Native mode. This fixes a hang that is caused when the spice client is also a qemu monitor client and the client is single threaded: io thread worker thread client <---------------------------------------------------- screendump do_screen_dump-> read-------> flush, read client socket-------------> Monitor maintainers: The first patch changes the monitor command to be async. The rest are qxl changes only. Alon Levy (5): monitor: screen_dump async qxl: s/__FUNCTION__/__func__/, change logging levels qxl: support concurrent async commands qxl: split qxl_render_display_resized qxl: support async monitor screen dump console.c | 5 +- console.h | 7 +- hmp-commands.hx | 3 +- hw/g364fb.c | 12 ++- hw/qxl-render.c | 136 ++++++++++++++++++++---------- hw/qxl.c | 236 +++++++++++++++++++++++++++++++++++++-------------- hw/qxl.h | 63 +++++++++++++- hw/vga.c | 7 +- hw/vmware_vga.c | 5 +- monitor.c | 5 +- qmp-commands.hx | 3 +- ui/spice-display.c | 19 ++-- ui/spice-display.h | 7 +- 13 files changed, 363 insertions(+), 145 deletions(-) -- 1.7.7