virtio: Add get_shm_region method
authorSebastien Boeuf <sebastien.boeuf@intel.com>
Wed, 19 Aug 2020 22:19:41 +0000 (18:19 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 10 Sep 2020 08:05:58 +0000 (10:05 +0200)
commit5bfe37ca8ac8e9176bfd923d0a83802b7305d2f5
tree81bc824d69507c04766f41b4589d4157e95b55b0
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
virtio: Add get_shm_region method

Virtio defines 'shared memory regions' that provide a continuously
shared region between the host and guest.

Provide a method to find a particular region on a device.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Michael 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: Miklos Szeredi <mszeredi@redhat.com>
include/linux/virtio_config.h