Spdk/lib/vhost
wuzhouhui 97c45f5631 vhost: embed destroy ctx into vhost dev struct
So we don't need to do extra memory allocation when stop vhost device.
This makes code more clean.

Change-Id: I27a1b446621ce4f452fee62acd634737b4ffe174
Signed-off-by: wuzhouhui <wuzhouhui@kingsoft.com>
Reviewed-on: https://review.gerrithub.io/427336
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2018-10-03 18:43:54 +00:00
..
rte_vhost rte_vhost:rte_vhost_driver_register(): check if strdup succeeds 2018-08-24 03:58:31 +00:00
Makefile vhost_user_nvme: add vhost user nvme target to SPDK 2018-04-03 15:01:24 -04:00
vhost_blk.c vhost: embed destroy ctx into vhost dev struct 2018-10-03 18:43:54 +00:00
vhost_internal.h vhost: embed destroy ctx into vhost dev struct 2018-10-03 18:43:54 +00:00
vhost_nvme.c vhost: embed destroy ctx into vhost dev struct 2018-10-03 18:43:54 +00:00
vhost_rpc.c vhost: rpc: fix memory leak of spdk_rpc_get_vhost_controllers 2018-09-17 22:12:42 +00:00
vhost_scsi.c vhost: embed destroy ctx into vhost dev struct 2018-10-03 18:43:54 +00:00
vhost.c vhost: don't lock global vhost mutex when waiting for device start/stop 2018-09-28 18:46:11 +00:00