qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] virtio-ccw queue as of 03/18/13
@ 2013-03-18 11:42 Cornelia Huck
  2013-03-18 11:42 ` [Qemu-devel] [PATCH 1/2] virtio-ccw: Add missing blk chs properties Cornelia Huck
  2013-03-18 11:42 ` [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk Cornelia Huck
  0 siblings, 2 replies; 5+ messages in thread
From: Cornelia Huck @ 2013-03-18 11:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alexander Graf

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(+)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 1/2] virtio-ccw: Add missing blk chs properties.
  2013-03-18 11:42 [Qemu-devel] [PATCH 0/2] virtio-ccw queue as of 03/18/13 Cornelia Huck
@ 2013-03-18 11:42 ` Cornelia Huck
  2013-03-18 11:42 ` [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk Cornelia Huck
  1 sibling, 0 replies; 5+ messages in thread
From: Cornelia Huck @ 2013-03-18 11:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alexander Graf

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
 hw/s390x/virtio-ccw.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
index d4361f6..70aba41 100644
--- a/hw/s390x/virtio-ccw.c
+++ b/hw/s390x/virtio-ccw.c
@@ -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),
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk.
  2013-03-18 11:42 [Qemu-devel] [PATCH 0/2] virtio-ccw queue as of 03/18/13 Cornelia Huck
  2013-03-18 11:42 ` [Qemu-devel] [PATCH 1/2] virtio-ccw: Add missing blk chs properties Cornelia Huck
@ 2013-03-18 11:42 ` Cornelia Huck
  2013-03-18 11:50   ` Alexander Graf
  1 sibling, 1 reply; 5+ messages in thread
From: Cornelia Huck @ 2013-03-18 11:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alexander Graf

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(+)

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk.
  2013-03-18 11:42 ` [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk Cornelia Huck
@ 2013-03-18 11:50   ` Alexander Graf
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Graf @ 2013-03-18 11:50 UTC (permalink / raw)
  To: Cornelia Huck; +Cc: qemu-devel


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
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 1/2] virtio-ccw: Add missing blk chs properties.
  2013-03-18 16:04 [Qemu-devel] [PULL 0/2] virtio-ccw patches 2013-03-18 Cornelia Huck
@ 2013-03-18 16:04 ` Cornelia Huck
  0 siblings, 0 replies; 5+ messages in thread
From: Cornelia Huck @ 2013-03-18 16:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Blue Swirl, Anthony Liguori, Aurélien Jarno

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
 hw/s390x/virtio-ccw.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
index d4361f6..70aba41 100644
--- a/hw/s390x/virtio-ccw.c
+++ b/hw/s390x/virtio-ccw.c
@@ -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),
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-18 16:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 11:42 [Qemu-devel] [PATCH 0/2] virtio-ccw queue as of 03/18/13 Cornelia Huck
2013-03-18 11:42 ` [Qemu-devel] [PATCH 1/2] virtio-ccw: Add missing blk chs properties Cornelia Huck
2013-03-18 11:42 ` [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk Cornelia Huck
2013-03-18 11:50   ` Alexander Graf
  -- strict thread matches above, loose matches on Subject: below --
2013-03-18 16:04 [Qemu-devel] [PULL 0/2] virtio-ccw patches 2013-03-18 Cornelia Huck
2013-03-18 16:04 ` [Qemu-devel] [PATCH 1/2] virtio-ccw: Add missing blk chs properties Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).