Skip to content

Commit

Permalink
fix: Use 1 as default sockets value
Browse files Browse the repository at this point in the history
  • Loading branch information
lj3954 authored and flexiondotorg committed Aug 27, 2024
1 parent 070514d commit 35f8e93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions quickemu
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ function configure_cpu() {
HOST_CPU_SOCKETS=$(get_cpu_info 'Socket')
HOST_CPU_VENDOR=$(get_cpu_info 'Vendor')

if [ "${HOST_CPU_SOCKETS}" = "-" ]; then
HOST_CPU_SOCKETS=1
fi

CPU_MODEL="host"
QEMU_ACCEL="tcg"
# Configure appropriately for the host platform
Expand Down

0 comments on commit 35f8e93

Please sign in to comment.