On Mon, Aug 10, 2026 at 10:40 AM Connor Kite <[email protected]> wrote:
>
> > >       int fds[VHOST_MEMORY_BASELINE_NREGIONS];
> >
> > This needs one more element for vring.
> >
>
> Good catch.  Fixed!
>

Actually, I'm not sure I can add an element here since the size of
VhostUserPayload.memory.regions is defined as fixed to
VHOST_MEMORY_BASELINE_NREGIONS, which is 8.  It seems
plausible that if this is a standard expected size, that adding another
region could violate some assumption in the back-end implementation.
However, I should be able to avoid the issue by combining the vring region
with one adjacent in the IOVA space when sending to the back-end.

Reply via email to