Re: [dpdk-dev] [PATCH v3] examples/vhost: workaround qemu abort

2018-07-25 Thread Liu, Yong
> -Original Message- > From: Bie, Tiwei > Sent: Wednesday, July 25, 2018 2:39 PM > To: Liu, Yong > Cc: dev@dpdk.org > Subject: Re: [PATCH v3] examples/vhost: workaround qemu abort > > On Wed, Jul 25, 2018 at 06:25:56PM +0800, Marvin Liu wrote: > > Current qemu vhost net ring start has a

Re: [dpdk-dev] [PATCH v3] examples/vhost: workaround qemu abort

2018-07-24 Thread Tiwei Bie
On Wed, Jul 25, 2018 at 06:25:56PM +0800, Marvin Liu wrote: > Current qemu vhost net ring start has a dependency on feature bit > VHOST_USER_F_PROTOCOL_FEATURES. Without this feature, vhost ring can't > enabled and ioevent fd won't be deleted after vhost device stop. That > will cause qemu abort wh

[dpdk-dev] [PATCH v3] examples/vhost: workaround qemu abort

2018-07-24 Thread Marvin Liu
Current qemu vhost net ring start has a dependency on feature bit VHOST_USER_F_PROTOCOL_FEATURES. Without this feature, vhost ring can't enabled and ioevent fd won't be deleted after vhost device stop. That will cause qemu abort when reloading driver. Work around qemu issues by enabling feature bit