|
From: | Konrad Hinsen |
Subject: | Re: Guix on macOS |
Date: | Fri, 13 Oct 2017 15:59:05 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 13/10/2017 14:55, Ludovic Courtès wrote:
If macOS had a similar feature, that’d be perfect: we wouldn’t have anything to do. Perhaps Docker-for-Mac actually provides something close to that? I really don’t know.
Docker for Mac uses the macOS user-space virtualization facilities (via xhyve: https://github.com/mist64/xhyve) to run a standard Linux kernel.
Targeting xhyve is an approach worth exploring in my opinion. It looks feasible to generate all the required files via "guix system", using nothing but tools that are already there. In fact, all it takes is some repackaging because xhyve cannot (yet?) boot from a bootable disk image.
Advantage compared to VirtualBox: access to macOS file systems from the guest (which VirtualBox can only achieve via non-free extension code).
Advantage compared to qemu: better performance, access to macOS filesystems from the guest.
On the other hand, it is not obvious if there is a significant advantage compared to just running Guix in a Docker container (which I haven't tried yet).
Konrad.
[Prev in Thread] | Current Thread | [Next in Thread] |