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)
Apr 5 2024, 11:57 AM
Unknown Object (File)
Mar 5 2024, 5:27 AM
Unknown Object (File)
Feb 15 2024, 2:46 AM
Unknown Object (File)
Dec 29 2023, 10:26 PM
Unknown Object (File)
Dec 20 2023, 8:39 AM
Unknown Object (File)
Dec 11 2023, 12:41 AM
Unknown Object (File)
Nov 20 2023, 5:21 PM
Unknown Object (File)
Nov 6 2023, 6:18 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.