To simplify the handling of different acpi devices like qemu fwcfg or a
tpm, add a helper struct. It will handle the reporting of acpi
resources.
Details
Details
- Reviewers
jhb markj - Group Reviewers
bhyve - Commits
- rGb5d47fa9a511: bhyve: add helper struct for acpi device handling
rG1231f047c3ed: bhyve: add helper struct for acpi device handling
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 49588 Build 46478: arc lint + arc unit
Event Timeline
Comment Actions
- fix includes
- save copies of name and hid in acpi_device_create
- properly free an acpi_device on acpi_device_destroy
usr.sbin/bhyve/acpi_device.c | ||
---|---|---|
101 | Double free. |
usr.sbin/bhyve/acpi_device.c | ||
---|---|---|
101 | I'm guessing its a typo since dev->name is strdup()'ed further up. |
usr.sbin/bhyve/acpi_device.c | ||
---|---|---|
101 | Yes, it was a typo. |