From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC6eu-0002an-LI for qemu-devel@nongnu.org; Tue, 29 Jul 2014 08:37:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC6el-0000eu-32 for qemu-devel@nongnu.org; Tue, 29 Jul 2014 08:37:36 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:51382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC6ek-0000dx-QF for qemu-devel@nongnu.org; Tue, 29 Jul 2014 08:37:27 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 29 Jul 2014 13:37:25 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 646702190041 for ; Tue, 29 Jul 2014 13:37:07 +0100 (BST) Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps3075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s6TCbMS635848444 for ; Tue, 29 Jul 2014 12:37:22 GMT Received: from d06av07.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s6TCbMIl006384 for ; Tue, 29 Jul 2014 08:37:22 -0400 Message-ID: <53D79581.4020900@de.ibm.com> Date: Tue, 29 Jul 2014 14:37:21 +0200 From: Christian Borntraeger MIME-Version: 1.0 References: <1406636839-11946-1-git-send-email-tumanova@linux.vnet.ibm.com> In-Reply-To: <1406636839-11946-1-git-send-email-tumanova@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [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: Ekaterina Tumanova , Public KVM Mailing List Cc: cornelia.huck@de.ibm.com, dahi@linux.vnet.ibm.com, Stefan Hajnoczi , Kevin Wolf On 29/07/14 14:27, Ekaterina Tumanova wrote: > 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(-) > CCing Kevin and Stefan.