On creating a KVM vps you can allocate virtual CPUs to it.
Each guest CPU (vcpu) corresponds to a QEMU thread.
Because a vcpu is a thread you can apply resource limits to it.
There is an additional parameter "cpuset" allowing you to set which real CPUs should be used for thread creation.