Hi,

> Yes, we should have an easy way for machine to allow, in addition to -M
> graphics=BOOLEAN, the structured property -M
> graphics.{width,height,depth,enabled}. Then '-g' can desugar to -M
> graphics.width=WW,graphics.height=HH,graphics.depth=BB.
> 
> > It is also used to set TYPE_NUBUS_MACFB properties in hw/m68k/q800.c.
> > Here i suppose we could directly use '-global nubus-macfb.width=value'
> > etc. although I'm not sure it is the recommended way.
> > > Should we start deprecating '-g' as a whole?
> 
> Only if it's unused/useless.  If the option is useful it could also be used
> for EDID, for example (adding Gerd).

Most but not all display devices have xres + yres properties which are
communicated to the guest some way.  In case of the stdvga it's edid
indeed.  So, yes, having '-g WxH' set these properties makes sense.  The
depth can not be configured though.

take care,
  Gerd


Reply via email to