Spdk/lib/vhost
Dariusz Stojaczyk fa82f460d1 vhost: remove vdev->type field
This field was only required to check
if we can safely upcast vdev object.
We can just as well check vdev->backend
instead. The vdev->type is not needed here.

Change-Id: I525350957406d4299151e0557b9025ca7bea5371
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/396584
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.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: remove vdev->type field 2018-02-06 11:05:01 -05:00
vhost_internal.h vhost: remove vdev->type field 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: remove vdev->type field 2018-02-06 11:05:01 -05:00
vhost.c vhost: remove vdev->type field 2018-02-06 11:05:01 -05:00