qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2 v2] s390: block size auto-sensing and geometry guessing changes in common code
@ 2012-08-15  7:44 Jens Freimann
  2012-08-15  7:44 ` [Qemu-devel] [PATCH 1/2] virtio-block: support auto-sensing of block sizes Jens Freimann
  2012-08-15  7:44 ` [Qemu-devel] [PATCH 2/2] hd-geometry.c: Integrate HDIO_GETGEO in guessing Jens Freimann
  0 siblings, 2 replies; 7+ messages in thread
From: Jens Freimann @ 2012-08-15  7:44 UTC (permalink / raw)
  To: Alexander Graf
  Cc: Heinz Graalfs, qemu-devel, Christian Borntraeger, Jens Freimann,
	Cornelia Huck, Paolo Bonzini, Stefan Weinhuber, Einar Lueck

v1->v2:
do BLKPBSZGET ioctl in Patch 1/2 only when running on Linux

Here are two patches for block device characteristics detection.
The first one implements block size auto-sensing for virtio-block and
the second patch changes geometry guessing common code.
More details in the patch descriptions.

Einar Lueck (2):
  virtio-block: support auto-sensing of block sizes
  hd-geometry.c: Integrate HDIO_GETGEO in guessing

 hw/block-common.c    |  28 ++++++++++++
 hw/block-common.h    |  12 ++++--
 hw/hd-geometry.c     | 118 +++++++++++++++++++++++++++++++++++----------------
 hw/qdev-properties.c |   4 +-
 hw/s390-virtio-bus.c |   2 +-
 hw/virtio-blk.c      |   1 +
 6 files changed, 123 insertions(+), 42 deletions(-)

-- 
1.7.11.4

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Qemu-devel] [PATCH 0/2] s390: block size auto-sensing and geometry guessing changes in common code
@ 2012-08-13 10:10 Jens Freimann
  2012-08-13 10:10 ` [Qemu-devel] [PATCH 2/2] hd-geometry.c: Integrate HDIO_GETGEO in guessing Jens Freimann
  0 siblings, 1 reply; 7+ messages in thread
From: Jens Freimann @ 2012-08-13 10:10 UTC (permalink / raw)
  To: Alexander Graf
  Cc: Heinz Graalfs, qemu-devel, Christian Borntraeger, Jens Freimann,
	Cornelia Huck, Paolo Bonzini, Stefan Weinhuber, Einar Lueck

[resend because the first attempt didn't make it to the mailing list]

Here are two patches for block device characteristics detection. 
The first one implements block size auto-sensing for virtio-block and 
the second patch changes geometry guessing common code. 
More details in the patch descriptions.

Einar Lueck (2):
  virtio-block: support auto-sensing of block sizes
  hd-geometry.c: Integrate HDIO_GETGEO in guessing

 hw/block-common.c    |  23 ++++++++++
 hw/block-common.h    |  12 ++++--
 hw/hd-geometry.c     | 118 +++++++++++++++++++++++++++++++++++----------------
 hw/qdev-properties.c |   4 +-
 hw/s390-virtio-bus.c |   2 +-
 hw/virtio-blk.c      |   1 +
 6 files changed, 118 insertions(+), 42 deletions(-)

-- 
1.7.11.4

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Qemu-devel] [PATCH 0/2] s390: block size auto-sensing and geometry guessing changes in common code
@ 2012-08-13  8:40 Jens Freimann
  2012-08-13  8:40 ` [Qemu-devel] [PATCH 2/2] hd-geometry.c: Integrate HDIO_GETGEO in guessing Jens Freimann
  0 siblings, 1 reply; 7+ messages in thread
From: Jens Freimann @ 2012-08-13  8:40 UTC (permalink / raw)
  To: Alexander Graf
  Cc: Heinz Graalfs, qemu-devel, Christian Borntraeger, Jens Freimann,
	Cornelia Huck, Paolo Bonzini, Stefan Weinhuber, Einar Lueck

From: Jens Freimann <jfrei@linux.vnet.ibm.com>

Here are two patches for block device characteristics detection. 
The first one implements block size auto-sensing for virtio-block and 
the second patch changes geometry guessing common code. 
More details in the patch descriptions.

Einar Lueck (2):
  virtio-block: support auto-sensing of block sizes
  hd-geometry.c: Integrate HDIO_GETGEO in guessing

 hw/block-common.c    |  23 ++++++++++
 hw/block-common.h    |  12 ++++--
 hw/hd-geometry.c     | 118 +++++++++++++++++++++++++++++++++++----------------
 hw/qdev-properties.c |   4 +-
 hw/s390-virtio-bus.c |   2 +-
 hw/virtio-blk.c      |   1 +
 6 files changed, 118 insertions(+), 42 deletions(-)

-- 
1.7.11.4

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

end of thread, other threads:[~2012-08-20  8:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15  7:44 [Qemu-devel] [PATCH 0/2 v2] s390: block size auto-sensing and geometry guessing changes in common code Jens Freimann
2012-08-15  7:44 ` [Qemu-devel] [PATCH 1/2] virtio-block: support auto-sensing of block sizes Jens Freimann
2012-08-20  8:51   ` Paolo Bonzini
2012-08-15  7:44 ` [Qemu-devel] [PATCH 2/2] hd-geometry.c: Integrate HDIO_GETGEO in guessing Jens Freimann
2012-08-20  8:50   ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2012-08-13 10:10 [Qemu-devel] [PATCH 0/2] s390: block size auto-sensing and geometry guessing changes in common code Jens Freimann
2012-08-13 10:10 ` [Qemu-devel] [PATCH 2/2] hd-geometry.c: Integrate HDIO_GETGEO in guessing Jens Freimann
2012-08-13  8:40 [Qemu-devel] [PATCH 0/2] s390: block size auto-sensing and geometry guessing changes in common code Jens Freimann
2012-08-13  8:40 ` [Qemu-devel] [PATCH 2/2] hd-geometry.c: Integrate HDIO_GETGEO in guessing Jens Freimann

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).