Launch qemu with a USB XHCI controller and USB tablet device
This commit is contained in:
parent
53e2e52bbe
commit
bf9a005dbc
@ -125,6 +125,6 @@ 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]
|
sh %W[qemu-system-x86_64 -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