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)
Thu, Nov 7, 4:05 AM
Unknown Object (File)
Tue, Nov 5, 6:19 PM
Unknown Object (File)
Oct 6 2024, 4:32 AM
Unknown Object (File)
Oct 5 2024, 6:12 PM
Unknown Object (File)
Oct 5 2024, 2:51 PM
Unknown Object (File)
Oct 4 2024, 9:54 AM
Unknown Object (File)
Oct 3 2024, 8:35 AM
Unknown Object (File)
Oct 3 2024, 12:32 AM

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.