Received: from eggs.gnu.org ([2001:4830:134:3::10]:44229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnnTS-000204-Mf for qemu-devel@nongnu.org; Tue, 03 Dec 2013 05:45:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnnTN-00031N-KL for qemu-devel@nongnu.org; Tue, 03 Dec 2013 05:45:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnnTN-00031G-BU for qemu-devel@nongnu.org; Tue, 03 Dec 2013 05:44:57 -0500 From: Markus Armbruster References: <87mwkip8xm.fsf@blackfin.pond.sub.org> Date: Tue, 03 Dec 2013 11:44:54 +0100 In-Reply-To: (Peter Crosthwaite's message of "Tue, 3 Dec 2013 20:17:43 +1000") Message-ID: <87eh5udxi1.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [RFC PATCH v1 4/5] qemu-option: Remove qemu_opts_create_nofail List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: Igor Mammedov , Paolo Bonzini , "qemu-devel@nongnu.org Developers" , Andreas =?utf-8?Q?F=C3=A4rber?= Peter Crosthwaite writes: > On Tue, Dec 3, 2013 at 7:42 PM, Markus Armbruster wrote: >> Peter Crosthwaite writes: [...] >>> @@ -3376,8 +3377,9 @@ int main(int argc, char **argv, char **envp) >>> } >>> >>> qemu_opt_set_bool(fsdev, "readonly", >>> - qemu_opt_get_bool(opts, "readonly", 0)); >>> - device = qemu_opts_create_nofail(qemu_find_opts("device")); >>> + qemu_opt_get_bool(opts, "readonly", 0)); >> >> Spurious whitespace change, please fix. >> > > Is the change incorrect? I just did it as it was right next to my > change and corrects relative to the local formatting. > > Regards, > Peter Ah, it was an intentional indentation fix, not an editing accident! Your choice (I guess I'd refrain from it myself). >>> + device = qemu_opts_create(qemu_find_opts("device"), NULL, 1, >>> + &error_abort); >>> qemu_opt_set(device, "driver", "virtio-9p-pci"); >>> qemu_opt_set(device, "fsdev", >>> qemu_opt_get(opts, "mount_tag")); [...]