HomeFreeBSD

MFC r294557:

Description

MFC r294557:

hyperv/stor: Verify returned inquiry data before further dispatching

Windows 10 and Window 2016 will return all zero inquiry data for
non-existing slots. If we dispatched them, then a lot of useless
(0 sized) disks would be created. So we verify the returned inquiry
data (valid type, non-empty vendor/product/revision etc.), before
further dispatching.

Minor white space cleanup and wording fix.

Submitted by: Hongjiang Zhang <honzhan microsoft com>
Reviewed by: adrian, sephe, Jun Su <junsu microsoft com>
Approved by: adrian (mentor)
Modified by: sephe
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D4928

Details

Provenance
sepheAuthored on
Reviewer
adrian
Differential Revision
D4928: hyperv: storvsc: Fix multiple invalid disk issue for FreeBSD on windows 10/2016
Parents
rS294889: More fixes to the build.
Branches
Unknown
Tags
Unknown