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.
Fixes #1428
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] I have performed a self-review of my code
[x] I have tested my code in common scenarios and confirmed there are no regressions
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: