diff options
| author | Gerd Hoffmann | 2012-10-15 09:28:05 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2013-01-16 06:58:53 +0100 |
| commit | bd2d80b2b75b36955d536564ceb593f5bdae2f12 (patch) | |
| tree | 43bdc5361ea0c487fd0128a916547315cb1d4abd /include/char | |
| parent | qdev: Prepare "realized" property (diff) | |
| download | qemu-bd2d80b2b75b36955d536564ceb593f5bdae2f12.tar.gz qemu-bd2d80b2b75b36955d536564ceb593f5bdae2f12.tar.xz qemu-bd2d80b2b75b36955d536564ceb593f5bdae2f12.zip | |
chardev: add error reporting for qemu_chr_new_from_opts
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/char')
| -rw-r--r-- | include/char/char.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/char/char.h b/include/char/char.h index baa5d035fd..1952a10063 100644 --- a/include/char/char.h +++ b/include/char/char.h @@ -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: |
