Hi, here is a reworked version. V2->V3: * introduced a hook for target specific geoemtry guessing ** target-s390x: as suggested in previous patch ** all other: like before
Einar Lueck (2): hd-geometry.c: Integrate HDIO_GETGEO in guessing for target-s390x virtio-block: support auto-sensing of block sizes hw/Makefile.objs | 6 +++- hw/block-common.c | 23 +++++++++++++++ hw/block-common.h | 12 ++++++-- hw/hd-geometry.c | 70 +++++++++++++++++++++++++++++++++++++++++++++- hw/qdev-properties.c | 4 ++- hw/s390x/s390-virtio-bus.c | 2 +- hw/virtio-blk.c | 1 + 7 files changed, 111 insertions(+), 7 deletions(-) -- 1.7.12.4