mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00
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:
parent
ecf7981891
commit
96c77dba6f
10 changed files with 117 additions and 117 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue