correct defines for usb-msd massstoragereset and getmaxlun
lo list. This is a patch to correct the GetMaxLun and
MassStorageReset defines in hw/usb-msd.c. The switch statement is checking against both request type and request. It was discussed briefly in #qemu.
hw/usb-msd.c +2 -2
@@ -19,8 +19,8 @@#endif /* USB requests. */ -#define MassStorageReset 0xff -#define GetMaxLun 0xfe +#define MassStorageReset 0x21ff +#define GetMaxLun 0xa1feenum USBMSDMode {USB_MSDM_CBW ,/* Command Block. */