Comments

Hi Antonie,
Antoine Kaufmann wrote:
> Command line switch to disable SDL zoom, because zoom is quite ugly with> window managers that use fixed layouts (like awesomewm). Especially> because there is no possibility to reset the window to the "correct"> size.>
I think this is a valuable feature but I'd prefer to not add another
-sdl-<feature> option. In fact, I'd like to get rid of the existing ones.
I'd suggest that you look at introducing a new -display option. The
syntax would look like this:
-display sdl,frame=off,scaling=off
-display vnc,address=:3,tls
If you use the recently introduced QemuOptions framework, it should be
very straight forward. I would accept an initial patch that just
converted sdl as vnc is a bit more difficult.
The advantages of this approach are numerous beyond just aesthetics.
This would allow these display properties to be manipulated via the -set
option which means that eventually, they'll be tunable via a host
configuration file. It also puts together some interfaces for
supporting multiple graphics cards for guests and multiple display backends.
Regards,
Anthony Liguori

Anthony Liguori, le Thu 27 Aug 2009 19:28:46 -0500, a écrit :
> The advantages of this approach are numerous beyond just aesthetics. > This would allow these display properties to be manipulated via the -set > option which means that eventually, they'll be tunable via a host > configuration file. It also puts together some interfaces for > supporting multiple graphics cards for guests and multiple display backends.
Also, it would permit a geometry parameter for the sdl case, which could
be useful.
Samuel

Hi,
> -display sdl,frame=off,scaling=off> -display vnc,address=:3,tls>> If you use the recently introduced QemuOptions framework, it should be> very straight forward. I would accept an initial patch that just> converted sdl as vnc is a bit more difficult.
FYI: I'm busy looking at switching chardevs to QemuOpts, including the
socket code, which in turn should make it alot easier to switch vnc too.
cheers,
Gerd