Page MenuHomeFreeBSD

bhyve: verify OpRegion size
ClosedPublic

Authored by corvink on May 24 2024, 11:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 15, 9:39 AM
Unknown Object (File)
Mon, Oct 5, 1:07 AM
Unknown Object (File)
Sun, Oct 4, 4:05 AM
Unknown Object (File)
Tue, Sep 29, 4:18 PM
Unknown Object (File)
Sep 19 2026, 8:45 AM
Unknown Object (File)
Aug 28 2026, 9:03 PM
Unknown Object (File)
Aug 28 2026, 3:00 PM
Unknown Object (File)
Aug 27 2026, 5:03 AM
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