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-unstable] xen: update_runstate_area for 32 bit PV o

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xen: update_runstate_area for 32 bit PV on HVM guests
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 May 2010 23:15:21 -0700
Delivery-date: Mon, 31 May 2010 23:15:29 -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 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

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