Received: from eggs.gnu.org ([2001:4830:134:3::10]:34142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPCll-0007Ge-RS for qemu-devel@nongnu.org; Wed, 03 Sep 2014 11:46:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPClc-0003hf-Q3 for qemu-devel@nongnu.org; Wed, 03 Sep 2014 11:46:49 -0400 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:57101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPClc-0003gl-KQ for qemu-devel@nongnu.org; Wed, 03 Sep 2014 11:46:40 -0400 Received: by mail-wi0-f176.google.com with SMTP id bs8so1203062wib.9 for ; Wed, 03 Sep 2014 08:46:39 -0700 (PDT) Date: Wed, 3 Sep 2014 16:46:36 +0100 From: Stefan Hajnoczi Message-ID: <20140903154636.GB30664@stefanha-thinkpad.redhat.com> References: <1406636839-11946-1-git-send-email-tumanova@linux.vnet.ibm.com> <1406636839-11946-5-git-send-email-tumanova@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qcHopEYAB45HaUaB" Content-Disposition: inline In-Reply-To: <1406636839-11946-5-git-send-email-tumanova@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH 4/4] blocksize: add blkconf_blocksize call to all block devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ekaterina Tumanova Cc: cornelia.huck@de.ibm.com, dahi@linux.vnet.ibm.com, Public KVM Mailing List , borntraeger@de.ibm.com --qcHopEYAB45HaUaB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 29, 2014 at 02:27:19PM +0200, Ekaterina Tumanova wrote: > This patch add the blkconf_blocksize call to all > devices, which use DEFINE_BLOCK_PROPERTIES. > If the underlying driver function fails, blkconf_blocksizes > will set blocksizes to default (512) value. >=20 > Signed-off-by: Ekaterina Tumanova > Reviewed-by: David Hildenbrand > Acked-by: Cornelia Huck > --- > hw/block/nvme.c | 1 + > hw/block/virtio-blk.c | 1 + > hw/ide/qdev.c | 1 + > hw/scsi/scsi-disk.c | 1 + > hw/usb/dev-storage.c | 1 + > include/hw/block/block.h | 4 ++-- > 6 files changed, 7 insertions(+), 2 deletions(-) Wasn't this NACKed before on the grounds that it is likely to upset the guest after live migration? QEMU doesn't automatically query the storage because these parameters must be preserved across migration. The knowledge of these fields belongs in the management tool that orchestrates migration, not QEMU. If you want specific parameters, please put them in your guest configuration. QEMU and libvirt support that. I'm concerned that this patch serious is likely to break things and autodetection doesn't add much value since the management tool needs to be aware of this information anyway. Stefan --qcHopEYAB45HaUaB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUBzfcAAoJEJykq7OBq3PIfrcIAIljKriVcg1qhLp85lm0wDaK UwF16V+3euDwDpWqJ6S4DXr6hbqg5plm5TZjDxzAber+q7rkM5fOA43uB6KIJL4U eoJJMWlB3G7cmy+Y+aHqeQqNCe/v/KGKA2vFtTeDUsrw/YUw90SkvQA/7Xk7Y+9z dA1S6AxdGtq+0XgHvS7iloBGHkSp9KmEy3mA31IJsowcO1p3wqE+RRVaUqhiMsAq FhXqFtmvmnAjAM9s6muby+7H09SB3vpqFChZggXWHh36LYVmF/GwUdidzOE1M6L7 hRA63z3XsQm0FM3CQ29HF8BUXLVzfZch8m+zcC40z7OkB834xFpRWCE2mRGszuM= =Z8GT -----END PGP SIGNATURE----- --qcHopEYAB45HaUaB--