mirror of https://gitee.com/openkylin/qemu.git
xen: Rename xen_be_find_xendev
Prepare xen_be_find_xendev to be shared with frontends: * xen_be_find_xendev -> xen_pv_find_xendev 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
49442d9621
commit
fa0253d066
|
@ -988,8 +988,8 @@ void xen_init_display(int domid)
|
|||
wait_more:
|
||||
i++;
|
||||
main_loop_wait(true);
|
||||
xfb = xen_be_find_xendev("vfb", domid, 0);
|
||||
xin = xen_be_find_xendev("vkbd", domid, 0);
|
||||
xfb = xen_pv_find_xendev("vfb", domid, 0);
|
||||
xin = xen_pv_find_xendev("vkbd", domid, 0);
|
||||
if (!xfb || !xin) {
|
||||
if (i < 256) {
|
||||
usleep(10000);
|
||||
|
|
|
@ -114,7 +114,7 @@ static struct XenDevice *xen_be_get_xendev(const char *type, int dom, int dev,
|
|||
{
|
||||
struct XenDevice *xendev;
|
||||
|
||||
xendev = xen_be_find_xendev(type, dom, dev);
|
||||
xendev = xen_pv_find_xendev(type, dom, dev);
|
||||
if (xendev) {
|
||||
return xendev;
|
||||
}
|
||||
|
|
|
@ -264,7 +264,7 @@ int xen_pv_send_notify(struct XenDevice *xendev)
|
|||
|
||||
/* ------------------------------------------------------------- */
|
||||
|
||||
struct XenDevice *xen_be_find_xendev(const char *type, int dom, int dev)
|
||||
struct XenDevice *xen_pv_find_xendev(const char *type, int dom, int dev)
|
||||
{
|
||||
struct XenDevice *xendev;
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ const char *xenbus_strstate(enum xenbus_state state);
|
|||
void xen_pv_evtchn_event(void *opaque);
|
||||
void xen_pv_insert_xendev(struct XenDevice *xendev);
|
||||
void xen_be_del_xendev(struct XenDevice *xendev);
|
||||
struct XenDevice *xen_be_find_xendev(const char *type, int dom, int dev);
|
||||
struct XenDevice *xen_pv_find_xendev(const char *type, int dom, int dev);
|
||||
|
||||
void xen_pv_unbind_evtchn(struct XenDevice *xendev);
|
||||
int xen_pv_send_notify(struct XenDevice *xendev);
|
||||
|
|
Loading…
Reference in New Issue