https://www.naut.ca/blog/2021/12/09/arm64-vm-on-macos-with-l...
And this is the script to force QEMU to run on the M1 efficiency cores to save battery life:
https://github.com/yoonsikp/vm_configs/blob/master/power_sav...
https://www.naut.ca/blog/2021/12/09/arm64-vm-on-macos-with-l...
And this is the script to force QEMU to run on the M1 efficiency cores to save battery life:
https://github.com/yoonsikp/vm_configs/blob/master/power_sav...
So then, I could be running virt-manager and manage VMs on an M1? That would slide nicely into my existing virt-manager usage. But, not with a soldered-in SSD. I tend to keep machines running a LONG time, and I'd hate to pitch an otherwise perfectly-good machine because the SSD wore out and couldn't be replaced. The "expensive disposable" situation with cell phones is bad enough, let's not have this in our PCs as well.
As a counterpoint, the only SSDs I've ever had fail on me were some early OCZ units (big surprise), but I still check the SMART data on drives I'm using and see the wear indicators slowly advancing. I keep stuff backed up on ZFS spinning rust.
Coming from Windows, Vagrant & Virtualbox to a M1 Mac I'm looking to find an easy way to manage multiple VMs for developing different projects.
qemu-system-aarch64 -M virt,accel=hvf -smp cores=2 -m 4G -cpu host -bios ../QEMU_EFI.fd -device ramfb -device nec-usb-xhci -device usb-kbd -device usb-tablet -drive if=none,file=Windows.vhdx,id=windows -device nvme,serial=1234,drive=windows
And for networking, use the virtio drivers for Windows, after installing those, you can remove usb and switch to -device virtio-keyboard -device virtio-tablet for input too.If you hadn't, I probably wouldn't have had any reason to try it!