Gerd Hoffmann
b7b2a60b01
usb: drop usb_host_dev_is_scsi_storage hook
...
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>
2021-07-09 18:21:33 +02:00
..
2020-09-18 14:12:32 -04:00
2021-05-02 17:24:51 +02:00
2020-09-18 14:12:32 -04:00
2021-04-06 11:49:14 +01:00
2018-04-27 18:05:22 +10:00
2019-05-23 14:10:31 +02:00
2021-05-26 14:49:45 +02:00
2021-05-05 20:29:14 +01:00
2021-05-02 17:24:51 +02:00
2020-10-19 08:11:21 +01:00
2021-05-19 10:30:28 +10:00
2020-09-18 14:12:32 -04:00
2020-02-19 16:50:00 +00:00
2021-06-03 18:10:31 +10:00
2021-05-04 11:41:25 +10:00
2021-03-09 21:19:10 +01:00
2021-05-04 11:41:24 +10:00
2020-02-02 14:07:57 +11:00
2021-02-10 10:43:50 +11:00
2020-02-02 14:07:57 +11:00
2021-05-02 17:24:50 +02:00
2021-05-05 20:29:14 +01:00
2021-03-09 21:53:57 +01:00
2021-05-19 10:30:28 +10:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:50 +02:00
2021-01-19 10:20:29 +11:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2018-07-03 09:56:52 +10:00
2021-05-02 17:24:50 +02:00
2021-05-02 17:24:51 +02:00
2020-11-15 16:38:50 +01:00
2021-02-08 15:15:32 +01:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-05-19 10:30:28 +10:00
2021-01-19 10:20:29 +11:00
2021-05-05 20:29:14 +01:00
2021-05-02 17:24:51 +02:00
2021-05-19 10:30:28 +10:00
2021-05-02 17:24:51 +02:00
2020-12-14 15:50:55 +11:00
2021-02-10 10:43:50 +11:00
2021-06-03 13:22:06 +10:00
2021-01-19 10:20:29 +11:00
2020-09-08 10:08:43 +10:00
2021-06-03 13:22:06 +10:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2021-06-03 13:22:06 +10:00
2021-05-02 17:24:51 +02:00
2021-05-19 10:30:28 +10:00
2021-05-02 17:24:51 +02:00
2021-05-04 13:12:59 +10:00
2021-07-09 18:21:33 +02:00
2021-06-02 06:51:09 +02:00
2020-08-21 06:18:24 -04:00
2021-05-02 17:24:51 +02:00