summaryrefslogtreecommitdiff
path: root/hw/xen_console.c
diff options
context:
space:
mode:
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 99ff442f85..8468891614 100644
--- a/hw/xen_console.c
+++ b/hw/xen_console.c
@@ -156,7 +156,7 @@ static void xencons_send(struct XenConsole *con)
size = con->buffer.size - con->buffer.consumed;
if (con->chr)
- len = qemu_chr_write(con->chr, con->buffer.data + con->buffer.consumed,
+ len = qemu_chr_fe_write(con->chr, con->buffer.data + con->buffer.consumed,
size);
else
len = size;