From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:49240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa62V-00061O-4C for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qa62P-0001o4-8M for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qa62O-0001ne-Qe for qemu-devel@nongnu.org; Fri, 24 Jun 2011 09:03:09 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5OD360l023109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 24 Jun 2011 09:03:06 -0400 From: Alon Levy Date: Fri, 24 Jun 2011 15:02:45 +0200 Message-Id: <1308920577-31569-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH v2] S3&S4 support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: yhalperi@redhat.com, kraxel@redhat.com This is a rewrite of v1, doesn't use any new api, reuses stop+start+destroy_surfaces instead of the previously introduced update_mem spice server function. stop does a flush of all commands, updating all the surfaces, and with destroy surfaces the result is the same - everything has been pushed either to the release ring or to the last_release list. I've sent a bunch of patches that have previously appeared on the list, annotated below. The before last patch actually does the implementation of the two new io's to be added to spice-protocol V10, QXL_IO_FLUSH_SURFACES and QXL_IO_FLUSH_RELEASE. The last patch requires some more attention - see it's commit message. Alon Levy (12): qxl: set mm_time in vga update - previously sent as an RfC qxl: interface_get_command: fix reported mode - fixed with Gerd's comments (print INVALID if not know, used where it seemed appropriate) qxl: add mode to debugprint on destroy primary qxl: allow QXL_IO_LOG also in vga qxl: abort on panic instead of exit qxl-logger: add timestamp to command log qxl: update and add debug prints qxl: add dev id to guest prints qxl: add io_port_to_string qxl: update revision to QXL_REVISION_STABLE_V10 qxl: add QXL_IO_FLUSH_{SURFACES,RELEASE} for guest S3&S4 support qxl: add primary_created state, change mode lifetimes hw/qxl-logger.c | 4 +- hw/qxl.c | 180 ++++++++++++++++++++++++++++++++++++++++++++------- hw/qxl.h | 3 +- ui/spice-display.c | 5 ++ 4 files changed, 165 insertions(+), 27 deletions(-) -- 1.7.5.4