HomeFreeBSD

bhyve: check for errors when writing device specific DSDT entries

Description

bhyve: check for errors when writing device specific DSDT entries

At the moment, this function can't fail. This behaviour will change in
the future. In preparation to that, convert the return type to int in
order to be able to check for errors.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D39422

(cherry picked from commit ab34ea4711b1001c416dc286380e54c118ff0c49)

Details

Provenance
corvinkAuthored on Apr 5 2023, 6:45 AM
Reviewer
markj
Differential Revision
D39422: bhyve: check for errors when writing device specific DSDT entries
Parents
rG76f744cf2d08: bhyve: allow building device specific ACPI tables
Branches
Unknown
Tags
Unknown