On 06/06/2013 04:37 PM, Gerd Hoffmann wrote: > This patch adds a fbdev monitor command to enable/disable > the fbdev display at runtime to both qmp and hmp. > > qmp: framebuffer-display enable=on|off scale=on|off device=/dev/fb<n> > hmp: framebuffer-display on|off > > Signed-off-by: Gerd Hoffmann <[email protected]> > ---
> +++ b/qapi-schema.json
> @@ -3618,3 +3618,23 @@
> '*cpuid-input-ecx': 'int',
> 'cpuid-register': 'X86CPURegister32',
> 'features': 'int' } }
> +
> +##
> +# @framebuffer-display:
> +#
> +# Enable/disable linux console framebuffer display.
> +#
> +# @enable: whenever the framebuffer display should be enabled or disabled.
s/whenever/whether/
> +#
> +# @scale: #optional enables display scaling, default: off
> +#
> +# @device: #optional specifies framebuffer device, default: /dev/fb0
> +#
> +# Returns: Nothing.
> +#
> +# Since: 1.6
> +#
> +##
> +{ 'command': 'framebuffer-display', 'data': {'enable' : 'bool',
> + '*scale' : 'bool',
> + '*device' : 'str' } }
I'm not a fan of write-only interfaces. Where is the corresponding
query- command that tells me the current settings?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
