]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow cachetune only for KVM domains v4.5.0-rc2
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 28 Jun 2018 09:37:09 +0000 (11:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 28 Jun 2018 15:06:52 +0000 (17:06 +0200)
commitcb7a4ac4fb9e32f620d800036b1abdd4bed09ce6
treecfc2746a745329c9773da9320fbc3f74554291b0
parent57d90e3e0569055a573e7ccbef37a71aae6d62bd
qemu: Allow cachetune only for KVM domains

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

In TCG mode, there are no vCPU threads and thus there's nothing
to be placed into resctrl group. Forbid such configuration.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_domain.c