WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.0-testing] xen: update_runstate_area for 32 bit P

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] xen: update_runstate_area for 32 bit PV on HVM guests
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 04 Jun 2010 03:45:54 -0700
Delivery-date: Fri, 04 Jun 2010 03:50:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] xen: update_runstate_area for 32 bit PV on HVM guests, Xen patchbot-4.0-testing <=