From patchwork Tue Feb 12 12:33:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 219842 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1DCDB2C0330 for ; Tue, 12 Feb 2013 23:34:38 +1100 (EST) Received: from localhost ([::1]:54134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5F4G-0007f6-AE for incoming@patchwork.ozlabs.org; Tue, 12 Feb 2013 07:34:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5F45-0007eI-GH for qemu-devel@nongnu.org; Tue, 12 Feb 2013 07:34:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5F41-0003Qg-U2 for qemu-devel@nongnu.org; Tue, 12 Feb 2013 07:34:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5F41-0003QV-N3 for qemu-devel@nongnu.org; Tue, 12 Feb 2013 07:34:21 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1CCYKpR020573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 12 Feb 2013 07:34:21 -0500 Received: from localhost (ovpn-112-27.ams2.redhat.com [10.36.112.27]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r1CCYJDL030842; Tue, 12 Feb 2013 07:34:20 -0500 From: Stefan Hajnoczi To: Date: Tue, 12 Feb 2013 13:33:41 +0100 Message-Id: <1360672423-2286-1-git-send-email-stefanha@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Anthony Liguori , Stefan Hajnoczi Subject: [Qemu-devel] [PULL for-1.4 0/2] Block patches X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Revert the vpc size fix which breaks compatibility with VirtualPC. Also error out on startup when a read-only block device is configured as a read-write -drive. This makes Linux read-only block devices behave like read-only regular files, and the error is reported immediately on startup instead of raising EIO once the guest is running. The following changes since commit 58fa4325228f61d58317f48364259b31e9b92d15: qapi: Improve chardev-add documentation (2013-02-11 13:22:52 -0600) are available in the git repository at: git://github.com/stefanha/qemu.git block for you to fetch changes up to 33ccf6675faa3c56f30399e184064fd126904515: Revert "block/vpc: Fix size calculation" (2013-02-12 12:25:15 +0100) ---------------------------------------------------------------- Stefan Hajnoczi (2): block/raw-posix: detect readonly Linux block devices using BLKROGET Revert "block/vpc: Fix size calculation" block/raw-posix.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- block/vpc.c | 14 +++++--------- 2 files changed, 53 insertions(+), 10 deletions(-)