Re: [dpdk-dev] [PATCH v4 1/2] net/vhost: create datagram sockets immediately

2017-01-04 Thread Yuanhan Liu
On Tue, Jan 03, 2017 at 11:22:42AM -0500, Charles (Chas) Williams wrote: > If you create a vhost server device, it doesn't create the actual datagram > socket until you call .dev_start(). If you call .dev_stop() is also > deletes those sockets. For QEMU clients, this is a problem since QEMU > doe

[dpdk-dev] [PATCH v4 1/2] net/vhost: create datagram sockets immediately

2017-01-03 Thread Charles (Chas) Williams
If you create a vhost server device, it doesn't create the actual datagram socket until you call .dev_start(). If you call .dev_stop() is also deletes those sockets. For QEMU clients, this is a problem since QEMU doesn't know how to re-attach to datagram sockets that have gone away. To fix this,