Re: Discrepancy between mmap call on DPDK/libvduse and rust vm-memory crate

2024-04-15 Thread Eugenio Perez Martin
On Sun, Apr 14, 2024 at 11:02 AM Michael S. Tsirkin wrote: > > On Fri, Apr 12, 2024 at 12:15:40PM +0200, Eugenio Perez Martin wrote: > > Hi! > > > > I'm building a bridge to expose vhost-user devices through VDUSE. The > > code is still immature but I'm able to forward packets using > > dpdk-l2fwd

Re: Discrepancy between mmap call on DPDK/libvduse and rust vm-memory crate

2024-04-15 Thread Jason Wang
On Mon, Apr 15, 2024 at 3:28 PM Yongji Xie wrote: > > On Sun, Apr 14, 2024 at 5:02 PM Michael S. Tsirkin wrote: > > > > On Fri, Apr 12, 2024 at 12:15:40PM +0200, Eugenio Perez Martin wrote: > > > Hi! > > > > > > I'm building a bridge to expose vhost-user devices through VDUSE. The > > > code is s

Re: Discrepancy between mmap call on DPDK/libvduse and rust vm-memory crate

2024-04-15 Thread Yongji Xie
On Sun, Apr 14, 2024 at 5:02 PM Michael S. Tsirkin wrote: > > On Fri, Apr 12, 2024 at 12:15:40PM +0200, Eugenio Perez Martin wrote: > > Hi! > > > > I'm building a bridge to expose vhost-user devices through VDUSE. The > > code is still immature but I'm able to forward packets using > > dpdk-l2fwd

Re: Discrepancy between mmap call on DPDK/libvduse and rust vm-memory crate

2024-04-14 Thread Michael S. Tsirkin
On Fri, Apr 12, 2024 at 12:15:40PM +0200, Eugenio Perez Martin wrote: > Hi! > > I'm building a bridge to expose vhost-user devices through VDUSE. The > code is still immature but I'm able to forward packets using > dpdk-l2fwd through VDUSE to VM. I'm now developing exposing virtiofsd, > but I've h

Discrepancy between mmap call on DPDK/libvduse and rust vm-memory crate

2024-04-12 Thread Eugenio Perez Martin
Hi! I'm building a bridge to expose vhost-user devices through VDUSE. The code is still immature but I'm able to forward packets using dpdk-l2fwd through VDUSE to VM. I'm now developing exposing virtiofsd, but I've hit an error I'd like to discuss. VDUSE devices can get all the memory regions the