From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2INF-00048V-7y for qemu-devel@nongnu.org; Thu, 03 Nov 2016 09:48:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2IN9-0002tg-QL for qemu-devel@nongnu.org; Thu, 03 Nov 2016 09:48:09 -0400 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= Date: Thu, 3 Nov 2016 14:47:47 +0100 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH for-2.8 0/2] raw_bsd: Fixing use of the 'offset' option without 'size' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= , Kevin Wolf , Max Reitz , qemu-block@nongnu.org The patch set contains two patches related to the use of 'offset' option: - The first patch is purely cosmetic. Although it touches overflow check it only affects what error message is produced. - Second patch lessens the restriction on the size alignment when only 'offset' is specified. The restriction is not only unneeded, it makes it difficult to use the 'offset' option. Tom=C3=A1=C5=A1 Golembiovsk=C3=BD (2): raw_bsd: move check to prevent overflow raw_bsd: don't check size alignment when only offset is set block/raw_bsd.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --=20 2.10.1