On Tue, Dec 22, 2009 at 2:21 PM, Iustin Pop <[email protected]> wrote: > So, in the race between new hypervisor options and ganeti we can never > win - we always have to react post-fact and add a new parameter. > > In an attempt to compensate for this, I would propose that we add a new > hypervisor parameter (ley's say genparm) that is a list of (bool, > string) tuples. > > If the bool field is True, then the string parameter is added to the > command line. If the bool field is False, and the parameter exists > (e.g. a hardcoded acpi=True), then the parameter is removed. > > For KVM, this would mean extra command line parameters. For Xen, extra > config file values. Ganeti itself would not interpret these in any way. > > Of course, this would allow really breaking the hypervisor if used > carelessly but it would a perfect addition until a new version of ganeti > adds specific handling for a parameter.
Sounds like a good idea! But should we also have (string,string) tuples, to implement -flag=value behavior? Thanks, Guido
