From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNute-0007Ym-My for qemu-devel@nongnu.org; Sun, 04 Mar 2007 12:53:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNutd-0007Ya-An for qemu-devel@nongnu.org; Sun, 04 Mar 2007 12:53:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNutd-0007YX-5w for qemu-devel@nongnu.org; Sun, 04 Mar 2007 12:53:21 -0500 Received: from il.qumranet.com ([82.166.9.18]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HNutc-0002Cd-KX for qemu-devel@nongnu.org; Sun, 04 Mar 2007 12:53:20 -0500 Message-ID: <45EB06FB.5020809@qumranet.com> Date: Sun, 04 Mar 2007 19:50:51 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] QEMU/pc and scsi disks References: <45E70CCF.40800@bull.net> <45E7E20A.8020704@bull.net> <20070302110232.GC27636@networkno.de> <200703021542.43161.paul@codesourcery.com> <45E84FB5.2020600@codemonkey.ws> <45E9C605.2090301@qumranet.com> <45EA06EE.3000509@codemonkey.ws> <45EA9122.6000207@qumranet.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Chris Wilson wrote: > Hi Avi, > > On Sun, 4 Mar 2007, Avi Kivity wrote: >> Anthony Liguori wrote: >>> I think we should still provide the ability to set the most common >>> options via the command line. I'm also fine with specifying single >>> options on the command line. I suspect though that being able to >>> do -config - is more useful for management tools than building >>> large strings of command line options. >> >> Out of curiosity, why? If the options are store in some database, as >> is likely, surely it is easier to generate a longish command line >> than to generate a unique name for a file, remove it if it already >> exists, write out the data, launch qemu, and clean up the file >> later? And for migration, you have to regenerate it, since some >> options may have changed (cdrom media). > > I think Anthony was suggesting that "-config -" would read the config > from standard input, avoiding the need for any temporary file, and > also avoiding any command-line length limits on any platforms (Win32 > is unlikely to accept as much as Linux). > Ah, I missed the '-'. Thanks. Indeed it's quite easy to feed a config file from memory into qemu. -- error compiling committee.c: too many arguments to function