From: Keir Fraser Subject: Re: [PATCH] xen: update_runstate_area for 32 bit PV on HVM guests Date: Tue, 1 Jun 2010 06:46:11 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini , Jan Beulich Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 28/05/2010 16:01, "Stefano Stabellini" wrote: >>> #ifdef CONFIG_COMPAT >>> - if ( is_pv_32on64_domain(v->domain) ) >>> + if ( is_pv_32on64_domain(v->domain) || >>> + (is_hvm_pv_evtchn_domain(v->domain) && >>> + has_32bit_shinfo(v->domain)) ) >>> { >>> struct compat_vcpu_runstate_info info; >> >> Is there any reason why this cannot be just has_32bit_shinfo()? >> > > no, actually has_32bit_shinfo should be able to cover all cases Xen-unstable:21493 -- Keir