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
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel