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

(cherry picked from commit 89c3c32647a5099b297af2958e5a939eff0c0ce0)

Details

Provenance
freqlabsAuthored on Apr 22 2021, 4:06 PM
jhbCommitted on Aug 11 2021, 10:13 PM
Reviewer
jhb
Differential Revision
D29926: bhyve: Gracefully handle virtio-scsi with no conf
Parents
rG81c33f22216b: bhyve: Be explicit that setting config.dump will not start a VM.
Branches
Unknown
Tags
Unknown