Spdk/lib/bdev/virtio/rte_virtio
Dariusz Stojaczyk 29df0140f0 rte_virtio: set FEATURES_OK for modern virtio-user devices
This patch also sets virtio_dev->modern for vhost-user
devices.

A word of explanation of what's happening now:
For virtio_pci, dev->modern is set when reading config,
as legacy devices have no Virtio PCI Capability in their
capability list. For virtio_user, the dev->modern should
be set if VIRTIO_F_VERSION_1 feature has been negotiated.

Change-Id: I056b1dcf65a5a6a87cda6499771399befdc59cb5
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/377090
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2017-09-22 12:58:51 -04:00
..
virtio_user rte_virtio: don't negotiate features twice for virtio-user 2017-09-22 12:58:51 -04:00
virtio_dev.c rte_virtio: set FEATURES_OK for modern virtio-user devices 2017-09-22 12:58:51 -04:00
virtio_dev.h rte_virtio: set FEATURES_OK for modern virtio-user devices 2017-09-22 12:58:51 -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: don't negotiate features twice for virtio-user 2017-09-22 12:58:51 -04:00
virtio_pci.h rte_virtio: added virtio_dev struct 2017-09-15 16:32:20 -04:00
virtio_queue.c rte_virtio: added virtio_dev struct 2017-09-15 16:32:20 -04:00
virtio_queue.h rte_virtio: added virtio_dev struct 2017-09-15 16:32:20 -04:00
virtio_user.c rte_virtio: don't negotiate features twice for virtio-user 2017-09-22 12:58:51 -04:00