From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uoa0M-0000Su-OE for qemu-devel@nongnu.org; Mon, 17 Jun 2013 10:02:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uoa0F-0008VU-LA for qemu-devel@nongnu.org; Mon, 17 Jun 2013 10:01:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uoa0F-0008To-3k for qemu-devel@nongnu.org; Mon, 17 Jun 2013 10:01:51 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5HE1obJ007805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Jun 2013 10:01:50 -0400 From: Gerd Hoffmann Date: Mon, 17 Jun 2013 16:01:45 +0200 Message-Id: <1371477707-7039-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RfC PATCH 0/2] new screendump qmp command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: alevy@redhat.com, Gerd Hoffmann , lcapitulino@redhat.com Hi, Just a rough + incomplete draft for now, to show the idea. Series adds a new screendump qmp command. This does (a) allow to specify the device we want dump from, (b) does the actual image writing in a bottom half and (c) sends a qmp event when (not done yet, just a comment for now). It also adds a graphics_hw_update() variant with completion notification (by calling a bottom half). qxl then could stick the pointer to the notification BH into the QXLCookie struct and schedule the BH when spice server finished updating the screen. Gerd Hoffmann (2): display update with notification console: add screendump-device qmp cmd include/ui/console.h | 2 ++ qapi-schema.json | 15 +++++++++++ qmp-commands.hx | 25 +++++++++++++++++++ ui/console.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+) -- 1.7.9.7