Re: [PATCH v4 1/5] rust: vfio: add common VFIO device handling

From: Danilo Krummrich

Date: Wed Dec 02 2026 - 14:43:32 EST


On Wed Dec 2, 2026 at 7:43 PM CET, Gary Guo wrote:
> So there's no need to actually do read/write at arbitrary position? The existing
> helpers added feel like it's needed.

Access at a specific offset is needed, but forward traversal suffices. We don't
need an arbitrary-position API.

> But if vfio can work with the diff above that you have, I think that's
> reasonable addition to unblock the series (with `#[inline]` added, that is).

I did check nova-vgpu and the existing C drivers and I think this should be
sufficient, yes.