quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.88k stars 478 forks source link

fix: Use 1 as default sockets value #1433

Closed lj3954 closed 2 months ago

lj3954 commented 3 months ago

Description

lscpu populates the sockets field with '-' if the number of sockets it's determined is equal to 0 (which is accurately treated as a null value). Replace this value with 1 to fix invalid values being passed to qemu.

Type of change

Checklist: