17.09.2020 10:08, John Paul Adrian Glaubitz wrote: > On 9/16/20 8:42 PM, Thorsten Glaser wrote: >> John Paul Adrian Glaubitz dixit: >> >>> That’s been fixed upstream and can be configured with the >>> qemu-binfmt.sh script and the option “preserved=yes”. >> >> $ locate qemu-binfmt.sh | wc >> 0 0 0
It is scripts/qemu-binfmt-conf.sh script inside the qemu sources. It was a fork of debian's d/update-binfmts.sh, updated for other use cases. > Well, to be honest, you should never use the Debian QEMU package. It's almost > always very outdated and would lack important patches like these. It's easier > to use local builds from git. You should not use upstream git of qemu, since it too lacks important patches like this, - please don't suggest people to use outdated sources.. :) (just as a matter of fact, debian usually has new version of qemu the next day it is released, and I usually keep it up to date in backports. With debian stable and current qemu 5. we have a bit of delay since there are a few other things to backport, but we have 5.0 there). /mjt