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)
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.