search for: vcpu_to_vnod

Displaying 1 result from an estimated 1 matches for "vcpu_to_vnod".

Did you mean: vcpu_to_vnode
2013 Oct 16
4
[PATCH 1/7] xen: vNUMA support for PV guests
.../* 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 @@ #include <asm/page.h> #inclu...