News for hackers. Stuff that matters.
Re:Show HN: QEMU front end for M1 and Intel Macs by wolfhumble on Thursday February 25, 2021 @05:30AM (#26261570)
Which parts of QEMU on M1 are hardware accelerated?
Re:Show HN: QEMU front end for M1 and Intel Macs by als0 on Thursday February 25, 2021 @05:47AM (#26261656)
Technically the AArch64 instruction set and the memory system are the only parts that are 'hardware accelerated'. QEMU handles everything else in software.
Re:Show HN: QEMU front end for M1 and Intel Macs by sigjuice on Thursday February 25, 2021 @10:12PM (#26271022)

  $ 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...

Re:Show HN: QEMU front end for M1 and Intel Macs by saagarjha on Thursday February 25, 2021 @05:45AM (#26261646)
Emulation, which goes through a hypervisor. I don’t believe graphics are yet.
Re:Show HN: QEMU front end for M1 and Intel Macs by notaplumber on Thursday February 25, 2021 @09:47AM (#26263252)
Specifically arm64 guests, otherwise it's just QEMU's TCG.