Received: from eggs.gnu.org ([2001:4830:134:3::10]:39331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbWNM-0004fd-VB for qemu-devel@nongnu.org; Mon, 14 Sep 2015 12:13:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbWNJ-00066N-Ij for qemu-devel@nongnu.org; Mon, 14 Sep 2015 12:13:04 -0400 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:33883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbWNJ-000668-E4 for qemu-devel@nongnu.org; Mon, 14 Sep 2015 12:13:01 -0400 Received: by qgez77 with SMTP id z77so119513626qge.1 for ; Mon, 14 Sep 2015 09:12:59 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Mon, 14 Sep 2015 12:12:55 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9DF0F231-EC7E-4339-8C28-6B1199BF93FD@gmail.com> References: Subject: Re: [Qemu-devel] [PATCH] ui/cocoa.m: remove open dialog code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?iso-8859-1?Q?Andreas_F=E4rber?= , qemu-devel qemu-devel On Sep 14, 2015, at 11:49 AM, Peter Maydell wrote: > Oops, I meant to cc Andreas on this but got the address wrong. >=20 > -- PMM >=20 > On 14 September 2015 at 16:43, Peter Maydell = wrote: >> On 11 September 2015 at 01:49, Programmingkid = wrote: >>> Remove the open dialog code that runs when no arguments are supplied = with >>> QEMU. >>> Not everyone needs a hard drive or cdrom to boot their target. A = user might >>> only >>> need to use their target's bios to do work. With that said, this = patch >>> removes >>> the unneeded open dialog code. >>>=20 >>> Signed-off-by: John Arbuckle >>=20 >> I admit to not being much of a fan of this feature of the >> Cocoa UI, but it has been in QEMU's OSX UI since 2005. QEMU supported Mac OS 10.3 since that time, but that wasn't enough of a=20= reason to keep supporting it. >> In particular, if you remove it then double-clicking to >> start QEMU from the Finder won't do anything useful, and >> you now have to start it from the command line. What if the user finds working with OpenBIOS useful? What if the target doesn't support a hard drive? The automatic open dialog feature does get in my way when I am working with OpenBIOS.=20 >> I agree that it does somewhat assume the x86-centric >> "just provide a disk image" semantics, but it's not clear >> to me that the most appropriate way to deal with this is >> to just rip the dialog box code out entirely. This code is from a time when the x86 target was the only thing people = paid attention to. If the user forgets to supply any arguments to QEMU, he = can=20 always just quit QEMU and start again with arguments.=20 My configuration selection feature did solve this problem by allowing = the user to load a file with QEMU's arguments inside of it.=20