Lurker News

Comments (122) 35 threads

Earlier comments
Exuma3 replies#
I thought virtualization doesn't work with M1? Like docker and such... did something change?
saagarjha#
A12Z didn’t do virtualization. M1 does it fine.
eyelidlessness1 reply#
It's understandable you may have missed some information, so to correct the record (and ensure other readers are aware), Apple highlighted virtualization in their announcement of M1, specifically highlighting Linux. It's been supported from the moment it was public.
Exuma2 replies#
Well WTF... I know 100% for a fact I saw this somewhere, that's why I didn't buy one............. can you think of what the article I read might have been referencing? It might have even been a huge thread on HN how developers/programmers were waiting a year+ to buy it until certain things were supported.
eyelidlessness#
I think maybe you saw a bunch of FUD? I’ve seen a ton on here.

There was also a lot of speculation that Apple would quash booting other OSes, and maybe that got into the mix?
FWIW I’m a lifelong Apple user and even if I had the budget I’d hold off a year on ARM Macs, because I’ve learned to avoid first revision models in general.

acdha1 reply#
There were two common misunderstandings which were widely promulgated people whose confidence exceeded their actual knowledge:

1. The developer preview systems didn't support it, but that was because they used the older A12X chip. Lots of people spread that on social media as this not working on ARM at all.
2. Docker for Mac did not have ARM support at launch. Docker does have full ARM support so this was just a function of needing time to develop the desktop app (and not having access to the M1 hardware much ahead of anyone else) but some people panicked and portrayed this as something which would require a huge amount of work. There's a preview release out now: https://docs.docker.com/docker-for-mac/apple-m1/

Continue this thread — 1 reply

AshleighBasil1 reply#
I use Parallels. What is the benefit of QEMU compared to Parallels?
osy#
It’s FOSS :) other than that, Parallels only does virtualization and does it really well. UTM/QEMU does virtualization not-as-well-but-still-pretty-good in addition to emulation.
mikkelam2 replies#
How is the x86 performance on say windows and linux?
osy#
Do you mean the emulation performance on M1? In my experience Windows XP is “usable” and Windows 7 feels like a 10 year old desktop running with a spinning drive.
notaplumber#
Linux arm64/Windows 10 ARM should be near native, minus graphics acceleration. x86 will be about as slow as you would expect with QEMU. Pretty slow.

There is no hardware assisted virtualization for x86 on ARM.

wolfhumble4 replies#
Which parts of QEMU on M1 are hardware accelerated?
saagarjha#
Emulation, which goes through a hypervisor. I don’t believe graphics are yet.
als0#
Technically the AArch64 instruction set and the memory system are the only parts that are 'hardware accelerated'. QEMU handles everything else in software.
notaplumber#
Specifically arm64 guests, otherwise it's just QEMU's TCG.
sigjuice#

  $ nm /Applications/UTM.app/Contents/Frameworks/libqemu-aarch64-softmmu.utm.dylib  | grep -i hv_
                 U _hv_vcpu_create
                 U _hv_vcpu_destroy
                 U _hv_vcpu_get_reg
                 U _hv_vcpu_get_sys_reg
                 U _hv_vcpu_run
                 U _hv_vcpu_set_pending_interrupt
                 U _hv_vcpu_set_reg
                 U _hv_vcpu_set_sys_reg
                 U _hv_vcpu_set_vtimer_mask
                 U _hv_vcpus_exit
                 U _hv_vm_create
                 U _hv_vm_map
                 U _hv_vm_protect
                 U _hv_vm_unmap

https://github.com/utmapp/qemu/tree/apple-silicon

https://developer.apple.com/documentation/hypervisor/apple_s...

Load more comments