virtio-ccw: Handle extra notification data
authorJonah Palmer <jonah.palmer@oracle.com>
Fri, 15 Mar 2024 16:55:55 +0000 (12:55 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jul 2024 18:56:23 +0000 (14:56 -0400)
commit594b543a4a75d08f47e5ea92c96a89502a3eab72
treed3f9768556037e3b826f737d07a61f7da6d04ded
parent54869366be60af2eb52cffaedad73ba1f4247e15
virtio-ccw: Handle extra notification data

Add support to virtio-ccw devices for handling the extra data sent from
the driver to the device when the VIRTIO_F_NOTIFICATION_DATA transport
feature has been negotiated.

The extra data that's passed to the virtio-ccw device when this feature
is enabled varies depending on the device's virtqueue layout.

That data passed to the virtio-ccw device is in the same format as the
data passed to virtio-pci devices.

Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <20240315165557.26942-5-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/s390x/s390-virtio-ccw.c