Page MenuHomeFreeBSD

bhyve: add ioctl to get acpi resources of an acpi device
AbandonedPublic

Authored by corvink on Nov 30 2021, 1:07 PM.
Tags
Referenced Files
Unknown Object (File)
Fri, Apr 25, 3:50 AM
Unknown Object (File)
Thu, Apr 24, 1:13 AM
Unknown Object (File)
Tue, Apr 22, 6:50 AM
Unknown Object (File)
Mon, Apr 21, 7:55 AM
Unknown Object (File)
Mon, Apr 14, 11:53 AM
Unknown Object (File)
Mon, Apr 14, 4:33 AM
Unknown Object (File)
Sun, Apr 13, 11:28 PM
Unknown Object (File)
Mar 10 2025, 3:30 PM

Details

Reviewers
manu
markj
jhb
Group Reviewers
bhyve
Summary

For passthru of ACPI devices like a TPM we need to get the current
resources (CRS) used by the device. Add an ioctl to query that data.

Note: See https://github.com/Beckhoff/freebsd-src/commits/phab/corvink/vm_get_acpi_device_info

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This patch was required for my TPM passthrough patch (D32961). I'll change the TPM passthrough patch in the future. After that, this patch won't be required any more.