Received: from eggs.gnu.org ([2001:4830:134:3::10]:49545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlqiK-0003mF-Kp for qemu-devel@nongnu.org; Wed, 27 Nov 2013 20:48:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlqiE-0004a9-Mo for qemu-devel@nongnu.org; Wed, 27 Nov 2013 20:48:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlqiE-0004Zr-Du for qemu-devel@nongnu.org; Wed, 27 Nov 2013 20:48:14 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rAS1mBva009919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Nov 2013 20:48:12 -0500 From: Fam Zheng Date: Thu, 28 Nov 2013 09:48:02 +0800 Message-Id: <1385603284-20104-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] vmdk: Allow version 3 read only open List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, stefanha@redhat.com According to an update on VMware Knowledge Base [KB 2064959], we should be safe to open version 3 as read only. This is meaningful as an compatibility improvement, so let's enable it. v2: [01] Parentheses around "flags & BDRV_O_RDWR". (Paolo) Add comments. (Stefan) Fam Zheng (2): vmdk: Allow read only open of VMDK version 3 qemu-iotests: Add sample image and test for VMDK version 3 block/vmdk.c | 9 ++++++++- tests/qemu-iotests/059 | 5 +++++ tests/qemu-iotests/059.out | 5 +++++ tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2 | Bin 0 -> 414 bytes 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2 -- 1.8.4.2