Spdk/lib/vhost
Dariusz Stojaczyk 78360d5646 vhost: extracted alloc/free out of vhost_dev constructor/destructor
* spdk_vhost_dev_create() operates on **existing** vhost_devs, rather
than allocates and returns them.
 * spdk_vhost_dev_destruct() no longer deallocates devices

This is a preparation for making vhost_dev a direct field of
vhost_scsi_dev (no longer a pointer). That patch would be too massive
to contain this one.

Change-Id: Idec84cee22795ad88e8499eb933664c4b8c7d101
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/362187
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2017-05-25 18:30:44 -04:00
..
linux vhost: add copy of virtio headers 2017-03-23 13:51:04 -07:00
rte_vhost vhost: close remaining memory region FDs during backend cleanup 2017-05-24 11:53:47 -04:00
Makefile vhost: enable VFIO 2017-04-24 12:20:04 -07:00
task.c scsi: remove spdk_scsi_task::owner_task_ctr 2017-05-15 10:12:42 -07:00
task.h scsi: remove spdk_scsi_task::owner_task_ctr 2017-05-15 10:12:42 -07:00
vhost_iommu.c vhost: fix deadlock on VFIO registration failure 2017-05-24 11:49:11 -04:00
vhost_iommu.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
vhost_rpc.c vhost: added rpc commands to remove vhost controllers and devices 2017-05-18 01:01:46 -07:00
vhost.c vhost: extracted alloc/free out of vhost_dev constructor/destructor 2017-05-25 18:30:44 -04:00