xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Stabellini <sstabellini@kernel.org>
To: peter.maydell@linaro.org
Cc: Quan Xu <xuquan8@huawei.com>,
	sstabellini@kernel.org, qemu-devel@nongnu.org,
	anthony.perard@citrix.com, xen-devel@lists.xenproject.org,
	Emil Condrea <emilcondrea@gmail.com>
Subject: [PULL 13/13] xen: Rename xen_be_del_xendev
Date: Fri, 28 Oct 2016 18:10:13 -0700	[thread overview]
Message-ID: <1477703413-18852-13-git-send-email-sstabellini@kernel.org> (raw)
In-Reply-To: <1477703413-18852-1-git-send-email-sstabellini@kernel.org>

From: Emil Condrea <emilcondrea@gmail.com>

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>
---
 hw/xen/xen_backend.c       | 2 +-
 hw/xen/xen_pvdev.c         | 2 +-
 include/hw/xen/xen_pvdev.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c
index 98fcb77..41ba5c5 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 af29150..405e154 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);
diff --git a/include/hw/xen/xen_pvdev.h b/include/hw/xen/xen_pvdev.h
index 4b1cc60..083f0a9 100644
--- a/include/hw/xen/xen_pvdev.h
+++ b/include/hw/xen/xen_pvdev.h
@@ -66,7 +66,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);
+void xen_pv_del_xendev(struct XenDevice *xendev);
 struct XenDevice *xen_pv_find_xendev(const char *type, int dom, int dev);
 
 void xen_pv_unbind_evtchn(struct XenDevice *xendev);
-- 
1.9.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-10-29  1:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alpine.DEB.2.10.1610281801370.9978@sstabellini-ThinkPad-X260>
2016-10-29  1:10 ` [PULL 01/13] xen: Fix coding style errors Stefano Stabellini
2016-10-29  1:10   ` [PULL 02/13] xen: Fix coding style warnings Stefano Stabellini
2016-10-29  1:10   ` [PULL 03/13] xen: Create a new file xen_pvdev.c Stefano Stabellini
2016-10-29  1:10   ` [PULL 04/13] xen: Move xenstore_update to xen_pvdev.c Stefano Stabellini
2016-10-29  1:10   ` [PULL 05/13] xen: Move evtchn functions " Stefano Stabellini
2016-10-29  1:10   ` [PULL 06/13] xen: Prepare xendev qtail to be shared with frontends Stefano Stabellini
2016-10-29  1:10   ` [PULL 07/13] xen: Move xenstore cleanup and mkdir functions Stefano Stabellini
2016-10-29  1:10   ` [PULL 08/13] xen: Rename xen_be_printf to xen_pv_printf Stefano Stabellini
2016-10-29  1:10   ` [PULL 09/13] xen: Rename xen_be_unbind_evtchn Stefano Stabellini
2016-10-29  1:10   ` [PULL 10/13] xen: Rename xen_be_send_notify Stefano Stabellini
2016-10-29  1:10   ` [PULL 11/13] xen: Rename xen_be_evtchn_event Stefano Stabellini
2016-10-29  1:10   ` [PULL 12/13] xen: Rename xen_be_find_xendev Stefano Stabellini
2016-10-29  1:10   ` Stefano Stabellini [this message]
2016-10-31 13:06 ` [PULL 00/13] xen-20161028-tag Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1477703413-18852-13-git-send-email-sstabellini@kernel.org \
    --to=sstabellini@kernel.org \
    --cc=anthony.perard@citrix.com \
    --cc=emilcondrea@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=xen-devel@lists.xenproject.org \
    --cc=xuquan8@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).