Reliable way to tell rosetta virtualized vm from inside the guest #2340
-
Hi folks, What's a reliable way to the guest is running a virtualized to know it supports.
And uname is not helping
What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
As far as I know, Rosetta is registered using binfmt_misc - so it should be in Note that Rosetta is "only" a binary translator (like qemu-user) and not a hypervisor (like qemu-system) |
Beta Was this translation helpful? Give feedback.
-
The file system is mounted under They should correspond to the Rosetta.Enabled and Rosetta.Binfmt settings, in the instance configuration rosetta:
# Enable Rosetta for Linux (EXPERIMENTAL).
# Hint: try `softwareupdate --install-rosetta` if Lima gets stuck at `Installing rosetta...`
# 🟢 Builtin default: false
enabled: null
# Register rosetta to /proc/sys/fs/binfmt_misc
# 🟢 Builtin default: false
binfmt: null |
Beta Was this translation helpful? Give feedback.
As far as I know, Rosetta is registered using binfmt_misc - so it should be in
/proc/sys/fs/binfmt_misc
Note that Rosetta is "only" a binary translator (like qemu-user) and not a hypervisor (like qemu-system)