From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwamp-0002E1-Ph for qemu-devel@nongnu.org; Wed, 11 Nov 2015 14:10:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zwamm-0006Xr-FU for qemu-devel@nongnu.org; Wed, 11 Nov 2015 14:10:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwamm-0006Xd-A4 for qemu-devel@nongnu.org; Wed, 11 Nov 2015 14:10:24 -0500 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 (Postfix) with ESMTPS id 905C13D497 for ; Wed, 11 Nov 2015 19:10:22 +0000 (UTC) From: Eduardo Habkost Date: Wed, 11 Nov 2015 17:09:04 -0200 Message-Id: <1447268956-27500-1-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 00/12] vl: graphics stubs + #ifdef cleanup, eliminate some global vars List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini * Clean up the graphics initialization code to reduce the number of #ifdefs; * Remove the display_type =3D=3D DT_NOGRAPHIC checks from hardware emulation code; * Make the display_type global variable a local variable on main(); * Make the display_remote static variable a local variable on main(). Eduardo Habkost (12): vl: Add DT_COCOA DisplayType value stubs: Add VNC initialization stubs stubs: curses_display_init() stub stubs: SDL initialization stubs stubs: cocoa_display_init() stub stubs: gtk_display_init() stub stubs: spice initialization stubs milkymist: Move DT_NOGRAPHIC check outside milkymist_tmu2_create() vl: Replace DT_NOGRAPHIC with MachineState field vl: Make display_type a local variable vl: Move DisplayType typedef to vl.c vl: Make display_remote a local variable hw/lm32/milkymist-hw.h | 4 ---- hw/lm32/milkymist.c | 4 +++- hw/nvram/fw_cfg.c | 6 +++-- hw/sparc/sun4m.c | 2 +- include/hw/boards.h | 1 + include/sysemu/sysemu.h | 11 --------- include/ui/console.h | 4 ++-- stubs/Makefile.objs | 5 ++++ stubs/cocoa.c | 10 ++++++++ stubs/curses.c | 10 ++++++++ stubs/gtk.c | 10 ++++++++ stubs/sdl.c | 17 +++++++++++++ stubs/spice.c | 13 ++++++++++ stubs/vnc.c | 22 +++++++++++++++++ vl.c | 63 +++++++++++++++++++------------------------= ------ 15 files changed, 122 insertions(+), 60 deletions(-) create mode 100644 stubs/cocoa.c create mode 100644 stubs/curses.c create mode 100644 stubs/gtk.c create mode 100644 stubs/sdl.c create mode 100644 stubs/spice.c create mode 100644 stubs/vnc.c --=20 2.1.0