rust-vmm/vhost
Inflight I/O: Fix the memory layout of queue region header
Open
#356 opened on Apr 28, 2026
good first issue
Repository metrics
- Stars
- (163 stars)
- PR merge metrics
- (PR metrics pending)
Description
From https://github.com/rust-vmm/vhost/pull/88:
As defined in the vhost-user protocol[1], the last field of queue region header should be a zero-sized array. However, current implementation uses u64, which will cause a wrong inflight I/O memfd memory layout.
That PR was never merged, because we should fix the issue using vmm_sys_util::fam.