]> xenbits.xensource.com Git - qemu-xen.git/commit
virtio: Add shared memory capability
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 4 May 2023 19:12:42 +0000 (12:12 -0700)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 16 Oct 2023 07:29:56 +0000 (11:29 +0400)
commit605a16a7621c139f7e112538d7773bb60108cef7
tree6d1b8d2625e45628acba11115b9bd8b34f34aa97
parent63011373ad22c794a013da69663c03f1297a5c56
virtio: Add shared memory capability

Define a new capability type 'VIRTIO_PCI_CAP_SHARED_MEMORY_CFG' to allow
defining shared memory regions with sizes and offsets of 2^32 and more.
Multiple instances of the capability are allowed and distinguished
by a device-specific 'id'.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Alyssa Ross <hi@alyssa.is>
Tested-by: Huang Rui <ray.huang@amd.com>
Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
hw/virtio/virtio-pci.c
include/hw/virtio/virtio-pci.h