Spdk/lib/bdev/virtio/rte_virtio
Dariusz Stojaczyk 1faea41722 bdev_virtio: destruct all vdevs on shutdown
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>
2017-10-09 14:08:28 -04:00
..
virtio_user rte_virtio: cleanup feature negotiation 2017-10-06 17:15:19 -04:00
virtio_dev.c bdev_virtio: destruct all vdevs on shutdown 2017-10-09 14:08:28 -04:00
virtio_dev.h rte_virtio: cleanup feature negotiation 2017-10-06 17:15:19 -04:00
virtio_logs.h bdev_virtio: fix logging with enabled debug 2017-09-11 19:10:43 -04:00
virtio_pci.c rte_virtio: use linux headers where possible 2017-10-06 17:15:19 -04:00
virtio_pci.h rte_virtio: use linux headers where possible 2017-10-06 17:15:19 -04:00
virtio_queue.c rte_virtio: added virtio_dev struct 2017-09-15 16:32:20 -04:00
virtio_queue.h rte_vhost: make vtpci macros lowercase 2017-10-05 19:24:00 -04:00
virtio_user.c rte_virtio: use linux headers where possible 2017-10-06 17:15:19 -04:00