mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
bitkeeper revision 1.1159.176.1 (419b77fc7lOGZy3pNuKwE_AZuDPPuQ)
Fix my own mistake. Should pass the backend domain ID.
This commit is contained in:
1 parent
f156522181
commit
51c3a39b69
1 file changed
+1
-2
@@ -104,7 +104,6 @@ class NetDev(controller.SplitDev):
|
||||
self.evtchn = None
|
||||
self.configure(config)
|
||||
self.status = NETIF_INTERFACE_STATUS_DISCONNECTED
|
||||
self.dom = ctrl.dom
|
||||
|
||||
def _get_config_mac(self, config):
|
||||
vmac = sxp.child_value(config, 'mac')
|
||||
@@ -308,7 +307,7 @@ class NetDev(controller.SplitDev):
|
||||
|
||||
def recv_fe_interface_connect(self, val, req):
|
||||
if not req: return
|
||||
self.evtchn = channel.eventChannel(self.dom, self.controller.dom)
|
||||
self.evtchn = channel.eventChannel(self.backendDomain, self.controller.dom)
|
||||
msg = packMsg('netif_be_connect_t',
|
||||
{ 'domid' : self.controller.dom,
|
||||
'netif_handle' : self.vif,
|
||||
|
||||