KR> +def check_proc_pinning(server, virt):
KR> + attr_list = { "weight" : weight,
KR> + "limit" : limit
KR> + }
KR> +
KR> + for k, v in attr_list.iteritems():
KR> + status = check_sched_info(k, v, server, virt)
KR> + if status != PASS:
KR> + return FAIL
KR> +
KR> + return PASS
This method could probably use a better name, since we're not doing
any pinning.
Otherwise it looks good to me.
Thanks!
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms(a)us.ibm.com