# Re: \[PATCH v13 00/13\] Introduce VDUSE - vDPA Device in Userspace

- From: Yongji Xie \<hidden\>
- Date: 2021-10-11 08:32:57 
- List: kvm
- Page: https://ratatoskr.run/kvm/2021/10/215686
- Thread: https://ratatoskr.run/kvm/2021/08/213458/t.md

```text
On Mon, Oct 11, 2021 at 4:31 PM Yongji Xie [ref] wrote:
>
> Hi Xiaodong,
>
> On Mon, Oct 11, 2021 at 3:32 PM Liuxiangdong [ref] wrote:
> >
> > Hi, Yongji.
> >
> > I tried vduse with null-blk:
> >
> >    $ qemu-storage-daemon \
> >        --chardev socket,id=charmonitor,path=/tmp/qmp.sock,server,nowait \
> >        --monitor chardev=charmonitor \
> >        --blockdev
> > driver=host_device,cache.direct=on,aio=native,filename=/dev/nullb0,node-name=disk0
> > \
> >        --export
> > type=vduse-blk,id=test,node-name=disk0,writable=on,name=vduse-null,num-queues=16,queue-size=128
> >
> > The qemu-storage-daemon is yours
> > (https://github.com/bytedance/qemu/tree/vduse)
> >
> > And then, how can we use this vduse-null (dev/vduse/vduse-null) in vm(QEMU)?
> >
>
> Then we need to attach this device to vdpa bus via vdpa tool [1]:
>
> # vdpa dev add vduse-null mgmtdev vduse
>

It should be:

# vdpa dev add name vduse-null mgmtdev vduse

Thanks,
Yongji
```
