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
..
2021-07-05 13:03:16 +02:00
2021-07-03 03:12:35 -04:00
2021-06-02 06:51:09 +02:00
2021-06-28 07:27:32 -07:00
2021-07-02 11:48:36 +01:00
2021-06-24 11:42:54 +02:00
2021-05-13 19:11:42 +02:00
2021-07-09 14:30:01 +01:00
2021-06-24 05:00:12 -07:00
2021-07-06 08:33:51 +02:00
2021-04-09 16:05:16 -04:00
2021-05-02 17:24:51 +02:00
2021-07-09 18:20:27 +02:00
2021-06-02 06:51:09 +02:00
2021-07-02 11:48:36 +01:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-07-03 03:12:35 -04:00
2021-06-02 06:51:09 +02:00
2021-06-30 13:18:42 +02:00
2021-06-15 16:18:48 +01:00
2021-05-02 17:24:50 +02:00
2021-06-25 08:53:28 -04:00
2021-07-02 17:35:08 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:50 +02:00
2021-07-02 17:35:08 +02:00
2021-07-02 11:48:36 +01:00
2021-07-09 14:30:01 +01:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:50 +02:00
2021-06-29 07:18:10 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:51 +02:00
2021-06-02 06:51:09 +02:00
2021-07-09 14:30:01 +01:00
2021-05-02 17:24:50 +02:00
2021-07-09 18:21:33 +02:00
2021-07-04 22:47:51 +03:00
2021-05-21 15:43:57 +01:00
2021-06-24 05:00:13 -07:00
2021-06-02 06:51:09 +02:00
2021-05-03 10:07:41 +02:00
2021-07-09 18:20:27 +02:00
2021-07-02 11:13:39 -04:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:51 +02:00
2021-05-14 10:26:18 -04:00
2021-06-25 08:53:28 -04:00
2021-06-25 08:53:28 -04:00
2021-05-05 13:52:00 +01:00
2021-06-24 05:00:12 -07:00
2021-06-02 06:51:09 +02:00
2021-05-18 09:36:21 +01:00
2021-07-09 18:21:33 +02:00
2021-06-21 08:48:21 +02:00
2021-07-03 01:39:33 -04:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:51 +02:00
2021-05-17 09:19:00 +02:00
2021-05-17 09:19:00 +02:00