X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_vhost%2Fvhost_cuse%2Fvhost-net-cdev.c;fp=lib%2Flibrte_vhost%2Fvhost_cuse%2Fvhost-net-cdev.c;h=ae7ad8df7ffdbf8b1744f8fa4d1b7634da7e5a98;hb=40e8552e32569116cc1b119287a3e308ef00a6d8;hp=1ae7c490a2a9c5fc02084f2b18dbd87dc5cd47d7;hpb=c706f3b9c832a9b31e5c5147dd0cc682808883ec;p=dpdk.git diff --git a/lib/librte_vhost/vhost_cuse/vhost-net-cdev.c b/lib/librte_vhost/vhost_cuse/vhost-net-cdev.c index 1ae7c490a2..ae7ad8df7f 100644 --- a/lib/librte_vhost/vhost_cuse/vhost-net-cdev.c +++ b/lib/librte_vhost/vhost_cuse/vhost-net-cdev.c @@ -373,6 +373,9 @@ rte_vhost_driver_register(const char *dev_name) return -1; } + if (eventfd_init() < 0) + return -1; + /* * The device name is created. This is passed to QEMU so that it can * register the device with our application.