Patchwork [PULL] virtio-ccw: Enable x-data-plane for virtio-ccw-blk

login
register
mail settings
Submitter Cornelia Huck
Date July 15, 2013, 3:46 p.m.
Message ID <1373903207-27085-2-git-send-email-cornelia.huck@de.ibm.com>
Download mbox | patch
Permalink /patch/259103/
State New
Headers show

Comments

Cornelia Huck - July 15, 2013, 3:46 p.m.
From: Dominik Dingel <dingel@linux.vnet.ibm.com>

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>
---
 hw/s390x/virtio-ccw.c |    3 +++
 1 file changed, 3 insertions(+)

Patch

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(),
 };