Launch qemu with a USB XHCI controller and USB tablet device
This commit is contained in:
1 parent
53e2e52bbe
commit
bf9a005dbc
1 file changed
+1
-1
+1
-1
@@ -125,6 +125,6 @@ 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]
|
||||
sh %W[qemu-system-x86_64 -bios OVMF.fd -drive file=#{tmpdir}/hos.img,format=raw -device qemu-xhci -device usb-tablet]
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user