I use KVM to manage my virtual machines. I am trying to limit the resources provided for VMs. I am able to limit the CPU and memory allocated for VMs using libvirt/cgroups. Now I want to control the disk time allotted for each VM by applying some weights. I looked at blkio control from cgroups. Since VM is just a linux process, I will be able to use cgroups but I am not sure whether it will work for asynchronous IO too. If not, can someone suggest me a good alternative solution?
P.S I looked at http://lwn.net/Articles/330533/
, which asks me to use dm-ioband along with cgroups to achieve this. I am using Fedora 14 and I couldnt make dm-ioband work with this