Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-15 Thread Segher Boessenkool
When I read Avi's TODO, I basically thought about getting rid of the long command lines I had to store in scripts. I wanted to write that command line once, and then forgetting about it, until I needed to change it. Instead of inventing great and wonderfully complicated schemes, the most

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Kevin Wolf
Jorge Lucángeli Obes schrieb: qemu: could not open hard disk image '@config' I think this was a suggestion for implementation, not a working feature. I did not know about '@config', and if I can get it to work, I like it better than a shell script. However, I think it does not completely

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Laurent Vivier
Thiemo Seufer wrote: Jorge Lucángeli Obes wrote: [snip] When I read Avi's TODO, I basically thought about getting rid of the long command lines I had to store in scripts. I wanted to write that command line once, and then forgetting about it, until I needed to change it. Instead of

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Markus Hitter
Am 13.08.2007 um 11:19 schrieb Laurent Vivier: We can modify qemu to test if the argument is a directory, if yes, it reads args from file args in this directory and for security the disk image must be in the same directory. for instance, we have: ./pc1/ ./pc1/args ./pc1/my_disk

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Jorge Lucángeli Obes
On 8/14/07, Laurent Vivier [EMAIL PROTECTED] wrote: Markus Hitter wrote: Am 13.08.2007 um 11:19 schrieb Laurent Vivier: We can modify qemu to test if the argument is a directory, if yes, it reads args from file args in this directory and for security the disk image must be in the

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Thiemo Seufer
Jorge Lucángeli Obes wrote: [snip] Quoting Thiemo, this '@' thing was a feature which is now implemented in the GNU toolchain. That's why I tried it. Now I would like to know what he did to get it working. It would certainly be an useful feature, even if it does not exactly suit our purposes.

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-13 Thread Avi Kivity
Jorge Lucángeli Obes wrote: My feeling is that config files are outdated. When used with a gui, you end up writing silly parsers and stuff and still wrecking things horribly when the the gui writer's expectations don't match reality. When used without a gui, they increase the amount of

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-13 Thread Laurent Vivier
Avi Kivity wrote: Jorge Lucángeli Obes wrote: My feeling is that config files are outdated. When used with a gui, you end up writing silly parsers and stuff and still wrecking things horribly when the the gui writer's expectations don't match reality. When used without a gui, they increase

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-13 Thread Thiemo Seufer
Jorge Lucángeli Obes wrote: [snip] When I read Avi's TODO, I basically thought about getting rid of the long command lines I had to store in scripts. I wanted to write that command line once, and then forgetting about it, until I needed to change it. Instead of inventing great and wonderfully

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-13 Thread Anthony Liguori
On Mon, 2007-08-13 at 20:39 +0100, Thiemo Seufer wrote: Jorge Lucángeli Obes wrote: [snip] When I read Avi's TODO, I basically thought about getting rid of the long command lines I had to store in scripts. I wanted to write that command line once, and then forgetting about it, until I

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-10 Thread Anthony Liguori
Avi Kivity wrote: This is a big effort but a config file is the right long term solution. For which use case? management-full or management-less? Both. A config file will be useful not just for expressing the functionality we have today, but also for describing the guest's

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-10 Thread Avi Kivity
Anthony Liguori wrote: Jorge Lucángeli Obes wrote: Hi all, From what I've gathered, it seems that we have basically four options at hand. I think it's important to notice, however, that whatever comes out of this will probably be, as Avi said, a low-end solution. IMHO there's room to have

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-10 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: Avi Kivity wrote: This is a big effort but a config file is the right long term solution. For which use case? management-full or management-less? Both. A config file will be useful not just for expressing the functionality we have

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-10 Thread Jorge Lucángeli Obes
My feeling is that config files are outdated. When used with a gui, you end up writing silly parsers and stuff and still wrecking things horribly when the the gui writer's expectations don't match reality. When used without a gui, they increase the amount of details one has to remember