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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275371144 -3600
# Node ID 144603cc8cb6d42cf6f38bfb0bf9ca17d96c1380
# Parent  96917cf25bf3ad42c6b6cddb7ff4f03857ae9619
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/arch/x86/domain.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 96917cf25bf3 -r 144603cc8cb6 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Fri May 28 10:54:07 2010 +0100
+++ b/xen/arch/x86/domain.c     Tue Jun 01 06:45:44 2010 +0100
@@ -1315,7 +1315,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®.