HomeFreeBSD

virtio_blk: Fix issuing T_GET_ID before DRIVER_OK status

Description

virtio_blk: Fix issuing T_GET_ID before DRIVER_OK status

DRIVER_OK status is set after device_attach() succeeds. For now postpone
disk_create to attach_completed() method.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Reviewed by: grehan
Approved by: lwhsu (mentor)
Differential Revision: https://reviews.freebsd.org/D30049

Details

Provenance
khngAuthored on May 5 2021, 3:16 PM
Reviewer
grehan
Differential Revision
D30049: virtio_blk: Fix issuing T_GET_ID before DRIVER_OK status
Parents
rGcec2682cd291: Restore Cirrus-CI boot smoke test
Branches
Unknown
Tags
Unknown