Live data from Hacker News

QEMU 10.1.0

wiki.qemu.org

11–20 of 61 posts

Re: QEMU 10.1.0

#11
> Experimental support for compiling to WASM using Emscripten.

Neat. This will unlock various online "playgrounds" for a number of CPU architectures, among other interesting use cases.

Likely this was possible beforehand, but it's nice to see it added as a feature to the project directly.

Re: QEMU 10.1.0

#13
post #3

QEMU is truly excellent software, from the perspective of a person who very rarely needs to emulate another architecture. It "just works" and has wonderful integrations with basically everything I could want.. sometimes it feels like magic: even if the commandline UX is a bit weird in places. I've always wondered though how it works with KVM: I know KVM is a virtualisation accelerator that enables passing through nat…

qemu/kvm in enabling the cloud is huge but that's not the only place it really makes a tremendous difference. One example where it's essential is new OS development. They all basically first target the qemu machine with its virtual hardware. It makes development much faster compared to running on real hardawre while easily enabling debug output without needing cables and the like.

Re: QEMU 10.1.0

#14
post #3

QEMU is truly excellent software, from the perspective of a person who very rarely needs to emulate another architecture. It "just works" and has wonderful integrations with basically everything I could want.. sometimes it feels like magic: even if the commandline UX is a bit weird in places. I've always wondered though how it works with KVM: I know KVM is a virtualisation accelerator that enables passing through nat…

Xen is still used massively too.

Re: QEMU 10.1.0

#15
post #3

QEMU is truly excellent software, from the perspective of a person who very rarely needs to emulate another architecture. It "just works" and has wonderful integrations with basically everything I could want.. sometimes it feels like magic: even if the commandline UX is a bit weird in places. I've always wondered though how it works with KVM: I know KVM is a virtualisation accelerator that enables passing through nat…

KVM is basically three components. * An abstraction over second level page tables to map some of a host user process as what the guest thinks of as physical memory. * An abstraction to jump into the context that uses those page tables, and traps back out in the case of anything that the hardware would normally handle, but the hypervisor wants to handle manually instead. * A collection of mechanisms to handle some of…

Where could someone get started in terms of reading material to learn more about this in depth?

Re: QEMU 10.1.0

#18

Awesome tech! It's not possible to run an android VM on QEMU right? As in, is it officially supported? (I know about Waydroid)

The official Android "emulator" supplied by Google is qemu. If you're not satisfied with it for some reason, IIRC I used these images some years ago on top of vanilla qemu:

https://www.fosshub.com/Android-x86.html

They don't seem to be well supported anymore, and there aren't many prebuilt alternatives. One can always compile AOSP from source, though Google does not make this easy.

Re: QEMU 10.1.0

#19
post #3

QEMU is truly excellent software, from the perspective of a person who very rarely needs to emulate another architecture. It "just works" and has wonderful integrations with basically everything I could want.. sometimes it feels like magic: even if the commandline UX is a bit weird in places. I've always wondered though how it works with KVM: I know KVM is a virtualisation accelerator that enables passing through nat…

If you use it rarely, I can high recommend the excellent QuickEMU [0]

Any VM is just a `quickget ubuntu 24.04` and `quickemu --vm ubuntu-24.04.conf` away. The conf file is just a yaml that is very readable and can give you more cores/ram/disk easily. Just run `quickget` to get a list of OS's to download.

[0] https://github.com/quickemu-project/quickemu

Re: QEMU 10.1.0

#20

Awesome tech! It's not possible to run an android VM on QEMU right? As in, is it officially supported? (I know about Waydroid)

Yes, it's possible and supported. QEMU can emulate an aarch64 system, and Google provides aarch64 Android builds for virtual machines specifically, called "Cuttlefish". Search for keywords "Android Cuttlefish QEMU" for instructions.
Post reply on HN