Received: from eggs.gnu.org ([208.118.235.92]:57917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHcYV-0006n5-R3 for qemu-devel@nongnu.org; Mon, 18 Mar 2013 12:05:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHcYS-0005B0-V3 for qemu-devel@nongnu.org; Mon, 18 Mar 2013 12:04:59 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:35770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHcYS-0005Ar-N8 for qemu-devel@nongnu.org; Mon, 18 Mar 2013 12:04:56 -0400 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 18 Mar 2013 16:02:22 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 82426219005A for ; Mon, 18 Mar 2013 16:06:33 +0000 (GMT) Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by b06cxnps4075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r2IG4g4u43647048 for ; Mon, 18 Mar 2013 16:04:42 GMT Received: from d06av12.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r2IG4nxs018178 for ; Mon, 18 Mar 2013 10:04:51 -0600 From: Cornelia Huck Date: Mon, 18 Mar 2013 17:04:42 +0100 Message-Id: <1363622682-13996-3-git-send-email-cornelia.huck@de.ibm.com> In-Reply-To: <1363622682-13996-1-git-send-email-cornelia.huck@de.ibm.com> References: <1363622682-13996-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Blue Swirl , Anthony Liguori , =?UTF-8?q?Aur=C3=A9lien=20Jarno?= There's no reason why we wouldn't want to make the cache mode configurable. Acked-by: Alexander Graf Signed-off-by: Cornelia Huck --- hw/s390x/s390-virtio-bus.c | 1 + hw/s390x/virtio-ccw.c | 1 + 2 files changed, 2 insertions(+) diff --git a/hw/s390x/s390-virtio-bus.c b/hw/s390x/s390-virtio-bus.c index d9b7f83..18f1292 100644 --- a/hw/s390x/s390-virtio-bus.c +++ b/hw/s390x/s390-virtio-bus.c @@ -434,6 +434,7 @@ static Property s390_virtio_blk_properties[] = { #ifdef __linux__ DEFINE_PROP_BIT("scsi", VirtIOS390Device, blk.scsi, 0, true), #endif + DEFINE_PROP_BIT("config-wce", VirtIOS390Device, blk.config_wce, 0, true), DEFINE_PROP_END_OF_LIST(), }; diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 70aba41..5795bdd 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -761,6 +761,7 @@ static Property virtio_ccw_blk_properties[] = { DEFINE_PROP_BIT("scsi", VirtioCcwDevice, blk.scsi, 0, true), #endif DEFINE_VIRTIO_BLK_FEATURES(VirtioCcwDevice, host_features[0]), + DEFINE_PROP_BIT("config-wce", VirtioCcwDevice, blk.config_wce, 0, true), DEFINE_PROP_END_OF_LIST(), }; -- 1.7.9.5