Closed zchee closed 7 years ago
/cc @dlorenc @r2d4 Please test it if you have time. If you can't build with any problems, I will upload pre-compile binary.
I've been trying to build but running into problems with homebrew/opam. I'll keep trying today.
-> ls ~/.minikube/machines/minikube/minikube.qcow2
/Users/mrick/.minikube/machines/minikube/minikube.qcow2
Works with minikube on my machine! 👍
Feel free to merge :) @r2d4 tested and it works for him :)
@dlorenc I see :) I will merge it after the fix some issue(go test, travis build).
@r2d4 and, Thanks for test! It might be difficult to build from source because of OCaml dependency, so I will release pre-build binary as soon as possible.
Support QEMU qcow2 disk image format use zchee/go-qcow2.
preadv
/pwritev
support (with mirage/ocaml-qcow block write).syso
build.ml
->.cmx
->.o
->.syso
-> cgoDocker.qcow2
qcow2 option65536
false
(off)false
(no encryption)true
(on)diskimageFooter
/efipartfooter
[]byte
hardcoded "SFH ...disk image
" "EFI PART
" magic stringstrings /path/to/qcow2image.qcow2
or any binary editorbuild
Install
ocaml-qcow
:https://github.com/docker/hyperkit#building
make
GO_BUILD_TAG='lib9p qcow2' make V=1
check
make test-bindings
ornm bin/docker-machine-driver-xhyve | grep _l9p_server_init
nm bin/docker-machine-driver-xhyve | grep _camlMirage_block__code_begin