From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHYK9-0001qe-HN for qemu-devel@nongnu.org; Mon, 18 Mar 2013 07:33:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHYK1-0001Vx-Hc for qemu-devel@nongnu.org; Mon, 18 Mar 2013 07:33:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHYK0-0001Vl-Lx for qemu-devel@nongnu.org; Mon, 18 Mar 2013 07:33:45 -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 r2IBXh9R018205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Mar 2013 07:33:43 -0400 From: Gerd Hoffmann Date: Mon, 18 Mar 2013 12:33:42 +0100 Message-Id: <1363606422-24962-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 00/18] console: data structures overhaul List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, This pull sorts the qemu console data structures. Current state is that DisplayState is used pretty much everywhere. Which is bad. With this patch series applied it looks like this instead: DisplaySurface Central framebuffer data structure. ui frontents (gtk, sdl, vnc, ...) use this (and *only* this) as data source. QemuConsole Central hardware data structures. Each graphic card gets one, likewise each 'vc' chardev. DisplayState Ties everything together. Private to console.c (well, should be, we are not there yet). This is a prerequisite for cleaning up and improving console.c and also brings us a step closer to multihead support. Patches have been posted for review here: https://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg01961.html There have been no changes, other than a rebase to latest master, so I'm not posting the patches again. please pull, Gerd The following changes since commit 225dc991b03f0f034aa348f5cf499de9d0979107: s390: Fix cpu refactoring fallout. (2013-03-17 20:01:31 +0000) are available in the git repository at: git://git.kraxel.org/qemu pixman.v8 for you to fetch changes up to 1562e53112fd1082c656a06d953a7447ab17e6e1: console: remove ds_get_* helper functions (2013-03-18 10:21:59 +0100) ---------------------------------------------------------------- Gerd Hoffmann (18): console: fix displaychangelisteners interface console: kill DisplayState->opaque spice: zap sdpy global qxl: zap qxl0 global qxl: better vga init in enter_vga_mode sdl: drop dead code console: rework DisplaySurface handling [vga emu side] console: rework DisplaySurface handling [dcl/ui side] console: add surface_*() getters gtk: stop using DisplayState vnc: stop using DisplayState sdl: stop using DisplayState spice: stop using DisplayState cocoa: stop using DisplayState console: zap displaystate from dcl callbacks console: stop using DisplayState in gfx hardware emulation console: zap color_table console: remove ds_get_* helper functions hw/arm/musicpal.c | 20 +- hw/arm/nseries.c | 7 - hw/arm/palm.c | 7 - hw/blizzard.c | 37 ++-- hw/cirrus_vga.c | 22 ++- hw/exynos4210_fimd.c | 17 +- hw/framebuffer.c | 4 +- hw/framebuffer.h | 2 +- hw/g364fb.c | 43 ++-- hw/jazz_led.c | 88 +++++---- hw/milkymist-vgafb.c | 17 +- hw/omap_lcdc.c | 47 +++-- hw/pl110.c | 24 +-- hw/pxa2xx_lcd.c | 39 ++-- hw/qxl-render.c | 21 +- hw/qxl.c | 61 +++--- hw/sm501.c | 34 ++-- hw/ssd0303.c | 17 +- hw/ssd0323.c | 19 +- hw/tc6393xb.c | 28 +-- hw/tc6393xb_template.h | 5 +- hw/tcx.c | 62 +++--- hw/vga-isa-mm.c | 5 +- hw/vga-isa.c | 4 +- hw/vga-pci.c | 4 +- hw/vga.c | 109 +++++----- hw/vga_int.h | 2 +- hw/vmware_vga.c | 107 +++++----- hw/xenfb.c | 57 +++--- include/ui/console.h | 274 +++++++------------------- include/ui/spice-display.h | 9 +- trace-events | 7 +- ui/cocoa.m | 57 ++---- ui/console.c | 470 +++++++++++++++++++++++++------------------- ui/curses.c | 28 ++- ui/gtk.c | 160 ++++++++------- ui/sdl.c | 118 ++++++----- ui/spice-display.c | 81 ++++---- ui/vnc-enc-tight.c | 7 +- ui/vnc-jobs.c | 1 - ui/vnc.c | 143 +++++++------- ui/vnc.h | 4 +- vl.c | 6 +- 43 files changed, 1170 insertions(+), 1104 deletions(-)