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

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

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

2018-07-24 Thread Tiwei Bie
On Wed, Jul 25, 2018 at 05:56:54PM +0800, Marvin Liu wrote: > Current qemu vhost net ring start has a dependency on feature bit > VHOST_USER_F_PROTOCOL_FEATURES. If vhost device start without it, stop > action will be skipped. Consequently, same ioevent fd will be added > twice after reloading driv

[dpdk-dev] [PATCH v2] 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. If vhost device start without it, stop action will be skipped. Consequently, same ioevent fd will be added twice after reloading driver and then cause qemu abort. However, ring should be initialized in