diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2013-03-13 15:20:07 +0100 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2013-03-20 08:22:47 +0100 |
commit | da0a58b93c88d874233902f459e01300a78e5f9d (patch) | |
tree | 02e9c766a9413eb9e30472a23a405020a0ad5a27 /hw/s390x/virtio-ccw.c | |
parent | 131cd73705bc5551ae4b64476399d440e8ac55a7 (diff) |
s390-virtio, virtio-ccw: Add config_wce for virtio-blk.
There's no reason why we wouldn't want to make the cache mode
configurable.
Acked-by: Alexander Graf <agraf@suse.de>
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index fc95116d48..afaf3486b2 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -762,6 +762,7 @@ static Property virtio_ccw_blk_properties[] = { #ifdef __linux__ DEFINE_PROP_BIT("scsi", VirtIOBlkCcw, blk.scsi, 0, true), #endif + DEFINE_PROP_BIT("config-wce", VirtIOBlkCcw, blk.config_wce, 0, true), DEFINE_VIRTIO_BLK_FEATURES(VirtioCcwDevice, host_features[0]), DEFINE_PROP_END_OF_LIST(), }; |