Zend certified PHP/Magento developer

KVM-QEMU + Libvirt – CPU Pinning

I would like to ask, if it is possible to reserve cores just for particular VM’s and prevent others to use them. Let me explain closer:

I’d like to have 2 virtual machines to be pinned to cores 0-7 and 16-23 and I want to prevent these cores to be used by system (kernel isolcpus, rcu_nocbs and systemd AllowedCPUs) and other VM’s. I also don’t care on what cores others VM’s will be running, except they should not use cores 0-7 and 16-23. Also I don’t want to pin them to any specific cores explicitly. I just want them to use any cores from 8-15 and 24-31.

Is there way how to achieve that?