[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACycT3tZbWpHg5D4rQqpSd3Yxz6zFCsUj+R=AGH0JRw0gEBNyg@mail.gmail.com>
Date: Mon, 11 Oct 2021 16:32:43 +0800
From: Yongji Xie <xieyongji@...edance.com>
To: Liuxiangdong <liuxiangdong5@...wei.com>
Cc: "Fangyi (Eric)" <eric.fangyi@...wei.com>, yebiaoxiang@...wei.com,
x86@...nel.org, kvm <kvm@...r.kernel.org>,
linux-fsdevel@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v13 00/13] Introduce VDUSE - vDPA Device in Userspace
On Mon, Oct 11, 2021 at 4:31 PM Yongji Xie <xieyongji@...edance.com> wrote:
>
> Hi Xiaodong,
>
> On Mon, Oct 11, 2021 at 3:32 PM Liuxiangdong <liuxiangdong5@...wei.com> 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
Powered by blists - more mailing lists