Re: Re: [PATCH 3/3] vhost-vdpa-blk: Introduce vhost-vdpa-blk host device

2021-04-27 Thread Yongji Xie
On Mon, Apr 26, 2021 at 11:05 PM Stefan Hajnoczi wrote: > > On Thu, Apr 08, 2021 at 06:12:52PM +0800, Xie Yongji wrote: > > +static const int vdpa_feature_bits[] = { > > +VIRTIO_BLK_F_SIZE_MAX, > > +VIRTIO_BLK_F_SEG_MAX, > > +VIRTIO_BLK_F_GEOMETRY, > > +VIRTIO_BLK_F_BLK_SIZE, > > +

Re: [PATCH 3/3] vhost-vdpa-blk: Introduce vhost-vdpa-blk host device

2021-04-26 Thread Stefan Hajnoczi
On Thu, Apr 08, 2021 at 06:12:52PM +0800, Xie Yongji wrote: > +static const int vdpa_feature_bits[] = { > +VIRTIO_BLK_F_SIZE_MAX, > +VIRTIO_BLK_F_SEG_MAX, > +VIRTIO_BLK_F_GEOMETRY, > +VIRTIO_BLK_F_BLK_SIZE, > +VIRTIO_BLK_F_TOPOLOGY, > +VIRTIO_BLK_F_MQ, > +VIRTIO_BLK_F_RO

Re: Re: [PATCH 3/3] vhost-vdpa-blk: Introduce vhost-vdpa-blk host device

2021-04-12 Thread Yongji Xie
On Mon, Apr 12, 2021 at 3:14 PM Jason Wang wrote: > > > 在 2021/4/9 下午4:17, Yongji Xie 写道: > > On Fri, Apr 9, 2021 at 2:02 PM Jason Wang wrote: > >> > >> 在 2021/4/8 下午6:12, Xie Yongji 写道: > >>> This commit introduces a new vhost-vdpa block device, which > >>> will set up a vDPA device specified by

Re: [PATCH 3/3] vhost-vdpa-blk: Introduce vhost-vdpa-blk host device

2021-04-12 Thread Jason Wang
在 2021/4/9 下午4:17, Yongji Xie 写道: On Fri, Apr 9, 2021 at 2:02 PM Jason Wang wrote: 在 2021/4/8 下午6:12, Xie Yongji 写道: This commit introduces a new vhost-vdpa block device, which will set up a vDPA device specified by a "vdpa-dev" parameter, something like: qemu-system-x86_64 \ -device

Re: Re: [PATCH 3/3] vhost-vdpa-blk: Introduce vhost-vdpa-blk host device

2021-04-09 Thread Yongji Xie
On Fri, Apr 9, 2021 at 2:02 PM Jason Wang wrote: > > > 在 2021/4/8 下午6:12, Xie Yongji 写道: > > This commit introduces a new vhost-vdpa block device, which > > will set up a vDPA device specified by a "vdpa-dev" parameter, > > something like: > > > > qemu-system-x86_64 \ > > -device vhost-vdpa-b

Re: [PATCH 3/3] vhost-vdpa-blk: Introduce vhost-vdpa-blk host device

2021-04-08 Thread Jason Wang
在 2021/4/8 下午6:12, Xie Yongji 写道: This commit introduces a new vhost-vdpa block device, which will set up a vDPA device specified by a "vdpa-dev" parameter, something like: qemu-system-x86_64 \ -device vhost-vdpa-blk-pci,vdpa-dev=/dev/vhost-vdpa-0 Signed-off-by: Xie Yongji --- hw/bloc