[Libvirt-cim] [PATCH 3 of 3] [TEST] Define and create guest with CPU scheduling values set

Dan Smith danms at us.ibm.com
Tue Jun 24 17:10:34 UTC 2008


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 at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080624/18fbbaad/attachment.sig>


More information about the Libvirt-cim mailing list