bitkeeper revision 1.935 (40c082191KRYrcGxH9cNhHpNJYp7Eg)
authormaw48@labyrinth.cl.cam.ac.uk <maw48@labyrinth.cl.cam.ac.uk>
Fri, 4 Jun 2004 14:07:21 +0000 (14:07 +0000)
committermaw48@labyrinth.cl.cam.ac.uk <maw48@labyrinth.cl.cam.ac.uk>
Fri, 4 Jun 2004 14:07:21 +0000 (14:07 +0000)
Temporarily disable backend permission checking - it was stopping dom0
acting as a backend :-(

tools/xend/lib/main.py

index 65ba7f2d38eb10323ac30a954dbcbca51ff653fa..90776c11d8ef992027ade3452278b20e091b81ef 100755 (executable)
@@ -199,7 +199,7 @@ def daemon_loop():
                     xend.blkif.backend_rx_req(port, msg)
                 elif type == CMSG_NETIF_FE and net_if:
                     net_if.ctrlif_rx_req(port, msg)
-                elif type == CMSG_NETIF_BE and port == xend.netif.be_port:
+                elif type == CMSG_NETIF_BE:
                     xend.netif.backend_rx_req(port, msg)
                 else:
                     port.write_response(msg)
@@ -211,7 +211,7 @@ def daemon_loop():
                 type = (msg.get_header())['type']
                 if type == CMSG_BLKIF_BE and port == dom0_port:
                     xend.blkif.backend_rx_rsp(port, msg)
-                elif type == CMSG_NETIF_BE and port == xend.netif.be_port:
+                elif type == CMSG_NETIF_BE:
                     xend.netif.backend_rx_rsp(port, msg)
 
             # Send console data.