Re: [Qemu-devel] [PATCH 2/2] fbdev: add monitor commands to enable/disable/query

2013-06-28 Thread Luiz Capitulino
On Thu, 27 Jun 2013 16:03:48 -0600 Eric Blake wrote: > On 06/27/2013 07:29 AM, Luiz Capitulino wrote: > > On Thu, 27 Jun 2013 12:05:33 +0200 > > Gerd Hoffmann wrote: > > > > +# @device: #optional specifies framebuffer device, default: /dev/fb0 > >>> > >>> Actually, it will try to get the

Re: [Qemu-devel] [PATCH 2/2] fbdev: add monitor commands to enable/disable/query

2013-06-27 Thread Eric Blake
On 06/27/2013 07:29 AM, Luiz Capitulino wrote: > On Thu, 27 Jun 2013 12:05:33 +0200 > Gerd Hoffmann wrote: > +# @device: #optional specifies framebuffer device, default: /dev/fb0 >>> >>> Actually, it will try to get the device name from an env variable first, >>> which sounds too automatic

Re: [Qemu-devel] [PATCH 2/2] fbdev: add monitor commands to enable/disable/query

2013-06-27 Thread Eric Blake
On 06/26/2013 09:56 AM, Luiz Capitulino wrote: > On Wed, 26 Jun 2013 13:38:04 +0200 > Gerd Hoffmann wrote: > >> This patch adds a fbdev monitor command to enable/disable >> the fbdev display at runtime to both qmp and hmp. >> >> +## >> +# @framebuffer-display: > > Let me bike-shed: we're trying

Re: [Qemu-devel] [PATCH 2/2] fbdev: add monitor commands to enable/disable/query

2013-06-27 Thread Luiz Capitulino
On Thu, 27 Jun 2013 12:05:33 +0200 Gerd Hoffmann wrote: > Hi, > > >> --- a/qapi-schema.json > >> +++ b/qapi-schema.json > >> @@ -3608,3 +3608,46 @@ > >> '*cpuid-input-ecx': 'int', > >> 'cpuid-register': 'X86CPURegister32', > >> 'features': 'int' } } > >>

Re: [Qemu-devel] [PATCH 2/2] fbdev: add monitor commands to enable/disable/query

2013-06-27 Thread Gerd Hoffmann
Hi, >> --- a/qapi-schema.json >> +++ b/qapi-schema.json >> @@ -3608,3 +3608,46 @@ >> '*cpuid-input-ecx': 'int', >> 'cpuid-register': 'X86CPURegister32', >> 'features': 'int' } } >> + >> +## >> +# @framebuffer-display: > > Let me bike-shed: we're trying to

Re: [Qemu-devel] [PATCH 2/2] fbdev: add monitor commands to enable/disable/query

2013-06-26 Thread Luiz Capitulino
On Wed, 26 Jun 2013 13:38:04 +0200 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 > hmp: framebuffer-display on|off > > There is also a qu

[Qemu-devel] [PATCH 2/2] fbdev: add monitor commands to enable/disable/query

2013-06-26 Thread Gerd Hoffmann
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 hmp: framebuffer-display on|off There is also a query-framebuffer command for qmp. Signed-off-by: Gerd Hoffmann --- hmp