Received: from eggs.gnu.org ([2001:4830:134:3::10]:49136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur2us-0005G3-54 for qemu-devel@nongnu.org; Mon, 24 Jun 2013 05:18:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ur2uq-0001dR-Ls for qemu-devel@nongnu.org; Mon, 24 Jun 2013 05:18:30 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:54787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ur2uq-0001dF-Gu for qemu-devel@nongnu.org; Mon, 24 Jun 2013 05:18:28 -0400 Received: by mail-wi0-f174.google.com with SMTP id k10so2336725wiv.1 for ; Mon, 24 Jun 2013 02:18:27 -0700 (PDT) Date: Mon, 24 Jun 2013 11:18:24 +0200 From: Stefan Hajnoczi Message-ID: <20130624091824.GB19900@stefanha-thinkpad.redhat.com> References: <1371093689-18228-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1371093689-18228-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] vmdk: refuse to open higher version than supported List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , Jeffrey Cody , qemu-devel@nongnu.org, stefanha@redhat.com On Thu, Jun 13, 2013 at 11:21:29AM +0800, Fam Zheng wrote: > Refuse to open higher version for safety. > > Although we try to be compatible with published VMDK spec, VMware has > newer version from ESXi 5.1 exported OVF/OVA, which we have no knowledge > what's changed in it. And it is very likely to have more new versions in > the future, so it's not safe to open them blindly. > > Signed-off-by: Fam Zheng > > --- > > v2: Report error and return -ENOTSUP. > > --- > block/vmdk.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan