diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-10-21 22:38:41 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-01-27 18:07:59 +0100 |
commit | ad5c679c7f4c10cc1bf4899ee2dfba08cc383f13 (patch) | |
tree | 7ff650b5ae1842470469f45e6da7b3902336aca7 /monitor.c | |
parent | acbfbe4a060442122ca099122e60a191d0715d41 (diff) | |
download | qemu-ad5c679c7f4c10cc1bf4899ee2dfba08cc383f13.zip qemu-ad5c679c7f4c10cc1bf4899ee2dfba08cc383f13.tar.gz qemu-ad5c679c7f4c10cc1bf4899ee2dfba08cc383f13.tar.bz2 |
char: introduce generic qemu_chr_get_kind()
This allows to remove the "is_mux" field from CharDriverState.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3196,7 +3196,7 @@ static void ringbuf_completion(ReadLineState *rs, const char *str) if (!strncmp(chr_info->label, str, len)) { CharDriverState *chr = qemu_chr_find(chr_info->label); - if (chr && chr_is_ringbuf(chr)) { + if (chr && qemu_chr_is_ringbuf(chr)) { readline_add_completion(rs, chr_info->label); } } |