Re: [Qemu-devel] [PATCH 08/54] char: allocate CharDriverState as a single object

2017-01-04 Thread Eric Blake
On 01/04/2017 03:09 PM, Marc-André Lureau wrote: > Hi > > On Wed, Jan 4, 2017 at 9:26 PM Eric Blake wrote: > >> On 12/12/2016 04:42 PM, Marc-André Lureau wrote: >>> Use a single allocation for CharDriverState, this avoids extra >>> allocations & pointers, and is a step towards more object-orient

Re: [Qemu-devel] [PATCH 08/54] char: allocate CharDriverState as a single object

2017-01-04 Thread Marc-André Lureau
Hi On Wed, Jan 4, 2017 at 9:26 PM Eric Blake wrote: > On 12/12/2016 04:42 PM, Marc-André Lureau wrote: > > Use a single allocation for CharDriverState, this avoids extra > > allocations & pointers, and is a step towards more object-oriented > > CharDriver. > > > > Gtk console is a bit peculiar,

Re: [Qemu-devel] [PATCH 08/54] char: allocate CharDriverState as a single object

2017-01-04 Thread Eric Blake
On 12/12/2016 04:42 PM, Marc-André Lureau wrote: > Use a single allocation for CharDriverState, this avoids extra > allocations & pointers, and is a step towards more object-oriented > CharDriver. > > Gtk console is a bit peculiar, gd_vc_chr_set_echo Truncated paragraph? > Signed-off-by: Marc-An

[Qemu-devel] [PATCH 08/54] char: allocate CharDriverState as a single object

2016-12-12 Thread Marc-André Lureau
Use a single allocation for CharDriverState, this avoids extra allocations & pointers, and is a step towards more object-oriented CharDriver. Gtk console is a bit peculiar, gd_vc_chr_set_echo Signed-off-by: Marc-André Lureau --- backends/baum.c | 23 ++--- backends/msmouse.c| 16 +--