commit | d809ab9521ace32a806cdf86ee7df40e1bf88443 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Oct 12 09:46:23 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 14 17:55:23 2015 +0200 |
tree | 2eb3a19603ce2f7fa14eb1eff45dc66c9cdb1383 | |
parent | eaeba65304d9666309f246849adf1eff217b9868 [diff] |
qemu-char: cleanup HAVE_CHARDEV_* 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. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>