Skip to content
This repository was archived by the owner on Nov 28, 2017. It is now read-only.
This repository was archived by the owner on Nov 28, 2017. It is now read-only.

Custom vif setup script not working with mirage-net-xen 1.4.1 #14

Description

@MagnusS

For jitsu we use a faster vif setup script (available here and in C here) instead of the default in /etc/xen/scripts/vif-bridge. With mirage-net-xen version 1.4.1 they stopped working. Downgrading to 1.4.0 fixes the problem.

The unikernel hangs after "MAC: ..." :

Netif: add resume hook
Netif.connect 0
Netfront.create: id=0 domid=0
MAC: 00:16:3e:00:9f:c4

This is in xenstore:

 vif = ""
  0 = ""
   backend = "/local/domain/0/backend/vif/2/0"
   backend-id = "0"
   state = "4"
   handle = "0"
   mac = "00:16:3e:00:9f:c4"
   tx-ring-ref = "9"
   rx-ring-ref = "8"
   event-channel = "4"
   request-rx-copy = "1"
   feature-rx-notify = "1"
   feature-sg = "1"

As the default script works I guess the problem is in the custom scripts, but I'm not sure what should be added to them to fix it. Any suggestions? /cc @djs55

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions