←back to thread

QEMU 10.1.0

(wiki.qemu.org)
302 points dmitrijbelikov | 2 comments | | HN request time: 0.397s | source
Show context
dijit ◴[] No.45038037[source]
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 native code to the CPU somehow; but it feels like QEMU/KVM basically runs the internet now. Almost the entire modern cloud is built on QEMU and KVM as a hypervisor (right?) but I feel like I'm missing a lot about how it's working.

I also wonder if this steals huge amounts of resources away from emulation, or does it end up helping out. Because to say the modern internet is largely running on QEMU is likely a massive understatement.

replies(8): >>45038105 #>>45038111 #>>45038113 #>>45038185 #>>45038444 #>>45038616 #>>45038965 #>>45038990 #
dizhn ◴[] No.45038444[source]
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.
replies(1): >>45052040 #
monocasa ◴[] No.45052040[source]
Eh, we just used stuff like bochs and vmware prior.
replies(1): >>45052434 #
dizhn ◴[] No.45052434[source]
I didn't mean qemu is the only option.
replies(1): >>45052632 #
1. monocasa ◴[] No.45052632[source]
My point is that the appearance qemu/kvm didn't really practically change the space much.
replies(1): >>45052772 #
2. dizhn ◴[] No.45052772[source]
Oh I understand what you're saying. You're probably right. Collectively virtualization allows a lot but qemu might not be as exclusive as I said. (I think there are only a few years between bocsh/vmware and qemu/xen.)

EDIT: I didn't mean to sound like ChatGPT. It happened naturally :)