summaryrefslogtreecommitdiffstats
path: root/hw/xen_console.c
diff options
context:
space:
mode:
authorAnthony Liguori2011-08-15 18:17:36 +0200
committerAnthony Liguori2011-08-22 17:17:43 +0200
commit27143a445b99a283b3c6529738ba17aa0271746e (patch)
treebaa70ed7e899e1d08b9c51aeacb488fad6ef6ee3 /hw/xen_console.c
parentchar: rename qemu_chr_set_echo() -> qemu_chr_fe_set_echo() (diff)
downloadqemu-27143a445b99a283b3c6529738ba17aa0271746e.tar.gz
qemu-27143a445b99a283b3c6529738ba17aa0271746e.tar.xz
qemu-27143a445b99a283b3c6529738ba17aa0271746e.zip
char: rename qemu_chr_open() -> qemu_chr_new()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/xen_console.c')
-rw-r--r--hw/xen_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen_console.c b/hw/xen_console.c
index 8468891614..5789bd09a5 100644
--- a/hw/xen_console.c
+++ b/hw/xen_console.c
@@ -202,7 +202,7 @@ static int con_init(struct XenDevice *xendev)
con->chr = serial_hds[con->xendev.dev];
} else {
snprintf(label, sizeof(label), "xencons%d", con->xendev.dev);
- con->chr = qemu_chr_open(label, output, NULL);
+ con->chr = qemu_chr_new(label, output, NULL);
}
xenstore_store_pv_console_info(con->xendev.dev, con->chr);