Received: from eggs.gnu.org ([2001:4830:134:3::10]:35135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjMnk-0004RT-QZ for qemu-devel@nongnu.org; Wed, 29 Oct 2014 02:32:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjMne-0003Re-Ii for qemu-devel@nongnu.org; Wed, 29 Oct 2014 02:32:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjMne-0003QZ-C6 for qemu-devel@nongnu.org; Wed, 29 Oct 2014 02:32:06 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9T6W5gl003731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 29 Oct 2014 02:32:05 -0400 From: Markus Armbruster References: <1414512220-19058-1-git-send-email-armbru@redhat.com> <1414512220-19058-3-git-send-email-armbru@redhat.com> <20141029011653.GC5490@fam-t430.nay.redhat.com> Date: Wed, 29 Oct 2014 07:32:02 +0100 In-Reply-To: <20141029011653.GC5490@fam-t430.nay.redhat.com> (Fam Zheng's message of "Wed, 29 Oct 2014 09:16:53 +0800") Message-ID: <87lhnzjsil.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH RFC 2/2] block: Warn on insecure format probing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: kwolf@redhat.com, jcody@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com Fam Zheng writes: > On Tue, 10/28 17:03, Markus Armbruster wrote: >> diff --git a/block/vmdk.c b/block/vmdk.c >> index 673d3f5..91a42d2 100644 >> --- a/block/vmdk.c >> +++ b/block/vmdk.c >> @@ -2225,6 +2225,7 @@ static BlockDriver bdrv_vmdk = { >> .format_name = "vmdk", >> .instance_size = sizeof(BDRVVmdkState), >> .bdrv_probe = vmdk_probe, >> + .fname_ext = { "vdmk" }, > > s/vdmk/vmdk/ D'oh! Thanks :) > > Fam > >> .bdrv_open = vmdk_open, >> .bdrv_check = vmdk_check, >> .bdrv_reopen_prepare = vmdk_reopen_prepare,