update qemu-binfmt-conf.sh to support loongarch64#189
update qemu-binfmt-conf.sh to support loongarch64#189zhangguanzhang wants to merge 1 commit intomultiarch:masterfrom
Conversation
Signed-off-by: zhangguanzhang <[email protected]>
|
@lafin PTAL |
|
@lafin What ideas do you have for supporting LoongArch? |
|
|
||
| QEMU_BIN_DIR=${QEMU_BIN_DIR:-/usr/bin} | ||
|
|
||
| QEMU_SUFFIX=${QEMU_SUFFIX:--static} |
There was a problem hiding this comment.
qemu-user-static shoud be statically linked. Simply rename qemu-user to qemu-user-static will not work as expected. So -static suffix is not optional.
There was a problem hiding this comment.
qemu-user-staticshoud be statically linked. Simply renameqemu-usertoqemu-user-staticwill not work as expected. So-staticsuffix is not optional.
This was the default behavior before. I just added the variable default value so that it can be configured through variables.
There was a problem hiding this comment.
I don't think the default value should be changed. -static is necessary for binfmt to work properly.
|
@zhangguanzhang Could you update the commit? QEMU 9.1 has been released. |
Fixes: #188