Skip to contentSkip to conversation

Kemari: XenbusStateAttached handler for blkback

RFC PATCH In review Yoshiaki Tamura 1 participant 1 message Mar 12, 2009 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

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

---
 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
diff -r 0430b1dbfb3a -r e183d2114ea1 drivers/xen/blkback/common.h
@@ -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