Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mirage/mirage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8ffcee6c68ef
Choose a base ref
...
head repository: mirage/mirage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dab89f8d0aaf
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 9, 2015

  1. Update Changes

    Drup committed Nov 9, 2015
    Copy the full SHA
    e577cd5 View commit details
  2. Merge pull request #465 from Drup/master

    Update Changes
    avsm committed Nov 9, 2015
    Copy the full SHA
    dab89f8 View commit details
Showing with 33 additions and 0 deletions.
  1. +33 −0 CHANGES.md
33 changes: 33 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
### NEXT

The mirage tool is now based on functoria. (#441 #450, by @drup @samoht)
See https://blogpost for full details.

* Command line interface: The config file must be passed with the -f option
(instead of being just an argument).
* Two new generic combinators are available, generic_stack and generic_kv_ro.
* `get_mode` is deprecated. You should use keys instead. And in particular
`Key.target` and `Key.is_xen`.
* `add_to_ocamlfind_libraries` and `add_to_opam_packages` are deprecated. Both
the `foreign` and the `register` functions now possess the `~libraries` and
`~packages` arguments to specify libraries dependencies.

* If you were using `tls` without the conduit combinator, you will be
greeted during configuration by a message like this:
```
The "nocrypto" library is loaded but entropy is not enabled!
Please enable the entropy by adding a dependency to the nocrypto device.
You can do so by adding ~deps:[abstract nocrypto] to the arguments of Mirage.foreign.
```
Data dependencies (such as entropy initialization) are now explicit.
In order to fix this, you need to declare the dependency like so:
```ocaml
open Mirage
let my_functor =
let deps = [abstract nocrypto] in
foreign ~deps "My_Functor" (foo @-> bar)
```
`My_functor.start` will now take an extra argument for each
dependencies. In the case of nocrypto, this is `()`.

### 2.6.1 (2015-09-08)

* Xen: improve the .xl file generation. We now have