From bf9a005dbcb2d7789344720bdc9e0c6fcefbef0b Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 13 Apr 2022 21:55:06 -0400 Subject: [PATCH] Launch qemu with a USB XHCI controller and USB tablet device --- Rsconscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rsconscript b/Rsconscript index 5b95338..e877993 100644 --- a/Rsconscript +++ b/Rsconscript @@ -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