|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix memory_op domid parameter in dom0 tools.
# 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 <=
|
|
|
|
|