From d7b12c78964764e8c0085e28a0473d8ad420dcb2 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 5 Nov 2022 20:15:30 -0400 Subject: [PATCH] Run qemu with maximum supported host CPU features --- Rsconscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rsconscript b/Rsconscript index eefc7db..c4b7220 100644 --- a/Rsconscript +++ b/Rsconscript @@ -159,7 +159,7 @@ task "run", desc: "Run HOS in QEMU" do Dir.mktmpdir do |tmpdir| img = hello_env.expand("^/HOS.img") FileUtils.cp(img, tmpdir) - sh %W[qemu-system-x86_64 -bios OVMF.fd -drive file=#{tmpdir}/HOS.img,format=raw -device qemu-xhci -device usb-tablet] + sh %W[qemu-system-x86_64 -cpu max -bios OVMF.fd -drive file=#{tmpdir}/HOS.img,format=raw -device qemu-xhci -device usb-tablet] end end