Again I've never done this, but how about (based on
@PanWaclaw advice in first post):
1. Create Flash Drive image:
Bash:
dd bs=1G count=8 if=/dev/zero of=/tmp/usb0.img
2. Add a drive device for our flash drive [VM --> Monitor]:
Code:
drive_add 0 file=/tmp/usb0.img,if=none,id=drive-usb0,format=raw,cache=none
3. Add a USB xhci bus [VM --> Monitor]:
Code:
device_add nec-usb-xhci,id=xhci
4. Install our flash drive in the slot on the xhci bus [VM --> Monitor]:
Code:
device_add usb-storage,bus=xhci.0,id=drive-usb0,drive=drive-usb0,removable=on
I'd really be interested to know, if this works.