Hi,
- command line must look like this:
...
-drive if=none,id=usbstick,file=/path/to/image \
-device usb-storage,bus=ehci.0,drive=usbstick
ie. register driver device referencing it, and there was a typo id->if
I'll fix.
- long-term, "-usb" should become a shorthand for "-device
usb-uhci,id=uhci -device usb-ehci,id=ehci" (at least for x86)
Hmm, I'd tend to leave '-M pc' as-is and enable ehci by default in the
upcoming q35 emulation, especially in case both make it into 0.15.
Unfortunately, msd is not yet magically healed:
non queue head request in async schedule
processing error - resetting ehci HC
Yea, I've seen a flaw in async handling. Just need to dig some more
into the code to fix it properly, also the packet workflow (including
async handling) is one of the spots where the qemu usb subsystem needs
some work ...
PS: Your tree lacks conversion of usb-musb.c.
Huh? 'git diff kiszka/master kiszka/ehci hw/usb-musb.c' is empty.
cheers,
Gerd