1faea41722
This patch also resets each device before destructing it. This is urgently required for virtio_pci, as it notifies the QEMU about our shutdown. This patch fixes running subsequent bdev_virtio instances in PCI mode within the same vhost. Change-Id: I2569251362f2aaf058f6e44f068b280244bd38c1 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/381201 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>