]> xenbits.xensource.com Git - xen.git/commitdiff
xen: update_runstate_area for 32 bit PV on HVM guests
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Jun 2010 05:45:44 +0000 (06:45 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Jun 2010 05:45:44 +0000 (06:45 +0100)
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 <stefano.stabellini@eu.citrix.com>
xen/arch/x86/domain.c

index b483612a4f35b53cbf0fefe3d215f6bb91e5966c..4dc081fa037469a5ccad49c728b4f46ae900e70a 100644 (file)
@@ -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;