You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There were two things that confused me in the beginning, so let me give the information here:
This action is named setup-qemu-action, but it only sets up user mode emulation. You can't use qemu-img or any qemu-system-* functionality.
No qemu-* binaries added to the path. Instead they are registered with the kernel (using binfmt_misc), and the kernel will invoke the correct qemu-* binary by looking at the first few bytes of an executable. Thus, qemu-aarch64-static hello will fail, but ./hello works fine.
Activity
Provide usage examples in README.md
Provide usage examples in README.md
SoloJacobs commentedon Dec 15, 2024
There were two things that confused me in the beginning, so let me give the information here:
setup-qemu-action
, but it only sets up user mode emulation. You can't useqemu-img
or anyqemu-system-*
functionality.qemu-*
binaries added to the path. Instead they are registered with the kernel (usingbinfmt_misc
), and the kernel will invoke the correctqemu-*
binary by looking at the first few bytes of an executable. Thus,qemu-aarch64-static hello
will fail, but./hello
works fine.