
24 Jun
2008
24 Jun
'08
1:10 p.m.
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@us.ibm.com