]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainGetResctrlMonData: Switch to switch()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Aug 2019 11:45:42 +0000 (13:45 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Aug 2019 12:37:30 +0000 (14:37 +0200)
commit0e66f0669afb3b0f29ffd6bea9cc3e8e607a7a85
treed69c1bd21d14af19c92d9f5183f78c68193ff324
parent9fc616cc101cdf8cd4a4679d2aa6db5ff5455c14
qemuDomainGetResctrlMonData: Switch to switch()

This way it is obvious when adding a new resource control type
that stats helper func needs to be updated too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c