Files
reims-vgpu/docs
Anees Iqbal d92883f92a 🐛 Give back the lends of a VT_MESSAGE the device cannot read
The device answers a VT_MESSAGE it cannot read with VT_STATUS MALFORMED, and
the host never sees it. The guest's kext counts that message as posted, so
it holds each lend the message named until a rels names it, and none ever
came. Each such message kept its lends, out of the kext's 64, until the kext
stopped.

Where the message's RgfxVtMessage struct reads, the device now sends a rels
for the nonzero lends it names, among its first surface_count, before the
VT_STATUS. A guest that did not take VT_MESSAGES gets nothing, as before.

What the guest sees: a rels naming the lends of an unreadable message,
ahead of its MALFORMED answer, so the kext gets those lends back.
2026-12-03 07:59:11 -08:00
..