Usb-hotplug » История » Версия 1
Андрей Волков, 2021-08-26 11:03
1 | 1 | Андрей Волков | h1. Usb-hotplug |
---|---|---|---|
2 | |||
3 | QMP-shell |
||
4 | |||
5 | *qmp-shell -H /run/qemu/qemu805.control.sock* |
||
6 | |||
7 | <pre> |
||
8 | drive_add auto file=/path/to/image.img,if=none,id=usb-flash |
||
9 | device_add nec-usb-xhci,id=xhci,bus=root |
||
10 | device_add usb-storage,bus=xhci.0,drive=usb-flash |
||
11 | </pre> |