Skip to contentSkip to conversation

Kemari: XenbusStateAttached handler for netback

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 11/13 Kemari: XenbusStateAttached handler for netback

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/msg00380.html

---
 drivers/xen/netback/common.h    |    2
 drivers/xen/netback/interface.c |   58 +++++++++++++++++++++
 drivers/xen/netback/xenbus.c    |  109 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 169 insertions(+)
drivers/xen/netback/common.h +2 -0
diff -r 0430b1dbfb3a -r e183d2114ea1 drivers/xen/netback/common.h
@@ -185,6 +185,8 @@ netif_t *netif_alloc(domid_t domid, unsi
 netif_t *netif_alloc(domid_t domid, unsigned int handle);
 int netif_map(netif_t *netif, unsigned long tx_ring_ref,
 	      unsigned long rx_ring_ref, unsigned int evtchn);
+int netif_attach(netif_t *netif, unsigned long tx_ring_ref,
+		 unsigned long rx_ring_ref, unsigned int evtchn);
 
 #define netif_get(_b) (atomic_inc(&(_b)->refcnt))
 #define netif_put(_b)						\
drivers/xen/netback/interface.c +58 -0

64 lines not on this page · raw message

drivers/xen/netback/xenbus.c +109 -0

133 lines not on this page · raw message