Message ID | 1363606979-13252-3-git-send-email-cornelia.huck@de.ibm.com |
---|---|
State | New |
Headers | show |
On 18.03.2013, at 12:42, Cornelia Huck wrote: > There's no reason why we wouldn't want to make the cache mode > configurable. > > CC: Alexander Graf <agraf@suse.de> > Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Alexander Graf <agraf@suse.de> Let's hope this whole bug category goes away with Fred's revamp of virtio :) Alex > --- > 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 >
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(), };
There's no reason why we wouldn't want to make the cache mode configurable. CC: Alexander Graf <agraf@suse.de> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> --- hw/s390x/s390-virtio-bus.c | 1 + hw/s390x/virtio-ccw.c | 1 + 2 files changed, 2 insertions(+)