ACVM
vftool
ACVM | vftool | |
---|---|---|
11 | 9 | |
148 | 975 | |
- | - | |
0.0 | 0.0 | |
about 3 years ago | 8 days ago | |
C | Objective-C | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ACVM
-
Are there any Virtual Machines that work well with MacOS?
https://github.com/ubenmackin/ACVM is a good free alternative, arguably better than utm. Parallels is unmatched though
-
Running Linux VM on M2 – any experience?
If you want something non-commercial, I've been using ACVM and UTM (UTM exclusively, these days) to run ARM Debian and Ubuntu.
-
Is it possible to dual boot a Debian Linux distribution and macOS on a mac laptop?
If you absolutely need to boot into Debian, booting on Apple Silicon Macs isn't possible currently, and would be up to the Debian community to eventually support. If you'd be willing to use a VM, I've been using ACVM and UTM since I got my M1 in 2020 to run Ubuntu and Debian for ARM. (There's also Parallels Desktop for Apple Silicon which I've personally used for Ubuntu; I can't imagine there's any reason it wouldn't work for Debian for ARM.)
-
virtual machine on m1 chip?
I use (and prefer) ACVM, which is another front end for QEMU which is an open source emulator and virtualization environment that on its own can be a hassle to set up and use (which is why things like ACVM and UTM exist). Try them both and see what you like better. ACVM feels a little faster, for me. UTM is probably likely to be better supported, as we go forward.
-
MacOS basics
You can run other ARM operating systems in virtualization. I've been using ACVM and UTM to run ARM versions of Debian and Ubuntu in QEMU. Running Windows on ARM is still wonky, and largely relies on Microsoft actually providing better support for WOA for virtual machines like Parallels or QEMU. You can't easily boot into Windows or Linux like you could on x86 Macs, but Asahi Linux is working on a version of Linux that will boot on ARM Macs; it's very much in beta. Use at your own risk. (I haven't needed Linux on the bare metal in ages; virtualization works fine for me. YMMV.)
-
MacStudio Virtual Machines
I don't have a Mac Studio yet, but I'd been using ACVM to run ARM builds of Ubuntu and Debian on an M1 MacBook Pro. I've recently switched to UTM, as it seems to be more actively developed.
-
Will virtual machines run on M1 in the future?
This is Ubuntu, running in ACVM: https://www.youtube.com/watch?v=-v8CsVLZRJQ
-
Easiest & free way to install Linux on M1 Mac?
I use Ben Mackin's fork of ACVM over on GitHub, to run ARM versions of Ubuntu.
-
Intel to M1 x86 virtualization for dummies
For Linux on M1, I use ARM Ubuntu in a Qemu VM, which I manage using Ben Mackin's fork of ACVM, available on Github.
-
Anyone tested the new Parallels release on M1? Are Win & Linux working both?
Didn't test, but the release notes mention 3D acceleration for Linux is still not available. So, it depends on your definition of 'working'. You might be better of using https://github.com/ubenmackin/ACVM.
vftool
-
Lima: A nice way to run Linux VMs on Mac
As an alternative, here's a really minimalist command-line wrapper to run VMs in the macOS Virtualization.framework: https://github.com/evansm7/vftool
-
Apple Virtualization Framework
Does vftool use https://developer.apple.com/documentation/virtualization or https://developer.apple.com/documentation/hypervisor ?
https://github.com/evansm7/vftool appears to indicate the former, but I thought the later was required for rosetta so interested to try this.
-
Ask HN: What is your development workflow on the MacBook M1?
The battery life on the MacBook M1 is pretty amazing but not having Virtualbox has been a pain and we are exploring options for our new team. I have mostly worked for companies with actual teams dedicated to providing build tools.
Past attempts to Dockerize all the infrastructure dependencies (e.g. we run our own database and DNS servers) and tying all of that with the build scripts was deemed more effort than its worth so that never quite got going. Maybe its different scratch?
I have tried a bunch of these projects so while interesting I'm not sure about building workflows around them:
https://mac.getutm.app/
https://github.com/KhaosT/SimpleVM
https://github.com/danielrfry/toyvm
https://github.com/evansm7/vftool
https://multipass.run/install
https://github.com/features/codespaces
https://medium.com/@paulrobu/how-to-run-ubuntu-22-04-vms-on-apple-m1-arm-based-systems-for-free-c8283fb38309
I know architecture differences will cause pain, hell here we are already. I think everyone will benefit from crowd sourcing experiences and hopefully we can save each other chunks of life thrown away.
==
What tool do you use to {edit code, build artifacts, run unit tests, deploy artifacts, run e2e tests}
-
How do you like developing on an M1 Mac so far?
VMs work. Qemu is working with patches. You have to build it though. None of the releases seems to be patched yet. There is an early preview of Parallels. Both Linux and Windows on Arm are working. Docker has an early release as well. There are few prebuilt projects on Github too:
https://github.com/evansm7/vftool
-
Show HN: Vmctl/Vmcli – Easily Run Linux VMs on M1 Macs
I needed to add a persistent network configuration (which I didn't really figure out -- I was okay with starting an interface manually. I also had to re-generate the SSH host keys for some reason.
In order to do these, I loaded the image in initramfs (basically started the VM w/o specifying root=/dev/vda as the command line argument). Then I mounted /dev/vda and chroot'd to it. Then I could change the root password to something that I knew, and setup the keys / config.
I also was able to use the Ubuntu kernel/initrd to load a Debian 10 image as well. The default Debian 10 cloud image doesn't include the necessary kernel modules (virtio_console might be the only one necessary to add).
I've spent a few days testing out this and the linked vftool (https://github.com/evansm7/vftool) to try to get a Debian VM. It's not an easy thing, but it did eventually work. I ended up corrupting the disk image though, so that wasn't fun.
In order to do this on my Mac w/o needing a Linux machine, I installed ext4fuse so that I could mount raw disk images and mount partitions. I followed instructions from this GH issue, which was a great help.
https://github.com/evansm7/vftool/issues/2
-
Apple M1 Chip
Late to the party here, but I have an M1 MacBook Air--other commenters mentioned marcan's WIP linux port which if fully realized, I'd expect someone would come up with a way to boot arch on it. Today, Apple provides a couple different APIs for accelerated aarch64 virtualization, and I've gotten several distros working using this tool (which uses the Virtualization.Framework). It's FAST too--haven't run benchmarks or anything but compiling code seems as snappy as my i9-9900k desktop
-
Connection Refused M1 Docker Preview
I'm having the exact same problem. 192.168.64.0/24 seems to be the address space that macOS's virtualization framework uses. (At least, vftool spins up VMs using the same space.)
-
Linux As Vm On M1 Possible
Heres the best guide so far, includes image download links and such: https://github.com/evansm7/vftool/issues/2#issuecomment-735455161
What are some alternatives?
SimpleVM - Sample code for Virtualization framework
UTM - Virtual machines for iOS and macOS
sdl12-compat - Cogmind-specific patches for: An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
lima - Linux virtual machines, with a focus on running containers
vmcli - A set of utilities (vmcli + vmctl) for macOS Virtualization.framework
macpine - Lightweight Linux VMs on MacOS
auto-unlocker - Unlocker for VMWare macOS
orbstack - Fast, light, simple Docker containers & Linux machines for macOS
Docker-OSX - Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
intellimacs - Spacemacs' like key bindings for IntelliJ platform.
OPS - ops - build and run nanos unikernels