Actions
Usb-hotplug¶
QMP-shell
qmp-shell -H /run/qemu/qemu805.control.sock
drive_add auto file=/path/to/image.img,if=none,id=usb-flash device_add nec-usb-xhci,id=xhci,bus=root device_add usb-storage,bus=xhci.0,drive=usb-flash,id=usb-flash1
info qtree info block device_del usb-flash1 info block info qtree
Updated by Андрей Волков about 3 years ago · 4 revisions