mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
bitkeeper revision 1.1159.170.42 (419b69c7gX234yN4MLjxZjle-ovjcQ)
Fix my own mistake. Should pass the backend domain ID.
This commit is contained in:
1 parent
477b6911f5
commit
b6a7435a48
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,
|
||||
|
||||