On 01/05/2017 10:53 AM, 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() used to have a
> temporary VirtualConsole to save the echo bit. Instead now, we consider
> whether vcd->console is set or not, and restore the echo bit saved in
> VCDriverState when calling gd_vc_vte_init().
> 
> The casts added are temporary, they are replaced with QOM type-safe
> macros in a later patch in this series.

Thanks; that commit message addition helps.

> 
> Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
> Reviewed-by: Eric Blake <ebl...@redhat.com>

R-b stands.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to