When trying to a boot a centos epel VM using QEMU, it will hang during
boot if the qemu smp option is set to a number higher than 1. To avoid
this and similar issues, let's default to 1 core per VM. If users need
more they can always configure the option explicitly.
group.add_argument(
"--qemu-smp",
metavar="SMP",
- default="2",
+ default="1",
help="Configure guest's SMP settings",
)
group.add_argument(
"with_tests": True,
"xbootldr_size": None,
"qemu_headless": False,
- "qemu_smp": "2",
+ "qemu_smp": "1",
"qemu_mem": "1G",
"qemu_kvm": mkosi.qemu_check_kvm_support(),
"qemu_args": [],