09af33b6a4
Previously virtio_hw was managing both VirtIO PCI and vhost-user devices. Now's there virtio_dev, a common part for both backends. virtio_hw is only used for PCI. Note that this patch does not introduce another abstraction layer. It only unifies an already existing one. Previously virtio_user_dev was built on top of virtio_hw, with most PCI fields just hanging there unused. Now both, virtio_user_dev and virtio_hw are built on top of virtio_dev. Change-Id: Ida25defc0063055a81cf4039c9b85470b9880bc3 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/376966 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>