numam-spdk/lib/vhost
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
..
rte_vhost vhost: add live migration support 2018-01-30 15:42:40 -05:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
vhost_blk.c vhost: unify vdev removal 2018-02-06 11:05:01 -05:00
vhost_internal.h vhost: unify vdev removal 2018-02-06 11:05:01 -05:00
vhost_rpc.c vhost: unify vdev removal 2018-02-06 11:05:01 -05:00
vhost_scsi.c vhost: unify vdev removal 2018-02-06 11:05:01 -05:00
vhost.c vhost: unify vdev removal 2018-02-06 11:05:01 -05:00