]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libvmmapi: Move PCI passthrough ioctl wrappers into a separate file
authorMark Johnston <markj@FreeBSD.org>
Wed, 3 Apr 2024 16:56:22 +0000 (12:56 -0400)
committerMark Johnston <markj@FreeBSD.org>
Wed, 10 Apr 2024 15:17:56 +0000 (11:17 -0400)
commit8b06bdc91ddff995beed7bdcb6e5541c5ca227ef
treeec8e5fbe3cc04d014c30c8ca0b00aaa2370233be
parent3170dcaea96debdd383d974f2b1582d2eb126f50
libvmmapi: Move PCI passthrough ioctl wrappers into a separate file

The arm64 port doesn't implement PCI passthrough and in particular
doesn't define the ioctls used by these wrappers.  It might be that the
ppt ioctl interface will require modification to support arm64.  Until
that's sorted out one way or another, put this code in a separate file
so that it's easy to conditionally compile.

No functional change intended.

Reviewed by: corvink, jhb
MFC after: 2 weeks
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D41003
lib/libvmmapi/amd64/Makefile.inc
lib/libvmmapi/ppt.c [new file with mode: 0644]
lib/libvmmapi/vmmapi.c