aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:37 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:43 -0500
commitf69554b9e859f5672afda827a9f8772ff41d0f59 (patch)
tree51f0b0dba5c3f5acbff0827d6e8f9cef59897c00 /qemu-char.h
parent27143a445b99a283b3c6529738ba17aa0271746e (diff)
downloadqemu-f69554b9e859f5672afda827a9f8772ff41d0f59.zip
qemu-f69554b9e859f5672afda827a9f8772ff41d0f59.tar.gz
qemu-f69554b9e859f5672afda827a9f8772ff41d0f59.tar.bz2
char: qemu_chr_open_opts() -> qemu_chr_new_from_opts()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-char.h')
-rw-r--r--qemu-char.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-char.h b/qemu-char.h
index 097f0e6..f90b85c 100644
--- a/qemu-char.h
+++ b/qemu-char.h
@@ -78,7 +78,7 @@ struct CharDriverState {
};
QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename);
-CharDriverState *qemu_chr_open_opts(QemuOpts *opts,
+CharDriverState *qemu_chr_new_from_opts(QemuOpts *opts,
void (*init)(struct CharDriverState *s));
CharDriverState *qemu_chr_new(const char *label, const char *filename, void (*init)(struct CharDriverState *s));
void qemu_chr_fe_set_echo(struct CharDriverState *chr, bool echo);