usb_hid_raw: don't use deprecated qemu option

* Use -device instead of deprecated -usbdevice
* Use the same xhci model as in usb_hid_reconnect
This commit is contained in:
Stefan Kalkowski 2022-03-03 17:14:12 +01:00 committed by Christian Helmuth
parent 67f797abf2
commit 600997d8d6

View File

@ -265,9 +265,9 @@ if {[have_spec x86]} { append_platform_drv_boot_modules
build_boot_image $boot_modules
append qemu_args " -usb -usbdevice mouse -usbdevice keyboard"
append qemu_args " -device usb-ehci,id=ehci"
append xen_args { usbdevice=\["mouse","keyboard"\] }
append qemu_args " -device nec-usb-xhci,id=xhci"
append qemu_args " -device usb-kbd,bus=xhci.0"
append qemu_args " -device usb-mouse,bus=xhci.0"
if { [have_include "power_on/qemu"] || ![get_cmd_switch --autopilot] } { run_genode_until forever }