From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNIna-0008Lq-R8 for qemu-devel@nongnu.org; Mon, 16 Feb 2015 05:21:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNInV-0004DH-Rp for qemu-devel@nongnu.org; Mon, 16 Feb 2015 05:21:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNInV-0004D5-L6 for qemu-devel@nongnu.org; Mon, 16 Feb 2015 05:21:01 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1GAL0Cx003805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 16 Feb 2015 05:21:00 -0500 Date: Mon, 16 Feb 2015 11:20:59 +0100 From: Kevin Wolf Message-ID: <20150216102059.GE4079@noname.str.redhat.com> References: <1423671745-31547-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423671745-31547-1-git-send-email-kwolf@redhat.com> Subject: Re: [Qemu-devel] [PATCH] vpc: Fix size in fixed image creation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefanha@redhat.com Am 11.02.2015 um 17:22 hat Kevin Wolf geschrieben: > If total_sectors is rounded to match the geometry, total_size needs to > be changed as well. Otherwise we end up with an image whose geometry > describes a disk larger than the image file, which doesn't end well. > > Signed-off-by: Kevin Wolf Applied to the block branch. Kevin