Hi Anthony,
I think passing only the directory name is better because it can be like a
"black box" : the user don't have to know how it is inside. And it is much
more simple to use "qemu my_pc" than "qemu -c my_pc/config".
Regards,
Laurent
------------------------------------------------------
Pour : Jorge Lucángeli Obes <[EMAIL PROTECTED]>
cc : [email protected], [EMAIL PROTECTED]
ccc :
Objet : Re: [kvm-devel] [PATCH][RFC] Allowing QEMU to directly
execute a directory (and storing command line options in it)
Anthony Liguori <[EMAIL PROTECTED]>
Envoyé par : [EMAIL PROTECTED]
31/08/2007 13:54 EST
<font size=-1></font>
It makes little sense to pass a directory when you can pass a config
file and assume that the directory the config file is in is the CWD.
For instance, if vm.cfg contained just the command line arguments, you
could have:
MyImage/vm.cfg: -hda disk0.qcow -m 512
MyImage/disk0.qcow: <disk image>
And then do:
qemu -c MyImage/vm.cfg
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel