diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-12 09:46:23 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-14 17:55:23 +0200 |
commit | d809ab9521ace32a806cdf86ee7df40e1bf88443 (patch) | |
tree | 2eb3a19603ce2f7fa14eb1eff45dc66c9cdb1383 /backends/rng-random.c | |
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>
Diffstat (limited to 'backends/rng-random.c')
0 files changed, 0 insertions, 0 deletions