From: Keir Fraser Date: Tue, 1 Jun 2010 05:45:44 +0000 (+0100) Subject: xen: update_runstate_area for 32 bit PV on HVM guests X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12050 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=eddde6561cb81fdf442a9af0928785de135f4f3f;p=xen.git xen: update_runstate_area for 32 bit PV on HVM guests The current implementation of update_runstate_area is unable to handle 32 bit PV on HVM guests because the check is_pv_32on64_domain doesn't cover that case. This patch fixes it. Signed-off-by: Stefano Stabellini --- diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index b483612a4f..4dc081fa03 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -1315,7 +1315,7 @@ static void update_runstate_area(struct vcpu *v) return; #ifdef CONFIG_COMPAT - if ( is_pv_32on64_domain(v->domain) ) + if ( has_32bit_shinfo(v->domain) ) { struct compat_vcpu_runstate_info info;