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.
--- qemu/hw/usb-msd.c 2006-06-14 22:21:29.000000000 -0500 +++ qemu/hw/usb-msd.c 2006-06-14 22:23:09.000000000 -0500 @@ -19,8 +19,8 @@ #endif /* USB requests. */ -#define MassStorageReset 0xff -#define GetMaxLun 0xfe +#define MassStorageReset 0x21ff +#define GetMaxLun 0xa1fe enum USBMSDMode { USB_MSDM_CBW, /* Command Block. */
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel