Spdk/test/unit/lib/vhost/vhost_scsi.c
Dariusz Stojaczyk 672588d736 vhost: unify vdev removal
Instead of:

 * spdk_vhost_scsi_dev_remove(vdev)
 * spdk_vhost_blk_dev_remove(vdev)

we now have

 * spdk_vhost_dev_remove(vdev)

All the logic is already handled internally. This patch only
changes the API. Also, previous vhost_dev_construct()/remove()
functions have been renamed to vhost_dev_register()/unregister()
because that's what they really do.

Change-Id: I7dd0d77bc5b633bec075e0a71345ddbed62697b4
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/396574
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
2018-02-06 11:05:01 -05:00
..
.gitignore ut/vhost: add UT coverage for vhost_scsi.c 2017-09-05 17:58:25 -04:00
Makefile ut/vhost: add UT coverage for vhost_scsi.c 2017-09-05 17:58:25 -04:00
vhost_scsi_ut.c vhost: unify vdev removal 2018-02-06 11:05:01 -05:00