On 10/12/2015 02:03 AM, Paolo Bonzini wrote:
> Move the #ifdef up into qmp_chardev_add, and avoid duplicating
> the code that reports unavailable backends.  Split HAVE_CHARDEV_TTY
> into HAVE_CHARDEV_SERIAL and HAVE_CHARDEV_PTY.
> 
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  qemu-char.c | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/qemu-char.c b/qemu-char.c
> index f51c0aa..7219d56 100644
> --- a/qemu-char.c

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
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