Prioritizing a KVM virtual machine

Posted by Joril on Server Fault See other posts from Server Fault or by Joril
Published on 2012-04-02T10:10:28Z Indexed on 2012/04/02 11:33 UTC
Read the original article Hit count: 266

Filed under:

I have a CentOS 6.2 server running a few KVM VMs, how can I prioritize one of them above the others?
I tried:

virsh dumpxml vm > vm.xml

and then adding to vm.xml

  <cputune>
    <shares>10240</shares>
    <period>100000</period>
    <quota>-1</quota>
  </cputune>

and then

virsh define vm.xml

but it looks like nothing changed... Am I missing something? How could I check if my "cputune" is in effect?

© Server Fault or respective owner

Related posts about kvm-virtualization