ia64/xen-unstable

changeset 1431:0a5f9f92c571

bitkeeper revision 1.935 (40c082191KRYrcGxH9cNhHpNJYp7Eg)

Temporarily disable backend permission checking - it was stopping dom0
acting as a backend :-(
author maw48@labyrinth.cl.cam.ac.uk
date Fri Jun 04 14:07:21 2004 +0000 (2004-06-04)
parents 24ad109055b6
children 2716b44c7f49
files tools/xend/lib/main.py
line diff
     1.1 --- a/tools/xend/lib/main.py	Thu Jun 03 16:57:49 2004 +0000
     1.2 +++ b/tools/xend/lib/main.py	Fri Jun 04 14:07:21 2004 +0000
     1.3 @@ -199,7 +199,7 @@ def daemon_loop():
     1.4                      xend.blkif.backend_rx_req(port, msg)
     1.5                  elif type == CMSG_NETIF_FE and net_if:
     1.6                      net_if.ctrlif_rx_req(port, msg)
     1.7 -                elif type == CMSG_NETIF_BE and port == xend.netif.be_port:
     1.8 +                elif type == CMSG_NETIF_BE:
     1.9                      xend.netif.backend_rx_req(port, msg)
    1.10                  else:
    1.11                      port.write_response(msg)
    1.12 @@ -211,7 +211,7 @@ def daemon_loop():
    1.13                  type = (msg.get_header())['type']
    1.14                  if type == CMSG_BLKIF_BE and port == dom0_port:
    1.15                      xend.blkif.backend_rx_rsp(port, msg)
    1.16 -                elif type == CMSG_NETIF_BE and port == xend.netif.be_port:
    1.17 +                elif type == CMSG_NETIF_BE:
    1.18                      xend.netif.backend_rx_rsp(port, msg)
    1.19  
    1.20              # Send console data.