numam-spdk/lib/vhost
Dariusz Stojaczyk 2fe6947669 vhost: add vhost_dev_event_ctx->vdev_id
A vdev can change between the time the event
is enqueued and executed on proper reactor.
To detect this case, the event callback
was looking up vdev with the same name and
comparing it with old vdev pointer (from
the enqueue). This is now being simplified,
by looking up the current vdev just by
it's ID.

Change-Id: I33de03809b9d56840dd99caa8ccdf190a631ef31
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/380647
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-09-28 17:05:34 -04:00
..
rte_vhost rte_vhost: fix numa_realloc() copy size 2017-09-07 18:02:09 -04:00
Makefile env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00
test_plan.md test/vhost: add vhost with lvol backends test 2017-09-20 12:53:28 -04:00
vhost_blk.c rpc/vhost: unify RPC "remove_vhost_controller" for all backends 2017-09-26 15:35:54 -04:00
vhost_internal.h rpc/vhost: unify RPC "remove_vhost_controller" for all backends 2017-09-26 15:35:54 -04:00
vhost_rpc.c rpc/vhost: unify RPC "remove_vhost_controller" for all backends 2017-09-26 15:35:54 -04:00
vhost_scsi.c rpc/vhost: unify RPC "remove_vhost_controller" for all backends 2017-09-26 15:35:54 -04:00
vhost.c vhost: add vhost_dev_event_ctx->vdev_id 2017-09-28 17:05:34 -04:00