ia64/xen-unstable

changeset 3010:0028a5b33f67

bitkeeper revision 1.1159.170.36 (419b409dgOm9WpCUrkZWaLcFuKDTIw)

Solve hang at net frontend initialization by necessarily passing domain ID to NetDev in xend.
This follows Andy's cset to support backends in unprivileged domains.
author bren@anvil.research
date Wed Nov 17 12:14:21 2004 +0000 (2004-11-17)
parents a38b578f1146
children 15c78c720203
files BitKeeper/etc/ignore tools/python/xen/xend/server/netif.py
line diff
     1.1 --- a/BitKeeper/etc/ignore	Wed Nov 17 02:24:04 2004 +0000
     1.2 +++ b/BitKeeper/etc/ignore	Wed Nov 17 12:14:21 2004 +0000
     1.3 @@ -80,3 +80,7 @@ install/*
     1.4  patches/ebtables-brnf-5_vs_2.4.25.diff
     1.5  patches/ebtables.diff
     1.6  tools/x2d2/minixend
     1.7 +config-xen0
     1.8 +config-xenU
     1.9 +tools/libxc/xc_rrobin.o.OhC796
    1.10 +tools/libxutil/sys_string.o.LcuHtQ
     2.1 --- a/tools/python/xen/xend/server/netif.py	Wed Nov 17 02:24:04 2004 +0000
     2.2 +++ b/tools/python/xen/xend/server/netif.py	Wed Nov 17 12:14:21 2004 +0000
     2.3 @@ -104,6 +104,7 @@ class NetDev(controller.SplitDev):
     2.4          self.evtchn = None
     2.5          self.configure(config)
     2.6          self.status = NETIF_INTERFACE_STATUS_DISCONNECTED
     2.7 +        self.dom = ctrl.dom
     2.8  
     2.9      def _get_config_mac(self, config):
    2.10          vmac = sxp.child_value(config, 'mac')