qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/9] wire up -g <width>x<height> switch for virt


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 0/9] wire up -g <width>x<height> switch for virtio and qxl.
Date: Fri, 24 Feb 2017 14:30:51 +0100

  Hi,

> With this patchset I believe Ben's OS 9 VGA driver could read the
> suggested resolution from the command line via the QEMU extended VGA
> registers,

Yes.

> so I'm wondering if it would make sense to have a similar
> mechanism for passing in a range of resolutions from the local video
> driver that could be offered by the guest driver? Or is the normal guest
> driver behaviour to just offer the standard set of *GA resolutions plus
> whatever custom resolution is supplied via -g?

The linux kms drivers simply use the kernel's mode database, to provide
a list of standard resolutions.  Additionally you also can define your
own resolutions, using xrandr --newmode & --addmode).

If we want go beyond passing a simple "please use <width>y<height>" we
probably should generate a edid block and pass that to the guest, but I
don't see a strong reason to do so.

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]