Page MenuHomeFreeBSD

virtio_blk: Fix issuing T_GET_ID before DRIVER_OK status
ClosedPublic

Authored by khng on Apr 30 2021, 4:15 PM.

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.