Page MenuHomeFreeBSD

bhyve: Fix the WITH_BHYVE_SNAPSHOT build
ClosedPublic

Authored by markj on Oct 16 2021, 5:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 4:16 PM
Unknown Object (File)
Thu, Oct 9, 8:46 AM
Unknown Object (File)
Mon, Sep 22, 12:47 AM
Unknown Object (File)
Sep 17 2025, 4:26 AM
Unknown Object (File)
Sep 16 2025, 11:08 PM
Unknown Object (File)
Sep 13 2025, 3:57 AM
Unknown Object (File)
Sep 12 2025, 4:34 AM
Unknown Object (File)
Sep 12 2025, 12:24 AM
Subscribers

Details

Summary

The pba_page_offset field was removed. It was only used by the
passthrough code, and I believe the snapshot code currently does not
handle passthrough devices, so the field perhaps shouldn't have been
there to begin with.

I believe this change breaks compatibility with snapshots created by a
bhyve that doesn't have this change. I'm not sure what guarantees we
provide there, but if necessary we could write a dummy value instead.

Fixes: 7fa233534736 ("bhyve: Map the MSI-X table unconditionally for passthrough")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable