From: Mukesh Rathor Subject: parse_config_data()... Date: Thu, 22 Sep 2011 11:30:48 -0700 Message-ID: <20110922113048.2d02f126@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xen-devel@lists.xensource.com" Cc: stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org Hi Stefano, In parse_config_data(): init_create_info(c_info); <--- sets hvm and hap to 1, then:. c_info->hvm = 0; if (!xlu_cfg_get_string (config, "builder", &buf) && !strncmp(buf, "hvm", strlen(buf))) c_info->hvm = 1; if (!xlu_cfg_get_long (config, "hap", &l)) <-------- already 1 c_info->hap = l; <--- letter 'el' no big deal, but just confusing for someone reading the code... thanks, Mukesh