Run qemu with maximum supported host CPU features
This commit is contained in:
parent
11f922da33
commit
d7b12c7896
@ -159,7 +159,7 @@ task "run", desc: "Run HOS in QEMU" do
|
|||||||
Dir.mktmpdir do |tmpdir|
|
Dir.mktmpdir do |tmpdir|
|
||||||
img = hello_env.expand("^/HOS.img")
|
img = hello_env.expand("^/HOS.img")
|
||||||
FileUtils.cp(img, tmpdir)
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user