Received: from eggs.gnu.org ([2001:4830:134:3::10]:37807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC6VK-0005S3-1J for qemu-devel@nongnu.org; Tue, 29 Jul 2014 08:27:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC6V6-00067J-QI for qemu-devel@nongnu.org; Tue, 29 Jul 2014 08:27:41 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:36819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC6V6-000671-GJ for qemu-devel@nongnu.org; Tue, 29 Jul 2014 08:27:28 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 29 Jul 2014 13:27:26 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 3854617D804E for ; Tue, 29 Jul 2014 13:29:06 +0100 (BST) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s6TCRNHT34275434 for ; Tue, 29 Jul 2014 12:27:23 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s6TCRMLd005574 for ; Tue, 29 Jul 2014 06:27:23 -0600 From: Ekaterina Tumanova Date: Tue, 29 Jul 2014 14:27:15 +0200 Message-Id: <1406636839-11946-1-git-send-email-tumanova@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/4] Geometry and blocksize support for backing devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Public KVM Mailing List Cc: cornelia.huck@de.ibm.com, dahi@linux.vnet.ibm.com, Ekaterina Tumanova , borntraeger@de.ibm.com 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