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] xc_linux_save was broken in 13594:30af6cf

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xc_linux_save was broken in 13594:30af6cfdb05c. Unbreak it.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Jan 2007 07:05:13 -0800
Delivery-date: Wed, 31 Jan 2007 07:06:43 -0800
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@xxxxxxxxxxxxxxxxxxxxx
# Date 1170164377 0
# Node ID 2efe681d1194e2a6aa00f0087118a0329c30a28d
# Parent  4bef31174332cb01cf34a74959376a2a7d1b1bce
xc_linux_save was broken in 13594:30af6cfdb05c. Unbreak it.
Signed-off-by: Brendan Cully <brendan@xxxxxxxxx>
---
 tools/libxc/xc_linux_save.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 4bef31174332 -r 2efe681d1194 tools/libxc/xc_linux_save.c
--- a/tools/libxc/xc_linux_save.c       Tue Jan 30 13:37:43 2007 +0000
+++ b/tools/libxc/xc_linux_save.c       Tue Jan 30 13:39:37 2007 +0000
@@ -998,7 +998,7 @@ int xc_linux_save(int xc_handle, int io_
             }
 
             for ( j = 0; j < batch; j++ )
-                ((uint32_t *)pfn_type)[i] = pfn_type[i];
+                ((uint32_t *)pfn_type)[j] = pfn_type[j];
             if ( xc_get_pfn_type_batch(xc_handle, dom, batch,
                                        (uint32_t *)pfn_type) )
             {
@@ -1006,7 +1006,7 @@ int xc_linux_save(int xc_handle, int io_
                 goto out;
             }
             for ( j = batch-1; j >= 0; j-- )
-                pfn_type[i] = ((uint32_t *)pfn_type)[i];
+                pfn_type[j] = ((uint32_t *)pfn_type)[j];
 
             for ( j = 0; j < batch; j++ )
             {

_______________________________________________
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] xc_linux_save was broken in 13594:30af6cfdb05c. Unbreak it., Xen patchbot-unstable <=