←back to thread

QEMU 10.1.0

(wiki.qemu.org)
302 points dmitrijbelikov | 1 comments | | HN request time: 0.22s | source
Show context
simonebrunozzi ◴[] No.45043703[source]
Curious: how do people use Qemu the most these days? Dev environment? Running specific apps on a different OS? I don't know... gaming?
replies(3): >>45043949 #>>45046971 #>>45047272 #
mdaniel ◴[] No.45047272[source]
I'd suspect a great deal of people are secretly benefiting from qemu when they do $(docker build --platform linux/{arm64,amd64}) courtesy of binfmt_misc and a static copy of qemu

- https://github.com/moby/buildkit/blob/v0.23.2/docs/multi-pla...

- https://github.com/moby/buildkit/blob/v0.23.2/Dockerfile#L16...

- https://github.com/tonistiigi/binfmt/blob/buildkit/v9.2.2-54...

- https://github.com/tonistiigi/binfmt/blob/buildkit/v9.2.2-54... and https://github.com/tonistiigi/binfmt/blob/buildkit/v9.2.2-54...

and let me tell you from first-hand experience, that trying to swap in an updated version of the bundled qemu binary when the static version panics on some mis-emulated instruction is some whooooooo, boy

replies(1): >>45047308 #
1. mdaniel ◴[] No.45047308[source]
Then again, everything in buildkit is designed for maximum opacity, in my experience so I guess it tracks