Dariusz Stojaczyk 5accfd577c rte_virtio: added virtio_dev_deinit
virtio_dev can now be freed via virtio_dev_deinit.

While here, also rename virtio_init_device to
virtio_dev_init for name consistency.

This patch also adds some error-checking.

Change-Id: Ic1222756b8686fbd8a14d8631f25525249529e1d
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/379335
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-29 13:02:09 -04:00
..
2017-09-29 13:02:09 -04:00
2017-09-28 12:46:18 -04:00
2017-09-26 14:28:24 -04:00
2017-08-29 15:07:13 -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