From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTUri-0004ts-46 for qemu-devel@nongnu.org; Fri, 28 Mar 2014 07:22:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTUrb-0003fQ-Vf for qemu-devel@nongnu.org; Fri, 28 Mar 2014 07:22:26 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:55701 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTUrb-0003fF-PL for qemu-devel@nongnu.org; Fri, 28 Mar 2014 07:22:19 -0400 References: From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: Date: Fri, 28 Mar 2014 11:22:44 +0000 Message-ID: <87lhvuva7v.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] QEMU Command Line Options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Qasim Maqbool Cc: qemu-devel@nongnu.org Qasim Maqbool writes: > Hi, > > I need to add a few command line options to QEMU. However, I am yet to > determine how QEMU takes input from the command line and parses the option > values. I have tried looking at various files including vl.c and cmd.c but > nothing seems to work right now. > > Can anyone put me on the right path here? Or am I trying to do something > which is impossible? Your on the right track but the missing piece is updating qemu-options.hx. If you look at the patch I recently posted to the list: qemu-log: new option -dfilter to limit output You should be able to see all the bits I added. > > Thanks. -- Alex Bennée