mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
chardev: add error reporting for qemu_chr_new_from_opts
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
249d41720b
commit
bd2d80b2b7
3 changed files with 23 additions and 13 deletions
|
@ -89,7 +89,8 @@ struct CharDriverState {
|
|||
* Returns: a new character backend
|
||||
*/
|
||||
CharDriverState *qemu_chr_new_from_opts(QemuOpts *opts,
|
||||
void (*init)(struct CharDriverState *s));
|
||||
void (*init)(struct CharDriverState *s),
|
||||
Error **errp);
|
||||
|
||||
/**
|
||||
* @qemu_chr_new:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue