Kemari: XenbusStateAttached handler for blkback
RFC PATCH 10/13 Kemari: XenbusStateAttached handler for blkback
References: <[email protected]>
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
This is an updated version of the following patch. No major changes.
http://lists.xensource.com/archives/html/xen-devel/2009-03/msg00379.html
Signed-off-by Yoshi Tamura <[email protected]>
Signed-off-by Yoshisato Yanagisawa <[email protected]>
--- drivers/xen/blkback/common.h | 2 + drivers/xen/blkback/interface.c | 41 +++++++++++++++++++++++++++ drivers/xen/blkback/xenbus.c | 59 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+)
drivers/xen/blkback/common.h +2 -0
@@ -100,6 +100,8 @@ void blkif_disconnect(blkif_t *blkif);void blkif_disconnect (blkif_t *blkif);void blkif_free (blkif_t *blkif);int blkif_map (blkif_t *blkif,unsigned long shared_page,unsigned int evtchn); +int blkif_attach (blkif_t *blkif,unsigned long shared_page, +unsigned int evtchn);#define blkif_get (_b) (atomic_inc(&(_b)->refcnt))#define blkif_put (_b) \
drivers/xen/blkback/interface.c +41 -0
47 lines not on this page · raw message
drivers/xen/blkback/xenbus.c +59 -0
76 lines not on this page · raw message