65165d795d
We didn't handle vq alloc or init failure, because queues are initialized all at once on device init and if one vq fails, all of them are to be destroyed. This behavior is really unintuitive, and with the latest changes we have a possible segfault scenario. (We could spdk_dma_free() a buffer that failed to allocate). It is now required that the queue allocation function cleans up after itself. Change-Id: I6cd1d30c710eb9266288905ab982db363f972a1d Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/419001 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
virtio_user | ||
Makefile | ||
virtio_pci.c | ||
virtio_user.c | ||
virtio.c |