Spdk/lib/bdev/virtio/rte_virtio
Dariusz Stojaczyk f67dddc6f4 bdev_virtio: fix memleak on init failure
This patch also introduces
vq->poller_ctx. It will be later
reused for per-virtqueue task pools
to allow multiple threads using
the same virtqueue.

Since at the time of scanning there
is no I/O traffic, this field is
now being used to keep scan base
pointer. It has to be freed if an
initialization error occurs.

Change-Id: Ia54ee6c8402d38218dc811b4994761105d17269a
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/382199
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-10-17 15:21:09 -04:00
..
virtio_user bdev_virtio: implement multiqueue 2017-10-16 15:48:09 -04:00
virtio_dev.c bdev_virtio: fix memleak on init failure 2017-10-17 15:21:09 -04:00
virtio_dev.h bdev_virtio: fix memleak on init failure 2017-10-17 15:21:09 -04:00
virtio_pci.c bdev_virtio: implement multiqueue 2017-10-16 15:48:09 -04:00
virtio_pci.h rte_virtio: use linux headers where possible 2017-10-06 17:15:19 -04:00
virtio_user.c rte_virtio: removed virtio_logs.h 2017-10-16 15:48:09 -04:00