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).
Cheers, Chris.
--
_____ __ _
\ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel