> On Mar 4, 2022, at 9:04 AM, Simon Weller <swel...@ena.com> wrote: > > We've added features that are only supported on newer versions of qemu-kvm > packages previously, such as the IOP and bandwidth limits. > I'd have to go hunting here, but I think it was done by have a check on the > qemu-kvm version and if it was later than a certain release, exposing the > feature. > > @Nathan Johnson might be able to jump in here, as he may remember how that > was implemented. > > -Si >
Yes, this is correct. There are version checks all over the kvm plugin it looks like. Here is an example of one I added: https://github.com/apache/cloudstack/blob/main/plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java#L1113