virtio: Implement get_shm_region for PCI transport
On PCI the shm regions are found using capability entries; find a region by searching for the capability. Signed-off-by: NSebastien Boeuf <sebastien.boeuf@intel.com> Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Nkbuild test robot <lkp@intel.com> Acked-by: NMichael S. Tsirkin <mst@redhat.com> Cc: kvm@vger.kernel.org Cc: virtualization@lists.linux-foundation.org Cc: "Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: NMiklos Szeredi <mszeredi@redhat.com>
Showing
想要评论请 注册 或 登录