[ovs-dev] [PATCH RFC] netdev-dpdk: Use unique temporary directories for vhost-user sockets

Aaron Conole aconole at redhat.com
Wed Feb 3 16:31:30 UTC 2016


Hi Ilya,

Ilya Maximets <i.maximets at samsung.com> writes:
> If ovs-vswitchd crashes, it will not be able to recreate the same
> vhost user ports, since the socket will still be in the file system.
>
> This forces netdev-dpdk to create vhost-user sockets in
> unique temporaty directories created by mkdtemp().
>
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> ---

My only concern is with the way this will interact with qemu, which goes
direct to the vhost-user socket path. After this change, is there a way to
keep qemu updated? I think it would involve manual intervention either
way, right? This may be a case where dpdk should provide the solution to
to this problem. What do you think?

-Aaron



More information about the dev mailing list