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

2018-07-24 Thread Tiwei Bie
On Tue, Jul 24, 2018 at 11:16:49PM +0800, Marvin Liu wrote: > When start vhost sample with builtin-net-driver argument, vhost feature > bit will be zero. If VHOST_USER_F_PROTOCOL_FEATURES is not set, vhost > net start will be failed in qemu. This occasion will cause device stop > action was skipped

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

2018-07-24 Thread Marvin Liu
When start vhost sample with builtin-net-driver argument, vhost feature bit will be zero. If VHOST_USER_F_PROTOCOL_FEATURES is not set, vhost net start will be failed in qemu. This occasion will cause device stop action was skipped. Consequently, same ioevent fd will be added second time after relo