numam-spdk/app
Jim Harris df7cf89394 iscsi, vhost, nvmf: allow running without config file
If the default config file does not exist, keep the
app's config_file options field as NULL, so that the
app code will not fail when trying to open a non-existent
file.

Also leverage the recent iSCSI and NVMe-oF refactoring,
to just skip trying to read config file parameters if no
config file exists (or the requisite section in the config
file is not present).  vhost already handled this so it did
not need to be modified.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ic32f0a7a8ce85322a8effd537b62d14732d7b82e

Reviewed-on: https://review.gerrithub.io/385497
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-11-03 18:42:53 -04:00
..
iscsi_tgt iscsi, vhost, nvmf: allow running without config file 2017-11-03 18:42:53 -04:00
iscsi_top Make iscsi app to work on freebsd 2017-08-01 13:42:02 -04:00
nvmf_tgt iscsi, vhost, nvmf: allow running without config file 2017-11-03 18:42:53 -04:00
trace include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
vhost iscsi, vhost, nvmf: allow running without config file 2017-11-03 18:42:53 -04:00
Makefile Make iscsi app to work on freebsd 2017-08-01 13:42:02 -04:00