Re: [PATCH 3/4] virtiofsd: Specify size of notification buffer using config space

2019-11-25 Thread Vivek Goyal
On Fri, Nov 22, 2019 at 10:33:00AM +, Stefan Hajnoczi wrote: > On Fri, Nov 15, 2019 at 03:55:42PM -0500, Vivek Goyal wrote: > > diff --git a/contrib/virtiofsd/fuse_virtio.c > > b/contrib/virtiofsd/fuse_virtio.c > > index 44c9b3..982b6ad0bd 100644 > > --- a/contrib/virtiofsd/fuse_virtio.c >

Re: [PATCH 3/4] virtiofsd: Specify size of notification buffer using config space

2019-11-22 Thread Stefan Hajnoczi
On Fri, Nov 15, 2019 at 03:55:42PM -0500, Vivek Goyal wrote: > diff --git a/contrib/virtiofsd/fuse_virtio.c b/contrib/virtiofsd/fuse_virtio.c > index 44c9b3..982b6ad0bd 100644 > --- a/contrib/virtiofsd/fuse_virtio.c > +++ b/contrib/virtiofsd/fuse_virtio.c > @@ -109,7 +109,8 @@ static uint64_t f

[PATCH 3/4] virtiofsd: Specify size of notification buffer using config space

2019-11-15 Thread Vivek Goyal
Daemon specifies size of notification buffer needed and that should be done using config space. Only ->notify_buf_size value of config space comes from daemon. Rest of it is filled by qemu device emulation code. Signed-off-by: Vivek Goyal --- contrib/virtiofsd/fuse_virtio.c| 26