qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu and configuration file?


From: martin
Subject: Re: [Qemu-devel] qemu and configuration file?
Date: Wed, 04 Jan 2006 07:50:28 +0200
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

If we'd go for a config file at all with such a complicated structure, i see no reasons why to choose anything else than xml for it. We have tons of xml libs that can be used for gui's (think perl, tk, python etc...). Certainly better every dude writing it's own XuPeRpArSeR that will be broken and compatible after a major change in qemu ...
 Another choice would be the pure rc (just 'item = value' lines) without any 
supersmart blocks.

xml style or rc style, please no hack in betweeen :)

martin


Giuseppe Della Bianca wrote:
Hi.

My idea is this: - qemu start - set up of the hardcode parameters - reading of the configuration file and set up of the parameters - set up of the parameters of command line
Example of configuration file:
[general]
  ....
  [vlan0]
    ip= x.y.x.w
    mac= l:m:n:o
    ....
  [/vlan0]
[/general]

[suse.img]
  ....
  [vlan3]
    mac= h:j:k:l
    ....
  [/vlan3]
[/suse.img]

[win.img]
  ....
  [vlan2]
    mac= z:x:c:v
    ....
  [/vlan2]
[/win.img]

Result: - full compatibility with every version of qemu - more flexibility - possibility to set up the hardcode parameters - possibility of parameters personalized for every image One similar thing, with smaller flexibility, is possible without modify qemu and using one series of bash script.

Comments are welcomes (at least one "it does not interest to us").
Regards.
Gdb

_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]