To enable use in capability mode, libvmmapi needs a list of all the
ioctls that might be invoked on the vmm device handle. Some of these
ioctls are amd64-specific. Move the ioctl list to vmmapi_machdep.c and
define a list of MI ioctls so that the arm64 port can build its own list
without duplicating common ioctls. No functional change intended.
Details
Details
- Reviewers
jhb corvink andrew - Group Reviewers
bhyve - Commits
- rG7f00e46b85e8: libvmmapi: Split the ioctl list into MI and MD lists
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/libvmmapi/amd64/vmmapi_machdep.c | ||
---|---|---|
82 | Does only VM_MD_IOCTLS differ on arm64? That might motivate wanting a vmmap_internal_machdep.h or the like instead? |
lib/libvmmapi/amd64/vmmapi_machdep.c | ||
---|---|---|
82 | Ok, based on the ppt.c review, I'm guessing arm64 won't have VM_PPT_IOCTLS. |
lib/libvmmapi/amd64/vmmapi_machdep.c | ||
---|---|---|
82 | Right, no PCI passthrough support on arm64 for now. |