Skip to content

Commit 1840c7b

Browse files
committed
fix(quickemu): only add 'topoext' cpu flag for x86_64 AMD guests
Signed-off-by: Martin Wimpress <martin@wimpress.org>
1 parent 0a16748 commit 1840c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickemu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ function configure_cpu() {
726726
;;
727727
esac
728728

729-
if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ] && [ "${guest_os}" != "macos" ]; then
729+
if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ] && [ "${guest_os}" != "macos" ] && [ "${ARCH_VM}" == "x86_64" ]; then
730730
add_cpu_flag "topoext"
731731
fi
732732

0 commit comments

Comments
 (0)