search for: mtopolog

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

Did you mean: mtopology
2013 Oct 16
4
[PATCH 1/7] xen: vNUMA support for PV guests
.../trace.h> +#include <xen/vnuma.h> struct memop_args { /* INPUT */ @@ -732,7 +733,47 @@ long do_memory_op(unsigned long cmd, XEN_GUEST_HANDLE_PARAM(void) arg) rcu_unlock_domain(d); break; + case XENMEM_get_vnuma_info: + { + struct vnuma_topology_info mtopology; + struct domain *d; + unsigned int max_vcpus, nr_vnodes = 0; + rc = -EINVAL; + + if( copy_from_guest(&mtopology, arg, 1) ) + return -EFAULT; + if ( (d = rcu_lock_domain_by_any_id(mtopology.domid)) == NULL ) + return -ESRCH; +...