diff options
author | Emil Condrea <emilcondrea@gmail.com> | 2016-10-25 08:50:14 +0300 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2016-10-28 17:53:50 -0700 |
commit | 96c77dba6f1c334d0c38c1fa43b02dbf727d100a (patch) | |
tree | 5f8191bee801fd5b3da30a965b702ca38aa56a57 /hw/char | |
parent | ecf798189133b84ab90d6d96a1eb37f5c9ca444e (diff) | |
download | qemu-96c77dba6f1c334d0c38c1fa43b02dbf727d100a.zip qemu-96c77dba6f1c334d0c38c1fa43b02dbf727d100a.tar.gz qemu-96c77dba6f1c334d0c38c1fa43b02dbf727d100a.tar.bz2 |
xen: Rename xen_be_printf to xen_pv_printf
Prepare xen_be_printf to be used by both backend and frontends:
* xen_be_printf -> xen_pv_printf
Signed-off-by: Emil Condrea <emilcondrea@gmail.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Quan Xu <xuquan8@huawei.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'hw/char')
-rw-r--r-- | hw/char/xen_console.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/char/xen_console.c b/hw/char/xen_console.c index 9ae9558..aa7a27e 100644 --- a/hw/char/xen_console.c +++ b/hw/char/xen_console.c @@ -160,14 +160,14 @@ static void xencons_send(struct XenConsole *con) if (len < 1) { if (!con->backlog) { con->backlog = 1; - xen_be_printf(&con->xendev, 1, + xen_pv_printf(&con->xendev, 1, "backlog piling up, nobody listening?\n"); } } else { buffer_advance(&con->buffer, len); if (con->backlog && len == size) { con->backlog = 0; - xen_be_printf(&con->xendev, 1, "backlog is gone\n"); + xen_pv_printf(&con->xendev, 1, "backlog is gone\n"); } } } @@ -192,7 +192,7 @@ static int con_init(struct XenDevice *xendev) type = xenstore_read_str(con->console, "type"); if (!type || strcmp(type, "ioemu") != 0) { - xen_be_printf(xendev, 1, "not for me (type=%s)\n", type); + xen_pv_printf(xendev, 1, "not for me (type=%s)\n", type); ret = -1; goto out; } @@ -248,7 +248,7 @@ static int con_initialise(struct XenDevice *xendev) qemu_chr_fe_set_handlers(&con->chr, xencons_can_receive, xencons_receive, NULL, con, NULL, true); - xen_be_printf(xendev, 1, + xen_pv_printf(xendev, 1, "ring mfn %d, remote port %d, local port %d, limit %zd\n", con->ring_ref, con->xendev.remote_port, |