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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content