numam-dpdk/lib/librte_vhost
Ouyang Changchun 4e3eff86cf vhost: fix mem path check
Commit aec8283d47 fixes the compilation issue, but it leads to
one runtime issue: early exit wrongly. In some case, 'path' is NULL, but
'resolved_path' has effective path, it should continue going ahead rather
than exit.
This is due to that qemu unlink the file after it maps the huge page file.
In this special case, it is ok to check the resolved path
when path is NULL if errno indicates "No such file or directory".

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
2014-11-06 23:12:02 +01:00
..
eventfd_link vhost: fix code style 2014-11-06 23:12:02 +01:00
libvirt vhost: move from examples to dedicated library 2014-10-13 19:10:09 +02:00
Makefile vhost: add makefile 2014-10-13 19:16:54 +02:00
rte_virtio_net.h vhost: fix code style 2014-11-06 23:12:02 +01:00
vhost_rxtx.c vhost: fix code style 2014-11-06 23:12:02 +01:00
vhost-net-cdev.c vhost: fix code style 2014-11-06 23:12:02 +01:00
vhost-net-cdev.h vhost: coding style fixes 2014-10-13 19:16:54 +02:00
virtio-net.c vhost: fix mem path check 2014-11-06 23:12:02 +01:00