Files
reims-vgpu/docs
Anees Iqbal 2d7ce10ea0 🆕 Add the VT_MESSAGE op and the arm64e kext's VideoToolbox service
An arm64 guest's VideoToolbox runs its codecs in a guest only where it finds
an AppleVideoToolboxParavirtualizationDriver service: it then sends the host
side `vtpv` messages, and lists and runs the host's decoders as hardware ones.
This is the first slice of that route (design.md, "Decided", 17).

The device gains feature bit 52, VT_MESSAGES: ring 0's VT_MESSAGE carries a
message in guest RAM runs to the host, and the control completion ring's
VT_STATUS answers it and VT_MESSAGE brings the host's messages back. The
arm64e kext publishes the service under display 0's framebuffer where the
guest took the bit and the host's caps list a decoder, with the user client
of Apple's kext's five selectors, read from its 15.0.0 build. The host's side
is reims_vgpu_video::paravirt: it answers the decoder list and each codec's
capabilities from the decoders the caps list, an empty encoder and motion
estimation list, and refuses session creates for now.

No host offers the bit yet: the host's caps code turns it on with decode
sessions, the next slice, so guests see nothing new. The x86 kext is
unchanged, and the option ROM's bytes too; its record takes the new header.
2026-11-16 12:47:35 -08:00
..
2026-11-15 15:16:04 -08:00