Skip to contentSkip to conversation

XendOptionsSMF, missing get_config_value method on Solaris

PATCH Juergen Keil 1 participant 1 message Jun 6, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · John Levon
Quoted 4 lines · Juergen Keil

On Solaris, xend XendOptions.py uses an additional interface XendOptionsSMF. This allows xend configuration via Solaris SMF as well as the config file. (Added by changeset 13407).

Quoted 8 lines
Quoted 3 lines

Problem: XendOptionsSMF doesn't define a get_config_value; but these is get_config_string. The code in XendOptions.py needs both; get_keymap() needs get_config_value.

I'm not sure about this: SMF values are always typed and there's really no such thing as just a value. Instead, I think get_keymap() needs to use get_config_string(). Note it's the only base class routine that does this.

Ok, changing the base class to use get_config_string instead of of get_config_value would be another way to fix this.

Quoted 1 line

Note it's the only base class routine that does this.

In xen-unstable, there also is get_resource_label_change_script().