summaryrefslogtreecommitdiff
path: root/hw/xen
diff options
context:
space:
mode:
authorEmil Condrea <emilcondrea@gmail.com>2016-10-25 08:50:19 +0300
committerStefano Stabellini <sstabellini@kernel.org>2016-10-28 17:54:49 -0700
commit71981364b6152e63d0f3098fcdf8b884fa9ffa50 (patch)
treeb59303fcf1d909b8494b8078a534a6c0a45b14d7 /hw/xen
parentfa0253d0664d4041c181b86b06d33088d1691614 (diff)
downloadqemu-71981364b6152e63d0f3098fcdf8b884fa9ffa50.tar.gz
qemu-71981364b6152e63d0f3098fcdf8b884fa9ffa50.tar.bz2
qemu-71981364b6152e63d0f3098fcdf8b884fa9ffa50.zip
xen: Rename xen_be_del_xendev
Prepare xen_be_del_xendev to be shared with frontends: * xen_be_del_xendev -> xen_pv_del_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>
Diffstat (limited to 'hw/xen')
-rw-r--r--hw/xen/xen_backend.c2
-rw-r--r--hw/xen/xen_pvdev.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c
index 98fcb77c9a..41ba5c585a 100644
--- a/hw/xen/xen_backend.c
+++ b/hw/xen/xen_backend.c
@@ -483,7 +483,7 @@ void xenstore_update_be(char *watch, char *type, int dom,
if (xendev != NULL) {
bepath = xs_read(xenstore, 0, xendev->be, &len);
if (bepath == NULL) {
- xen_be_del_xendev(xendev);
+ xen_pv_del_xendev(xendev);
} else {
free(bepath);
xen_be_backend_changed(xendev, path);
diff --git a/hw/xen/xen_pvdev.c b/hw/xen/xen_pvdev.c
index af2915098f..405e15484c 100644
--- a/hw/xen/xen_pvdev.c
+++ b/hw/xen/xen_pvdev.c
@@ -286,7 +286,7 @@ struct XenDevice *xen_pv_find_xendev(const char *type, int dom, int dev)
/*
* release xen backend device.
*/
-void xen_be_del_xendev(struct XenDevice *xendev)
+void xen_pv_del_xendev(struct XenDevice *xendev)
{
if (xendev->ops->free) {
xendev->ops->free(xendev);