mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
chardev: ChardevClass: consistent naming for handlers
Most handlers have name prefixed with "chr_". That's a good practice which helps to grep them. Convert the rest: .parse, .open, get/set_msgfds. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20260115144606.233252-4-vsementsov@yandex-team.ru>
This commit is contained in:
committed by
Marc-André Lureau
parent
2a545fd851
commit
6b4f8e7488
@@ -244,7 +244,7 @@ static void char_gdb_class_init(ObjectClass *oc, const void *data)
|
||||
ChardevClass *cc = CHARDEV_CLASS(oc);
|
||||
|
||||
cc->internal = true;
|
||||
cc->open = gdb_monitor_open;
|
||||
cc->chr_open = gdb_monitor_open;
|
||||
cc->chr_write = gdb_monitor_write;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user