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
> -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
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
> &
> -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
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
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