On Fri, 2007-08-31 at 16:05 -0300, Jorge Lucángeli Obes wrote: > On 8/31/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: > > 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 > > I thought about this when coding, and it's true. Maybe we could just > leave a new explicit config file option. I insist on making this as > simple as possible, that's why I chose to use the config file as a > "written-down" command line. > > If this were the case, we could remove the restriction of having the > config file refer only to images on the same directory, as the use of > the config file would be explicit. Thoughts?
Yes. It should be a very simple patch. Regards, Anthony Liguori > Cheers, > Jorge