WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] event notify during netfront and netback setup in Xen3.1

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] event notify during netfront and netback setup in Xen3.1
From: "Zang Hongyong" <zanghongyong@xxxxxxxxxx>
Date: Fri, 13 Jun 2008 08:57:39 +0800
Delivery-date: Thu, 12 Jun 2008 17:58:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi
In Xen3.1 source
when setup
  netfront: when netback changed XenBusState to InitWait, fuction 
network_connect() called
            in network_connect(),notify_remote_via_irq() was called, which 
gives netback a kick.
            then netfront changed Xenbusstate to Connected

  but at the same time, netback has not bind its eventchannel to netfront 
domain's event?
  so how could this happen, when netback receive event from netfront domain? 

ps:
The event bind happens when netfront Connected, netback calls connect() 
-->connect_rings() -->netif_map() . And later changed XenbusState to Connected.
After all Connected, netback and netfront setup over and begin tx and rx in 
common.



Zang Hongyong
zanghongyong@xxxxxxxxxx
2008-06-13


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>