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)
Sat, Apr 6, 7:28 AM
Unknown Object (File)
Fri, Apr 5, 10:11 PM
Unknown Object (File)
Feb 5 2024, 3:47 PM
Unknown Object (File)
Dec 20 2023, 3:01 AM
Unknown Object (File)
Dec 15 2023, 8:42 PM
Unknown Object (File)
Dec 10 2023, 9:41 PM
Unknown Object (File)
Oct 9 2023, 10:57 PM
Unknown Object (File)
Sep 19 2023, 12:53 PM
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