qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk.
Date: Mon, 18 Mar 2013 12:50:17 +0100

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 <address@hidden>
> Signed-off-by: Cornelia Huck <address@hidden>

Acked-by: Alexander Graf <address@hidden>

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
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]