Clean up the graphics initialization code to reduce the number of Changes v1 -> v2: * Patches 2-6: Move stub files to stubs/ui/ * Patch 7: Move stubs to qemu-spice.h, as the header file already had a separate section for !CONFIG_SPICE * Removed DT_NOGRAPHIC patches from the series (they will be sent as a separate series)
Eduardo Habkost (7): vl: Add DT_COCOA DisplayType value stubs: VNC initialization stubs stubs: curses_display_init() stub stubs: SDL initialization stubs stubs: cocoa_display_init() stub stubs: gtk_display_init() stub spice: Initialization stubs on qemu-spice.h include/sysemu/sysemu.h | 1 + include/ui/console.h | 4 ++-- include/ui/qemu-spice.h | 13 +++++++++++++ stubs/Makefile.objs | 1 + stubs/ui/Makefile.objs | 5 +++++ stubs/ui/cocoa.c | 10 ++++++++++ stubs/ui/curses.c | 10 ++++++++++ stubs/ui/gtk.c | 10 ++++++++++ stubs/ui/sdl.c | 17 +++++++++++++++++ stubs/ui/vnc.c | 22 ++++++++++++++++++++++ vl.c | 37 ++++++------------------------------- 11 files changed, 97 insertions(+), 33 deletions(-) create mode 100644 stubs/ui/Makefile.objs create mode 100644 stubs/ui/cocoa.c create mode 100644 stubs/ui/curses.c create mode 100644 stubs/ui/gtk.c create mode 100644 stubs/ui/sdl.c create mode 100644 stubs/ui/vnc.c -- 2.1.0