I'm transitioning from Xen 3.4 to KVM on CentOS 5.5. I need to assign CPU priorities to VMs, to ensure that one VM (vmA) always receives priority over another VM (vmB).
In Xen I could assign a high credit scheduler weight to vmA, but in KVM the only thing I can think of is nicing the process associated with vmB very high.
Since this is CentOS 5.x, it doesn't appear that cgroups are available.
Is there any better way to do this?