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] Added missing munmap for live_p2m_frame_list_list.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Added missing munmap for live_p2m_frame_list_list.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Jan 2006 13:08:11 +0000
Delivery-date: Mon, 09 Jan 2006 13:15:14 +0000
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/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 emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 25e3c8668f1f4769db8466b4af965a99503311ae
# Parent  2a0aded8fe601d8db480719e5479bb21bbc2c5bf
Added missing munmap for live_p2m_frame_list_list.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 2a0aded8fe60 -r 25e3c8668f1f tools/libxc/xc_linux_save.c
--- a/tools/libxc/xc_linux_save.c       Mon Jan  9 11:17:55 2006
+++ b/tools/libxc/xc_linux_save.c       Mon Jan  9 11:19:55 2006
@@ -1164,6 +1164,9 @@
     if (live_shinfo)
         munmap(live_shinfo, PAGE_SIZE);
     
+    if (live_p2m_frame_list_list) 
+        munmap(live_p2m_frame_list_list, PAGE_SIZE); 
+
     if (live_p2m_frame_list) 
         munmap(live_p2m_frame_list, P2M_FLL_ENTRIES * PAGE_SIZE); 
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Added missing munmap for live_p2m_frame_list_list., Xen patchbot -unstable <=