diff options
Diffstat (limited to 'include/char/char.h')
-rw-r--r-- | include/char/char.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/char/char.h b/include/char/char.h index 2e24270895..afe002498e 100644 --- a/include/char/char.h +++ b/include/char/char.h @@ -245,6 +245,8 @@ CharDriverState *qemu_chr_find(const char *name); QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename); void register_char_driver(const char *name, CharDriverState *(*open)(QemuOpts *)); +void register_char_driver_qapi(const char *name, int kind, + void (*parse)(QemuOpts *opts, ChardevBackend *backend, Error **errp)); /* add an eventfd to the qemu devices that are polled */ CharDriverState *qemu_chr_open_eventfd(int eventfd); |