Loading
vfio-user: call init_cb if getcwd fails
spdk_vfu_init() will hang SPDK subsystem init if getcwd() fails. init_cb should be invoked to report the error and fail initialization. I don't have a good way to test this right now, but the correctness is straight forward. Fixes #3589 Change-Id: Id5108443512282e4948e9dce00cbdd1e9a086b07 Signed-off-by:Joel Cunningham <joel.cunningham@oracle.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26324 Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>