Received: from eggs.gnu.org ([2001:4830:134:3::10]:51429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdJdl-0007J5-VE for qemu-devel@nongnu.org; Sat, 19 Sep 2015 11:01:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdJdi-0006by-Ph for qemu-devel@nongnu.org; Sat, 19 Sep 2015 11:01:25 -0400 Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:34261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdJdi-0006bP-Lk for qemu-devel@nongnu.org; Sat, 19 Sep 2015 11:01:22 -0400 Received: by qkfq186 with SMTP id q186so30183203qkf.1 for ; Sat, 19 Sep 2015 08:01:21 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Sat, 19 Sep 2015 11:01:19 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9DF0F231-EC7E-4339-8C28-6B1199BF93FD@gmail.com> 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 19, 2015, at 10:58 AM, Peter Maydell wrote: > On 14 September 2015 at 17:12, Programmingkid = wrote: >>=20 >> On Sep 14, 2015, at 11:49 AM, Peter Maydell wrote: >>=20 >>> 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. >>=20 >> QEMU supported Mac OS 10.3 since that time, but that wasn't enough of = a >> reason to keep supporting it. >>=20 >>>> 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. >>=20 >> 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. >>=20 >> 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 >> always just quit QEMU and start again with arguments. >=20 > By the way, I don't mean that I'm completely opposed to the > idea of dropping the open-dialog. I'd just like to hear > some input from other people who care about OSX QEMU > rather than just you and me. Who else is there?=20