[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Passing tap devices to the main module
What I'm guessing in your cryptic error bug report is that you've simply replaced the variable tap0 by the variable tap1 in the config.ml. However, this file is a normal OCaml program, so it needs to be lexically scoped: tap1 is the name of a variable which needs to be created somewhere. The tap0 variable is defined in https://github.com/mirage/mirage/blob/master/lib/mirage.mli#L209. I think in your case you can use (netfif "tap1") instead of tap0. Best, Thomas On 5 Aug 2014, at 16:48, Masoud Koleini <Masoud.Koleini@xxxxxxxxxxxxxxxx> wrote: > Mirage version is 1.2.0 > > The error is: > > Mirage Error: Unbound value tap1 > Mirage Did you mean tap0? > > > On 05/08/14 16:43, Thomas Gazagnaire wrote: >>> I am passing tap0 as a parameter from config to the main module in >>> unikernel.ml. Changing tap0 to tap1 or any other tap device produces an >>> error in compiling config file. How it is possible to pass tap devices >>> other than tap0 from config to the main module? >> Which error do you have ? Which version of mirage are you running ? >> >> >>> Thanks. >>> >>> >>> This message and any attachment are intended solely for the addressee and >>> may contain confidential information. If you have received this message in >>> error, please send it back to me, and immediately delete it. Please do >>> not use, copy or disclose the information contained in this message or in >>> any attachment. Any views or opinions expressed by the author of this >>> email do not necessarily reflect the views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an attachment >>> may still contain software viruses which could damage your computer system, >>> you are advised to perform your own checks. Email communications with the >>> University of Nottingham may be monitored as permitted by UK legislation. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> MirageOS-devel mailing list >>> MirageOS-devel@xxxxxxxxxxxxxxxxxxxx >>> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel > > -- > Masoud Koleini > Research Fellow > Horizon Digital Economy Research > University of Nottingham Innovation Park > Nottingham > NG7 2TU > > This message and any attachment are intended solely for the addressee and may > contain confidential information. If you have received this message in error, > please send it back to me, and immediately delete it. Please do not use, > copy or disclose the information contained in this message or in any > attachment. Any views or opinions expressed by the author of this email do > not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system, > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |