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] Fix memory_op domid parameter in dom0 tools.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix memory_op domid parameter in dom0 tools.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Aug 2005 13:56:22 +0000
Delivery-date: Tue, 30 Aug 2005 13:54:51 +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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 7069f0de0cce0c0d8ceb869f0413d5b2756b9b40
# Parent  1f46fafb7221d19a6a344b80f7a0ebf2162794c1
Fix memory_op domid parameter in dom0 tools.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 1f46fafb7221 -r 7069f0de0cce tools/libxc/xc_domain.c
--- a/tools/libxc/xc_domain.c   Tue Aug 30 13:16:05 2005
+++ b/tools/libxc/xc_domain.c   Tue Aug 30 13:56:08 2005
@@ -269,7 +269,7 @@
     struct xen_memory_reservation reservation = {
         .nr_extents   = npages,
         .extent_order = 0,
-        .domid        = DOMID_SELF
+        .domid        = domid
     };
 
     err = xc_memory_op(xc_handle, XENMEM_increase_reservation, &reservation);
diff -r 1f46fafb7221 -r 7069f0de0cce tools/libxc/xc_linux_restore.c
--- a/tools/libxc/xc_linux_restore.c    Tue Aug 30 13:16:05 2005
+++ b/tools/libxc/xc_linux_restore.c    Tue Aug 30 13:56:08 2005
@@ -447,7 +447,7 @@
                 .extent_start = pfntab,
                 .nr_extents   = count,
                 .extent_order = 0,
-                .domid        = DOMID_SELF
+                .domid        = dom
             };
            if ( (rc = xc_memory_op(xc_handle,
                                     XENMEM_decrease_reservation,

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix memory_op domid parameter in dom0 tools., Xen patchbot -unstable <=