summaryrefslogtreecommitdiff
path: root/xen-common.c
diff options
context:
space:
mode:
authorEmil Condrea <emilcondrea@gmail.com>2016-10-25 08:50:14 +0300
committerStefano Stabellini <sstabellini@kernel.org>2016-10-28 17:53:50 -0700
commit96c77dba6f1c334d0c38c1fa43b02dbf727d100a (patch)
tree5f8191bee801fd5b3da30a965b702ca38aa56a57 /xen-common.c
parentecf798189133b84ab90d6d96a1eb37f5c9ca444e (diff)
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 'xen-common.c')
-rw-r--r--xen-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen-common.c b/xen-common.c
index e641ad1aef..909976071c 100644
--- a/xen-common.c
+++ b/xen-common.c
@@ -116,12 +116,12 @@ static int xen_init(MachineState *ms)
{
xen_xc = xc_interface_open(0, 0, 0);
if (xen_xc == NULL) {
- xen_be_printf(NULL, 0, "can't open xen interface\n");
+ xen_pv_printf(NULL, 0, "can't open xen interface\n");
return -1;
}
xen_fmem = xenforeignmemory_open(0, 0);
if (xen_fmem == NULL) {
- xen_be_printf(NULL, 0, "can't open xen fmem interface\n");
+ xen_pv_printf(NULL, 0, "can't open xen fmem interface\n");
xc_interface_close(xen_xc);
return -1;
}