Any value that is out of range of cpu_shares can be specified

Solution Verified - Updated -

Issue

  • Any value that is out of range of cpu_shares can be specified.
  • virsh's man page says that a valid value range is 0-262144 for cpu_shares.

  • If an invalid value (e.g. -1) is specified when "virsh schedinfo" is run, it changes the value to 262144 automatically.

  • In this case, "virsh schedinfo" shouldn't change the value, and should report an error message like "cpu_shares is out of range".

Environment

  • Red Hat Enterprise Linux 6
  • libvirt-client-0.8.1-27.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.