From patchwork Sun Dec 8 22:59:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 22143 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AE62B23FDD for ; Sun, 8 Dec 2013 22:59:10 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id a41sf6816432yho.4 for ; Sun, 08 Dec 2013 14:59:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=MQlOOr3+T5RoxadjfakUlOC7+keEvlbCuXoIce12ib0=; b=NxFi3D8p2cm+LUMH0jQGuXimaxmmk0pwv13YFe1WOqxSVpCM9zQ4XGjeWhEM0qWNC3 raKhC3gOnSFc5dCe4f4FYFU9Cx5b/Vr8UIWIsF0MsqrgbEndrxTEAeddoQiwR23FFOI1 aDi4vsiX8tzp0E+JTbOd17qcvSLdFnSkPtycv0LhzySvST24qmbiTXZ3aLEIiypCESRY OeVPT1R6F1GO/naradgDeHurUNSfcEaAn4J7KXHnypIQuewy+3mG4Wa4zJwI2HDCEhLx n5r4EtHAztAMH11xTJSOF789XnDpQaC2ZFWim/BMIv6U4+35yT7e9H/W/3WGsKMfPadw 0LiQ== X-Gm-Message-State: ALoCoQnhFTivgVh/eAM6M9LgNjxeW3U3HarGsxSG8rOjBLIRcbzHBz7g4pLoGRXHDkfzYSnjYybb X-Received: by 10.236.0.232 with SMTP id 68mr4369872yhb.16.1386543549968; Sun, 08 Dec 2013 14:59:09 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.38.36 with SMTP id d4ls1863561qek.7.gmail; Sun, 08 Dec 2013 14:59:09 -0800 (PST) X-Received: by 10.221.49.135 with SMTP id va7mr250264vcb.50.1386543549857; Sun, 08 Dec 2013 14:59:09 -0800 (PST) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by mx.google.com with ESMTPS id y5si2883119vck.2.2013.12.08.14.59.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 08 Dec 2013 14:59:09 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.49 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.49; Received: by mail-vb0-f49.google.com with SMTP id x11so12252vbb.36 for ; Sun, 08 Dec 2013 14:59:09 -0800 (PST) X-Received: by 10.52.169.227 with SMTP id ah3mr254843vdc.45.1386543549507; Sun, 08 Dec 2013 14:59:09 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp65222vcz; Sun, 8 Dec 2013 14:59:09 -0800 (PST) X-Received: by 10.194.57.243 with SMTP id l19mr12520276wjq.54.1386543548538; Sun, 08 Dec 2013 14:59:08 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id pf5si3395487wjb.13.2013.12.08.14.59.07 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 08 Dec 2013 14:59:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::1 as permitted sender) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1VpnJb-0008JX-3k; Sun, 08 Dec 2013 22:59:07 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [PATCH 4/5] ui/cocoa: Add ".qcow2" to extension list for image load dialog Date: Sun, 8 Dec 2013 22:59:05 +0000 Message-Id: <1386543546-31919-5-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1386543546-31919-1-git-send-email-peter.maydell@linaro.org> References: <1386543546-31919-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.49 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add ".qcow2" to the list of file extensions which are accepted by the initial disk image load dialog which is displayed if the user runs QEMU without any command line arguments. Signed-off-by: Peter Maydell --- ui/cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index c5ab5a4..4ca1477 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -786,7 +786,7 @@ QemuCocoaView *cocoaView; [op setPrompt:@"Boot image"]; [op setMessage:@"Select the disk image you want to boot.\n\nHit the \"Cancel\" button to quit"]; NSArray *filetypes = [NSArray arrayWithObjects:@"img", @"iso", @"dmg", - @"qcow", @"cow", @"cloop", @"vmdk", nil]; + @"qcow", @"qcow2", @"cow", @"cloop", @"vmdk", nil]; #if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6) [op setAllowedFileTypes:filetypes]; [op beginSheetModalForWindow:normalWindow