This patch set is based on a patch suggested by Einar Lueck on Feb 08, 2013.
This patch set introduces: 1. s390x specific geometry detection: Add s390 specific version of hd_geometry_guess function, which uses HDIO_GETGEO ioctl. 2. A set of blocksize patches for autodetection of logical and physical blocksizes. Change history: 2.1 Original blocksize patch only configured autolookup for virtio-blk devices. There was a request from Stefan Hajnoczi to make this architecture-independent. Now autolookup is configured by default for all block devices. 2.2 Add driver method to probe blocksizes for "raw" and "host_device" drivers. (also requested by the reviewers of the original patch) Ekaterina Tumanova (4): hd-geometry.c: Integrate HDIO_GETGEO in guessing for target-s390x blocksize: support auto-sensing of blocksizes blocksize: Add driver method to get the blocksizes blocksize: add blkconf_blocksize call to all block devices block.c | 12 +++++++++ block/raw-posix.c | 69 ++++++++++++++++++++++++++++++++++------------- block/raw_bsd.c | 14 ++++++++++ hw/block/Makefile.objs | 6 ++++- hw/block/block.c | 25 +++++++++++++++++ hw/block/hd-geometry.c | 56 ++++++++++++++++++++++++++++++++++++++ hw/block/nvme.c | 1 + hw/block/virtio-blk.c | 1 + hw/core/qdev-properties.c | 4 ++- hw/ide/qdev.c | 1 + hw/scsi/scsi-disk.c | 1 + hw/usb/dev-storage.c | 1 + include/block/block.h | 1 + include/block/block_int.h | 5 ++++ include/hw/block/block.h | 6 +++-- 15 files changed, 180 insertions(+), 23 deletions(-) -- 1.8.5.5