From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDOIl-00016k-I2 for qemu-devel@nongnu.org; Thu, 18 Dec 2008 14:12:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDOIk-00015c-5Z for qemu-devel@nongnu.org; Thu, 18 Dec 2008 14:12:50 -0500 Received: from [199.232.76.173] (port=42126 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDOIj-00015R-U3 for qemu-devel@nongnu.org; Thu, 18 Dec 2008 14:12:50 -0500 Received: from smtp.eu.citrix.com ([62.200.22.115]:28473) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LDOIj-0004R9-On for qemu-devel@nongnu.org; Thu, 18 Dec 2008 14:12:49 -0500 Message-ID: <494AA0B2.8070702@eu.citrix.com> Date: Thu, 18 Dec 2008 19:12:50 +0000 From: Stefano Stabellini MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0 of 7] DisplayState interface change Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi all, this is the forth update of the "DisplayState interface change" series. This update fixes the few remaining issue raised last time. The series is made of 7 patches: 1) accessors again some other substitutions in hw/sm501.c; 2) remove bgr the new DisplayState interface does not contain any host specific display detail, it is an abstraction of the backend display, hence we don't need to memorize the bgr flag in DisplayState. The frontend must be able to handle a bgr display by itself, in fact sdl is perfectly capable of that; 3) DisplayState interface change this is the big patch that actually changes the interface; 4) vnc improvements this patch introduces DisplaySurfaces in vnc, simplifying the code. 5) graphical_console_init change this is the patch that changes the graphical_console_init function to return an allocated DisplayState instead of a QEMUConsole, as Anthony suggested. This patch does *not* include any required changes to any devices, these changes come with the two following patches. 6) machine changes this patch changes the QEMUMachine init functions of all the machine types not to take a DisplayState as an argument because is not needed any more; 7) graphic device changes this patch updates the graphic device code to use the new graphical_console_init function. Patch number 5 requires also 6 and 7 to compile. More comments on single patches. Cheers, Stefano