Loading
virtio/pci: add user callback for creating PCI vdevs
Added virtio_pci_dev_init, an equivalent to virtio_user_dev_init. It takes an opaque pci context pointer that is provided via virtio PCI enumerate API. virtio_pci will do only PCI-related initialization. The virtio_dev creation and SCSI-specific logic now belong to upper layers Change-Id: I7ad450591f893c4ab953c09cfb6441b186736751 Signed-off-by:Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/388302 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>