On Tue, Jul 28, 2026 at 8:23 AM Stefan Hajnoczi <[email protected]> wrote: > > Why is base_addr a hwaddr? This is QEMU memory, not guest RAM. I > expected this to be void *. >
It doesn't need to be hwaddr. I will change it to void * > A size needs to be at least documented here to reduce the chance of > memory bugs. Even better would be an interface like > vhost_svq_vring_total_size() so the caller can fetch the number of bytes > before allocating the memory. I haved added in a vhost_svq_vring_total_size function to address this now. Best, Connor
