HomeFreeBSD

bhyve: Gracefully handle virtio-scsi with no conf

Description

bhyve: Gracefully handle virtio-scsi with no conf

Fixes segfault with the command bhyve -s 0,virtio-scsi, which is used
by some third party software to probe bhyve for virtio-scsi support.

Reviewed by: jhb
MFC after: 1 day
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D29926

Details

Provenance
freqlabsAuthored on Apr 22 2021, 4:06 PM
Reviewer
jhb
Differential Revision
D29926: bhyve: Gracefully handle virtio-scsi with no conf
Parents
rG7ea3223c7822: zfs: use vn_seqc_read_notmodify for racing .. lookups
Branches
Unknown
Tags
Unknown