new: usb控制器检测

This commit is contained in:
fslongjin
2022-07-17 17:24:27 +08:00
parent a1c843cd3a
commit afb80d4d6e
8 changed files with 67 additions and 7 deletions

3
run.sh
View File

@ -111,7 +111,8 @@ if [ $flag_can_run -eq 1 ]; then
-drive id=disk,file=bin/disk.img,if=none \
-device ahci,id=ahci \
-device ide-hd,drive=disk,bus=ahci.0 \
-usb
-usb \
-device qemu-xhci,id=xhci
fi
else