From: John Levon Subject: Re: [Patch] XendOptionsSMF, missing get_config_value method on Solaris Date: Fri, 6 Jun 2008 14:12:20 +0100 Message-ID: <20080606131220.GA8342@totally.trollied.org.uk> References: <20080606125714.0DE1D4C95B@imap.tools.intra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20080606125714.0DE1D4C95B@imap.tools.intra> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Keil Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Jun 06, 2008 at 02:57:13PM +0200, Juergen Keil wrote: > 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). > > 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. regards john