aboutsummaryrefslogtreecommitdiff
path: root/hw/xen_console.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:36 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:43 -0500
commit27143a445b99a283b3c6529738ba17aa0271746e (patch)
treebaa70ed7e899e1d08b9c51aeacb488fad6ef6ee3 /hw/xen_console.c
parent15f31519b423747285bdc924ec4138c554076a73 (diff)
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);