summaryrefslogtreecommitdiffstats
path: root/hw/s390x/virtio-ccw.c
diff options
context:
space:
mode:
authorDominik Dingel <dingel@linux.vnet.ibm.com>2013-07-11 13:22:19 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2013-07-15 17:39:04 +0200
commitbf72d89f0a8fb27a6bfde1a689690fd577227762 (patch)
tree510b1e79d3a2423937ca2a1c92627484a0bbdcb0 /hw/s390x/virtio-ccw.c
parentc3cb8e77804313e1be99b5f28a34a346736707a5 (diff)
downloadhqemu-bf72d89f0a8fb27a6bfde1a689690fd577227762.zip
hqemu-bf72d89f0a8fb27a6bfde1a689690fd577227762.tar.gz
virtio-ccw: Enable x-data-plane for virtio-ccw-blk
Add property x-data-plane to virtio-ccw-blk devices. Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x/virtio-ccw.c')
-rw-r--r--hw/s390x/virtio-ccw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
index e744957..8835bd4 100644
--- a/hw/s390x/virtio-ccw.c
+++ b/hw/s390x/virtio-ccw.c
@@ -1031,6 +1031,9 @@ static Property virtio_ccw_blk_properties[] = {
DEFINE_VIRTIO_BLK_PROPERTIES(VirtIOBlkCcw, blk),
DEFINE_PROP_BIT("ioeventfd", VirtioCcwDevice, flags,
VIRTIO_CCW_FLAG_USE_IOEVENTFD_BIT, true),
+#ifdef CONFIG_VIRTIO_BLK_DATA_PLANE
+ DEFINE_PROP_BIT("x-data-plane", VirtIOBlkCcw, blk.data_plane, 0, false),
+#endif
DEFINE_PROP_END_OF_LIST(),
};
OpenPOWER on IntegriCloud