Skip to content

Commit

Permalink
xen: Rename xen_be_evtchn_event
Browse files Browse the repository at this point in the history
Prepare xen_be_evtchn_event to be shared with frontends:
 * xen_be_evtchn_event -> xen_pv_evtchn_event

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>
  • Loading branch information
emilcondrea authored and sstabellini committed Oct 29, 2016
1 parent ba18fa2 commit 49442d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hw/xen/xen_backend.c
Expand Up @@ -581,7 +581,7 @@ int xen_be_bind_evtchn(struct XenDevice *xendev)
}
xen_pv_printf(xendev, 2, "bind evtchn port %d\n", xendev->local_port);
qemu_set_fd_handler(xenevtchn_fd(xendev->evtchndev),
xen_be_evtchn_event, NULL, xendev);
xen_pv_evtchn_event, NULL, xendev);
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion hw/xen/xen_pvdev.c
Expand Up @@ -227,7 +227,7 @@ void xen_pv_printf(struct XenDevice *xendev, int msg_level,
qemu_log_flush();
}

void xen_be_evtchn_event(void *opaque)
void xen_pv_evtchn_event(void *opaque)
{
struct XenDevice *xendev = opaque;
evtchn_port_t port;
Expand Down
2 changes: 1 addition & 1 deletion include/hw/xen/xen_pvdev.h
Expand Up @@ -64,7 +64,7 @@ void xenstore_update(void *unused);

const char *xenbus_strstate(enum xenbus_state state);

void xen_be_evtchn_event(void *opaque);
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);
Expand Down

0 comments on commit 49442d9

Please sign in to comment.