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-3.0-testing] [HVM] Fix a problem when destroying a

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.0-testing] [HVM] Fix a problem when destroying a Windows guest.
From: Xen patchbot-3.0-testing <patchbot-3.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 03 Jun 2006 00:01:30 +0000
Delivery-date: Fri, 02 Jun 2006 17:04:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 6255f38623b3270ab5a8e57003e485737328e1a4
# Parent  c5fe7d5c4c818ae065d5804c6aa347aa4ec6816f
[HVM] Fix a problem when destroying a Windows guest.
From: Jun Nakajima <jun.nakajima@xxxxxxxxx>
Signed-off-by: Tom Woller <thomas.woller@xxxxxxx>
xen-unstable changeset:   10256:1f619b6adbc6ab6ce566b8661b6c2bbf355f502a
xen-unstable date:        Fri Jun  2 09:36:28 2006 +0100
---
 xen/arch/x86/shadow.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff -r c5fe7d5c4c81 -r 6255f38623b3 xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c     Thu Jun 01 19:17:22 2006 +0100
+++ b/xen/arch/x86/shadow.c     Fri Jun 02 09:38:34 2006 +0100
@@ -3406,15 +3406,16 @@ static void shadow_set_l2e_64(unsigned l
 
     __shadow_get_l3e(v, va, &sl3e);
     if (!(l3e_get_flags(sl3e) & _PAGE_PRESENT)) {
-         if (create_l2_shadow) {
+        if (create_l2_shadow) {
             perfc_incrc(shadow_set_l2e_force_map);
             shadow_map_into_current(v, va, PAGING_L2, PAGING_L3);
             __shadow_get_l3e(v, va, &sl3e);
         } else {
             printk("For non HVM shadow, create_l1_shadow:%d\n", 
create_l2_shadow);
         }
-         shadow_update_min_max(l4e_get_pfn(sl4e), l3_table_offset(va));
-
+
+        if ( v->domain->arch.ops->guest_paging_levels == PAGING_L4 )
+            shadow_update_min_max(l4e_get_pfn(sl4e), l3_table_offset(va));
     }
 
     if ( put_ref_check ) {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.0-testing] [HVM] Fix a problem when destroying a Windows guest., Xen patchbot-3 . 0-testing <=