mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
Meta: Omit -cpu arguments on windows for qemu 9 compatibility
This commit is contained in:
parent
801d7e2ced
commit
d46e90ce0f
1 changed files with 2 additions and 1 deletions
|
@ -484,7 +484,8 @@ def set_up_disk_image_path(config: Configuration):
|
|||
|
||||
def set_up_cpu(config: Configuration):
|
||||
if config.qemu_kind == QEMUKind.NativeWindows:
|
||||
config.qemu_cpu = "max,vmx=off"
|
||||
# Setting -cpu to "max" breaks on QEMU 9 with WHPX whereas the default cpu is more broadly compatible
|
||||
config.qemu_cpu = None
|
||||
else:
|
||||
provided_cpu = environ.get("SERENITY_QEMU_CPU")
|
||||
if provided_cpu is not None:
|
||||
|
|
Loading…
Reference in a new issue