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

From
Yongji Xie <hidden>
Date
2021-10-11 08:32:57
Also in
linux-fsdevel, lkml
Reply to
Yongji Xie, 2021-10-11
On Mon, Oct 11, 2021 at 4:31 PM Yongji Xie [off-list ref] wrote:
Hi Xiaodong,

On Mon, Oct 11, 2021 at 3:32 PM Liuxiangdong [off-list ref] wrote:
quoted
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
Thread (28 messages) 28 messages, 5 authors, last reply 2021-10-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help