Dariusz Stojaczyk 3070826140 bdev_virtio: explicitly return -1 on channel creation failure
This doesn't change any behavior
as queue_idx was always either
0 or -1, but makes it clear that
this function always returns
-1 on error. This is required
by current io_channel implementation.

Change-Id: I2b613ab9ff1e48d5b4aee0cd499bbc0a04cb765c
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/382927
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2017-10-19 00:33:06 -04:00
..
2017-10-17 16:26:02 -04:00
2017-10-10 10:56:34 -04:00
2017-10-18 13:08:45 -04:00
2017-10-10 10:56:34 -04:00
2017-09-28 12:46:18 -04:00
2017-08-01 13:43:14 -04:00
2017-09-19 17:15:15 -04:00
2017-09-14 19:30:54 -04:00