virtio-ccw queue as of 03/18/13
PATCH 1/2 virtio-ccw: Add missing blk chs properties.
In reply to Cornelia Huck--- hw/s390x/virtio-ccw.c | 1 + 1 file changed, 1 insertion(+)
hw/s390x/virtio-ccw.c +1 -0
@@ -755,6 +755,7 @@ static const TypeInfo virtio_ccw_net = {static Property virtio_ccw_blk_properties[] = {DEFINE_PROP_STRING ("devno" , VirtioCcwDevice, bus_id),DEFINE_BLOCK_PROPERTIES (VirtioCcwDevice, blk.conf), +DEFINE_BLOCK_CHS_PROPERTIES (VirtioCcwDevice, blk.conf),DEFINE_PROP_STRING ("serial" , VirtioCcwDevice, blk.serial), #ifdef __linux__ DEFINE_PROP_BIT("scsi", VirtioCcwDevice, blk.scsi, 0, true),
Signature · 1 line
1.7.9.5
PATCH 2/2 s390-virtio, virtio-ccw: Add config_wce for virtio-blk.
In reply to Cornelia HuckThere's no reason why we wouldn't want to make the cache mode configurable.
--- hw/s390x/s390-virtio-bus.c | 1 + hw/s390x/virtio-ccw.c | 1 + 2 files changed, 2 insertions(+)
hw/s390x/s390-virtio-bus.c +1 -0
@@ -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(), };
hw/s390x/virtio-ccw.c +1 -0
@@ -761,6 +761,7 @@ static Property virtio_ccw_blk_properties[] = {DEFINE_PROP_BIT ("scsi" , VirtioCcwDevice, blk.scsi,0 , true), #endifDEFINE_VIRTIO_BLK_FEATURES (VirtioCcwDevice, host_features[0 ]), +DEFINE_PROP_BIT ("config-wce" , VirtioCcwDevice, blk.config_wce,0 , true), DEFINE_PROP_END_OF_LIST(), };
Signature · 1 line
1.7.9.5
cover virtio-ccw queue as of 03/18/13
The following patches can be found in my git tree at
git://github.com/cohuck/qemu virtio-ccw-upstr
Current patches in the virtio-ccw queue deal both with adding some missing properties for virtio-blk.
Alex: Could you please ack patch 2 for s390-virtio, or would you prefer to take it through your tree?
Cornelia Huck (2):
virtio-ccw: Add missing blk chs properties. s390-virtio, virtio-ccw: Add config_wce for virtio-blk.
hw/s390x/s390-virtio-bus.c | 1 + hw/s390x/virtio-ccw.c | 2 ++ 2 files changed, 3 insertions(+)
Signature · 1 line
1.7.9.5
Re: [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk.
In reply to Cornelia HuckQuoted 5 lines · Cornelia Huck
There's no reason why we wouldn't want to make the cache mode configurable.
CC Alexander Graf <[email protected]>Signed-off-by Cornelia Huck <[email protected]>
Let's hope this whole bug category goes away with Fred's revamp of virtio :)
Alex
Quoted 32 lines
---
hw/s390x/s390-virtio-bus.c | 1 + hw/s390x/virtio-ccw.c | 1 + 2 files changed, 2 insertions(+)hw/s390x/s390-virtio-bus.c +1
-0@@ -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(), };hw/s390x/virtio-ccw.c +1
-0@@ -761,6 +761,7 @@ static Property virtio_ccw_blk_properties[] = {DEFINE_PROP_BIT ("scsi" , VirtioCcwDevice, blk.scsi,0 , true), #endifDEFINE_VIRTIO_BLK_FEATURES (VirtioCcwDevice, host_features[0 ]), +DEFINE_PROP_BIT ("config-wce" , VirtioCcwDevice, blk.config_wce,0 , true), DEFINE_PROP_END_OF_LIST(), };Signature · 1 line
1.7.9.5