search for: vnumaout

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

Did you mean: num_out
2013 Oct 16
4
[PATCH 1/7] xen: vNUMA support for PV guests
...return -EFAULT; + if ( (d = rcu_lock_domain_by_any_id(mtopology.domid)) == NULL ) + return -ESRCH; + + nr_vnodes = d->vnuma.nr_vnodes; + max_vcpus = d->max_vcpus; + + if ((nr_vnodes == 0) || (nr_vnodes > max_vcpus)) + goto vnumaout; + + mtopology.nr_vnodes = nr_vnodes; + + if (copy_to_guest(arg , &mtopology, 1) != 0) + goto vnumaout; + + if (copy_to_guest(mtopology.vnuma_memblks, + d->vnuma.vnuma_memblks, + nr_vnodes) != 0) +...