ia64/xen-unstable

changeset 3019:475a162b66e2 RELEASE-2.0.1

bitkeeper revision 1.1159.176.1 (419b77fc7lOGZy3pNuKwE_AZuDPPuQ)

Fix my own mistake. Should pass the backend domain ID.
author bren@anvil.research
date Wed Nov 17 16:10:36 2004 +0000 (2004-11-17)
parents 9399f56c665d
children f3db24b0b8c9
files tools/python/xen/xend/server/netif.py
line diff
     1.1 --- a/tools/python/xen/xend/server/netif.py	Wed Nov 17 13:45:24 2004 +0000
     1.2 +++ b/tools/python/xen/xend/server/netif.py	Wed Nov 17 16:10:36 2004 +0000
     1.3 @@ -104,7 +104,6 @@ class NetDev(controller.SplitDev):
     1.4          self.evtchn = None
     1.5          self.configure(config)
     1.6          self.status = NETIF_INTERFACE_STATUS_DISCONNECTED
     1.7 -        self.dom = ctrl.dom
     1.8  
     1.9      def _get_config_mac(self, config):
    1.10          vmac = sxp.child_value(config, 'mac')
    1.11 @@ -308,7 +307,7 @@ class NetDev(controller.SplitDev):
    1.12      
    1.13      def recv_fe_interface_connect(self, val, req):
    1.14          if not req: return
    1.15 -        self.evtchn = channel.eventChannel(self.dom, self.controller.dom)
    1.16 +        self.evtchn = channel.eventChannel(self.backendDomain, self.controller.dom)
    1.17          msg = packMsg('netif_be_connect_t',
    1.18                        { 'domid'          : self.controller.dom,
    1.19                          'netif_handle'   : self.vif,