Re: [Qemu-devel] [Qemu-ppc][PATCH v5 4/4] spapr: Add support for -vga option

2012-07-08 Thread Benjamin Herrenschmidt
On Sun, 2012-07-08 at 23:08 +0800, Li Zhang wrote: > > Are you sure we want to set these in -nographic or -vga none mode as > well? > > I am not sure about this. > > Ben, would you please give more information about this? Doesn't matter much. They are only useful when there is a vga adapter, the

Re: [Qemu-devel] [Qemu-ppc][PATCH v5 4/4] spapr: Add support for -vga option

2012-07-08 Thread Li Zhang
On Fri, Jul 6, 2012 at 9:50 PM, Alexander Graf wrote: > > On 02.07.2012, at 07:25, zhlci...@gmail.com wrote: > >> From: Li Zhang >> >> Also instanciate the USB keyboard and mouse when that option is used >> (you can still use -device to create individual devices without all >> the defaults) >> >>

Re: [Qemu-devel] [Qemu-ppc][PATCH v5 4/4] spapr: Add support for -vga option

2012-07-06 Thread Andreas Färber
Am 06.07.2012 15:50, schrieb Alexander Graf: > > On 02.07.2012, at 07:25, zhlci...@gmail.com wrote: > >> @@ -712,6 +730,11 @@ static void ppc_spapr_init(ram_addr_t ram_size, >> spapr_vscsi_create(spapr->vio_bus); >> } >> >> +/* Graphics */ >> +if (spapr_vga_init(QLIST_FIRST(&s

Re: [Qemu-devel] [Qemu-ppc][PATCH v5 4/4] spapr: Add support for -vga option

2012-07-06 Thread Alexander Graf
On 02.07.2012, at 07:25, zhlci...@gmail.com wrote: > From: Li Zhang > > Also instanciate the USB keyboard and mouse when that option is used > (you can still use -device to create individual devices without all > the defaults) > > Signed-off-by: Benjamin Herrenschmidt > Signed-off-by: Li Zhan

[Qemu-devel] [Qemu-ppc][PATCH v5 4/4] spapr: Add support for -vga option

2012-07-01 Thread zhlcindy
From: Li Zhang Also instanciate the USB keyboard and mouse when that option is used (you can still use -device to create individual devices without all the defaults) Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Li Zhang --- hw/spapr.c | 29 - 1 file chang