Hi, Next attempt, this time using device properties (xres and yres) instead of extending the usage of the -g switch, as suggested by paolo. This series has support for virtio, qxl and stdvga. For stdvga the virtual hardware is updated with additional (read-only) registers.
cheers, Gerd Gerd Hoffmann (4): virtio-gpu: add xres and yres properties qxl: add xres and yres properties stdvga: move common properties to common base class [RfC] stdvga: add xres and yres properties. hw/display/qxl.c | 34 ++++++++++++++++------- hw/display/qxl.h | 2 ++ hw/display/vga-pci.c | 63 +++++++++++++++++++++++++++--------------- hw/display/vga_int.h | 6 ++-- hw/display/virtio-gpu.c | 6 ++-- hw/display/virtio-vga.c | 3 +- include/hw/virtio/virtio-gpu.h | 2 ++ 7 files changed, 78 insertions(+), 38 deletions(-) -- 1.8.3.1