Re: [PATCH] vhost-blk: set features before setting inflight feature

2020-10-01 Thread Raphael Norwitz
phael Norwitz > > ; Kevin Wolf ; Max > > Reitz ; QEMU > > Subject: Re: [PATCH] vhost-blk: set features before setting inflight feature > > > > I see your point - all the open source backends I could find which support > > VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD

RE: [PATCH] vhost-blk: set features before setting inflight feature

2020-09-22 Thread Yu, Jin
> -Original Message- > From: Raphael Norwitz > Sent: Tuesday, September 22, 2020 7:03 AM > To: Yu, Jin > Cc: Michael S. Tsirkin ; Raphael Norwitz > ; Kevin Wolf ; Max > Reitz ; QEMU > Subject: Re: [PATCH] vhost-blk: set features before setting inflight featu

Re: [PATCH] vhost-blk: set features before setting inflight feature

2020-09-21 Thread Raphael Norwitz
ax > > Reitz ; QEMU > > Subject: Re: [PATCH] vhost-blk: set features before setting inflight feature > > > > Backends already receive the format in vhost_dev_start before the memory > > tables are set or any of the virtqueues are started. Can you elaborate on > &

RE: [PATCH] vhost-blk: set features before setting inflight feature

2020-09-14 Thread Yu, Jin
> -Original Message- > From: Raphael Norwitz > Sent: Tuesday, September 15, 2020 9:25 AM > To: Yu, Jin > Cc: Michael S. Tsirkin ; Raphael Norwitz > ; Kevin Wolf ; Max > Reitz ; QEMU > Subject: Re: [PATCH] vhost-blk: set features before setting inflight featu

Re: [PATCH] vhost-blk: set features before setting inflight feature

2020-09-14 Thread Raphael Norwitz
Backends already receive the format in vhost_dev_start before the memory tables are set or any of the virtqueues are started. Can you elaborate on why you need to know the virtqueue format before setting the inflight FD? On Thu, Sep 10, 2020 at 2:15 AM Jin Yu wrote: > > Virtqueue has split and pa

[PATCH] vhost-blk: set features before setting inflight feature

2020-09-09 Thread Jin Yu
Virtqueue has split and packed, so before setting inflight, you need to inform the back-end virtqueue format. Signed-off-by: Jin Yu --- hw/block/vhost-user-blk.c | 6 ++ hw/virtio/vhost.c | 18 ++ include/hw/virtio/vhost.h | 1 + 3 files changed, 25 insertions(+) d