qemu: Add support for resctrl
qemu: Add support for resctrl

We've been building up to this.  This adds support for cputune/cachetune
settings for domains in the QEMU driver.  The addition into
qemuProcessSetupVcpu() automatically adds support for hotplug.  For hot-unplug
we need to remove the allocation only if all the vCPUs were unplugged.  But
since the threads are left running, we can't really do much about it now.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1289368

Signed-off-by: Martin Kletzander <e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com>

libvirt/libvirt,crobinso/libvirt,olafhering/libvirt,fabianfreyer/libvirt,libvirt/libvirt,andreabolognani/libvirt,jfehlig/libvirt,eskultety/libvirt,eskultety/libvirt,libvirt/libvirt,jardasgit/libvirt,eskultety/libvirt,andreabolognani/libvirt,jardasgit/libvirt,andreabolognani/libvirt,nertpinx/libvirt,jfehlig/libvirt,jardasgit/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,olafhering/libvirt,fabianfreyer/libvirt,zippy2/libvirt,eskultety/libvirt,eskultety/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,crobinso/libvirt,zippy2/libvirt,nertpinx/libvirt,zippy2/libvirt,crobinso/libvirt,jfehlig/libvirt,libvirt/libvirt,nertpinx/libvirt,olafhering/libvirt,andreabolognani/libvirt,zippy2/libvirt,olafhering/libvirt,crobinso/libvirt,nertpinx/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,jardasgit/libvirt