This patch adds the ability to override the Vendor ID, Product ID, Manufacturer and Product strings for USB storage devices via properties.
This allows emulating specific USB storage devices more accurately. When vid or pid is specified, a per-instance USB descriptor is created to hold these values. This helps with debugging and reversing of various VID+PID restricted applications (e.g. Samsung SecretZone, SanDisk SecureAccess and others). Dhiru Kholia (1): hw/usb/dev-storage: add vid/pid/manufacturer/product overrides hw/usb/dev-storage-bot.c | 1 + hw/usb/dev-storage-classic.c | 1 + hw/usb/dev-storage.c | 43 ++++++++++++++++++++++++++++++++++++ include/hw/usb/msd.h | 3 +++ 4 files changed, 48 insertions(+) -- 2.49.1
