From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwpyd-0003pd-7H for qemu-devel@nongnu.org; Wed, 19 Oct 2016 08:28:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwpyc-0004m5-D4 for qemu-devel@nongnu.org; Wed, 19 Oct 2016 08:28:11 -0400 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= Date: Wed, 19 Oct 2016 14:27:55 +0200 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v4] Add 'offset' and 'size' options 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 , Markus Armbruster , Eric Blake , qemu-block@nongnu.org, "Daniel P . Berrange" v3 -> v4: - fix stupid compilation error and formatting issue v2 -> v3: - changed overflow check to make it clearer - produce error instead of warning when size is not multiple of sector size v1 -> v2: - options were moved from 'file' driver into 'raw' driver as suggested - added support for writing, reopen and truncate when possible Tom=C3=A1=C5=A1 Golembiovsk=C3=BD (1): raw_bsd: add offset and size options block/raw_bsd.c | 168 +++++++++++++++++++++++++++++++++++++++++++++= +++++- qapi/block-core.json | 16 ++++- 2 files changed, 180 insertions(+), 4 deletions(-) --=20 2.10.0