[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] xen: update_runstate_area for 32 bit PV on HVM guests



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275644364 -3600
# Node ID eabdc88b6d1d23a65ccef3b5572dab12e9d9ec85
# Parent  54e05a3f773da5b7b85db33ecc058f33e4dbf05e
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 <stefano.stabellini@xxxxxxxxxxxxx>
xen-unstable changeset:   21493:144603cc8cb6
xen-unstable date:        Tue Jun 01 06:45:44 2010 +0100
---
 xen/arch/x86/domain.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 54e05a3f773d -r eabdc88b6d1d xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Fri Jun 04 10:39:03 2010 +0100
+++ b/xen/arch/x86/domain.c     Fri Jun 04 10:39:24 2010 +0100
@@ -1323,7 +1323,7 @@ static void update_runstate_area(struct 
         return;
 
 #ifdef CONFIG_COMPAT
-    if ( is_pv_32on64_domain(v->domain) )
+    if ( has_32bit_shinfo(v->domain) )
     {
         struct compat_vcpu_runstate_info info;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.