aboutsummaryrefslogtreecommitdiff
path: root/include/char
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-10-15 09:28:05 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-01-16 06:58:53 +0100
commitbd2d80b2b75b36955d536564ceb593f5bdae2f12 (patch)
tree43bdc5361ea0c487fd0128a916547315cb1d4abd /include/char
parent249d41720b7dfbb5951b430b9eefdbee7464f515 (diff)
downloadqemu-bd2d80b2b75b36955d536564ceb593f5bdae2f12.zip
qemu-bd2d80b2b75b36955d536564ceb593f5bdae2f12.tar.gz
qemu-bd2d80b2b75b36955d536564ceb593f5bdae2f12.tar.bz2
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/char/char.h b/include/char/char.h
index baa5d03..1952a10 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: