Hi, This allows MSD Data-In and CSW packets before the CBW packet.
This is just for RFC for now, but it does work. Patch 2 has the main description of the problem and solution. I've not found a good way to split this into smaller pieces yet, but I will try, also migration is currently broken, I'm not sure the best way to test that. I would like to add a MSD qtest and hopefully the XHCI transfer ring qtest could help with that, but it's still quite a big job I think. Thanks, Nick Nicholas Piggin (2): usb/msd: Add status to usb_msd_packet_complete() function usb/msd: Permit relaxed ordering of IN packets include/hw/usb/msd.h | 20 +- hw/usb/dev-storage.c | 512 ++++++++++++++++++++++++++++--------------- 2 files changed, 352 insertions(+), 180 deletions(-) -- 2.45.2