mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
char: rename CharDriverState Chardev
Pick a uniform chardev type name. 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>
This commit is contained in:
parent
d5cafc733d
commit
0ec7b3e7f2
80 changed files with 727 additions and 724 deletions
|
@ -3195,7 +3195,7 @@ static void ringbuf_completion(ReadLineState *rs, const char *str)
|
|||
ChardevInfo *chr_info = list->value;
|
||||
|
||||
if (!strncmp(chr_info->label, str, len)) {
|
||||
CharDriverState *chr = qemu_chr_find(chr_info->label);
|
||||
Chardev *chr = qemu_chr_find(chr_info->label);
|
||||
if (chr && qemu_chr_is_ringbuf(chr)) {
|
||||
readline_add_completion(rs, chr_info->label);
|
||||
}
|
||||
|
@ -3985,7 +3985,7 @@ static void __attribute__((constructor)) monitor_lock_init(void)
|
|||
qemu_mutex_init(&monitor_lock);
|
||||
}
|
||||
|
||||
void monitor_init(CharDriverState *chr, int flags)
|
||||
void monitor_init(Chardev *chr, int flags)
|
||||
{
|
||||
static int is_first_init = 1;
|
||||
Monitor *mon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue