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], qemu-devel@nongnu.org
      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








Reply via email to