Hi, Made a nice patch series out of it, first cleaning up graphics_* variables, then adding support for -g to virtio (just works), qxl (needs guest driver fixes) and stdvga (needs virtual hardware update, and therefore also an guest driver update for obvious reasons).
linux kernel patches to test qxl and stdvga are here: https://www.kraxel.org/cgit/linux/log/?h=qxl-display-size please review & test, Gerd Gerd Hoffmann (9): sysemu: add defines for sparc & ppc graphics_* sparc: use sparc_graphic_* defines ppc: use ppc_graphic_* defines drop arch-specific graphic_* initialization. enable -g command line switch for all archs virtio-gpu: use graphic_* variables. qxl: use graphic_* variables. update -g command line switch documentation [RfC] stdvga: use graphic_* variables. arch_init.c | 11 ----------- hw/display/qxl.c | 32 ++++++++++++++++++++---------- hw/display/vga-pci.c | 52 ++++++++++++++++++++++++++++++++++--------------- hw/display/vga_int.h | 4 ++-- hw/display/virtio-gpu.c | 9 +++++++-- hw/display/virtio-vga.c | 3 ++- hw/ppc/mac_newworld.c | 6 +++--- hw/ppc/mac_oldworld.c | 6 +++--- hw/ppc/prep.c | 10 +++++----- hw/ppc/spapr.c | 6 +++--- hw/sparc/sun4m.c | 36 +++++++++++++++++----------------- include/sysemu/sysemu.h | 7 +++++++ qemu-options.hx | 15 ++++++++++++-- vl.c | 3 +++ 14 files changed, 124 insertions(+), 76 deletions(-) -- 1.8.3.1