virtio: Implement get_shm_region for MMIO transport
authorSebastien Boeuf <sebastien.boeuf@intel.com>
Wed, 19 Aug 2020 22:19:43 +0000 (18:19 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 10 Sep 2020 08:05:58 +0000 (10:05 +0200)
commit38e895487afc2ed42c11045853cbb3fa20b52b6e
treeccea9cd7d27900f957b79820f58dc08e97e55715
parent0dd4ff93f4c8dba016ad79384007da4938cd54a1
virtio: Implement get_shm_region for MMIO transport

On MMIO a new set of registers is defined for finding SHM
regions.  Add their definitions and use them to find the region.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Cc: kvm@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
drivers/virtio/virtio_mmio.c
include/uapi/linux/virtio_mmio.h