summaryrefslogtreecommitdiffstats
path: root/hw/usb/dev-storage-classic.c
Commit message (Collapse)AuthorAgeFilesLines
* usb: drop usb_host_dev_is_scsi_storage hookGerd Hoffmann2021-07-091-0/+1
| | | | | | | | | | | | Introduce an usb device flag instead, set it when usb-host looks at the device descriptors anyway. Also set it for emulated storage devices, for consistency. Add an inline helper function to check the flag. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Jose R. Ziviani <jziviani@suse.de> Message-Id: <20210624103836.2382472-32-kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* usb/storage move usb-storage device to separate source fileGerd Hoffmann2021-03-151-0/+156
Pure code motion, no functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <20210312090425.772900-4-kraxel@redhat.com>