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/
Home Products Support Community News


[Xen-changelog] [xen-3.4-testing] p2m hap: Fix dirty vram tracking funct

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] p2m hap: Fix dirty vram tracking function
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Jun 2009 03:21:37 -0700
Delivery-date: Mon, 29 Jun 2009 03:24:16 -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 1246270427 -3600
# Node ID 16acd5353973384a4814bc8c883e3f6013540134
# Parent  af6903ce5a87a481ac94da56af768fdf60ef2ef0
p2m hap: Fix dirty vram tracking function

This patch fixes an incorrect mode conversion when disable vram
dirty tracking.

Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Signed-off-by: Wei Huang <wei.huang2@xxxxxxx>
xen-unstable changeset:   19844:aad8bb7f5e10
xen-unstable date:        Thu Jun 25 18:28:59 2009 +0100
 xen/arch/x86/mm/hap/hap.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r af6903ce5a87 -r 16acd5353973 xen/arch/x86/mm/hap/hap.c
--- a/xen/arch/x86/mm/hap/hap.c Mon Jun 29 11:11:49 2009 +0100
+++ b/xen/arch/x86/mm/hap/hap.c Mon Jun 29 11:13:47 2009 +0100
@@ -88,7 +88,7 @@ int hap_disable_vram_tracking(struct dom
     /* set l1e entries of P2M table with normal mode */
     for (i = d->dirty_vram->begin_pfn; i < d->dirty_vram->end_pfn; i++)
-        p2m_change_type(d, i, p2m_ram_rw, p2m_ram_logdirty);
+        p2m_change_type(d, i, p2m_ram_logdirty, p2m_ram_rw);
     return 0;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] p2m hap: Fix dirty vram tracking function, Xen patchbot-3.4-testing <=