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)
Sun, Oct 6, 4:32 AM
Unknown Object (File)
Sat, Oct 5, 6:12 PM
Unknown Object (File)
Sat, Oct 5, 2:51 PM
Unknown Object (File)
Fri, Oct 4, 9:54 AM
Unknown Object (File)
Thu, Oct 3, 8:35 AM
Unknown Object (File)
Thu, Oct 3, 12:32 AM
Unknown Object (File)
Wed, Oct 2, 9:47 AM
Unknown Object (File)
Tue, Oct 1, 5:02 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.