HomeFreeBSD

bhyve vtblk: Inform guests of disk resize events.

Description

bhyve vtblk: Inform guests of disk resize events.

Register a resize callback with the blockif interface. When the
callback fires, update the size of the disk and notify the guest via a
configuration change interrupt.

Reviewed by: grehan, markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D30506

Details

Provenance
jhbAuthored on Jun 12 2021, 12:59 AM
Reviewer
grehan
Differential Revision
D30506: bhyve vtblk: Inform guests of disk resize events.
Parents
rGc06676bee3d2: bhyve: Split out a lower-level helper for VirtIO interrupts.
Branches
Unknown
Tags
Unknown