Page MenuHomeFreeBSD

bhyve: verify OpRegion size
ClosedPublic

Authored by corvink on May 24 2024, 11:33 AM.
Tags
None
Referenced Files
F102533936: D45335.diff
Wed, Nov 13, 5:10 PM
Unknown Object (File)
Thu, Nov 7, 1:41 PM
Unknown Object (File)
Wed, Nov 6, 2:08 AM
Unknown Object (File)
Wed, Oct 23, 9:50 PM
Unknown Object (File)
Fri, Oct 18, 8:25 AM
Unknown Object (File)
Thu, Oct 17, 8:21 AM
Unknown Object (File)
Wed, Oct 16, 1:57 AM
Unknown Object (File)
Mon, Oct 14, 11:11 PM
Subscribers

Details

Summary

If the OpRegion size doesn't match the size of our igd_opregion struct, it's
using a different layout than we're expecting. To avoid strange issues, we
should exit hard. If we see any devices in the field with a different OpRegion
size, we can analyse it and fix it accordingly.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57891
Build 54779: arc lint + arc unit