Displaying 1 result from an estimated 1 matches for "vnuma_memblks".
2013 Oct 16
4
[PATCH 1/7] xen: vNUMA support for PV guests
...stroy(&d->vnuma);
/* fallthrough */
case DOMDYING_dying:
rc = domain_relinquish_resources(d);
@@ -1287,6 +1288,15 @@ int continue_hypercall_on_cpu(
return 0;
}
+void domain_vnuma_destroy(struct domain_vnuma_info *v)
+{
+ v->nr_vnodes = 0;
+ xfree(v->vnuma_memblks);
+ xfree(v->vcpu_to_vnode);
+ xfree(v->vdistance);
+ xfree(v->vnode_to_pnode);
+}
+
/*
* Local variables:
* mode: C
diff --git a/xen/common/domctl.c b/xen/common/domctl.c
index 870eef1..042e2d2 100644
--- a/xen/common/domctl.c
+++ b/xen/common/domctl.c
@@ -29,6 +29,7 @@
#in...