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>
This commit is contained in:
committed by
Stefano Stabellini
parent
ecf7981891
commit
96c77dba6f
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user