]> git.ipfire.org Git - thirdparty/libvirt.git/commit
resctrl: Add functions to work with resctrl allocations
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 16 Oct 2017 15:17:32 +0000 (17:17 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 25 Jan 2018 16:16:08 +0000 (17:16 +0100)
commita64c761c275c61517360cf1f5af5461fc5b93138
tree68902dde250f6050ad07d41b4517fa20d68e24e6
parent434848d7dca9d1a7838ab53bbfdcf580ef7f2cc2
resctrl: Add functions to work with resctrl allocations

With this commit we finally have a way to read and manipulate basic resctrl
settings.  Locking is done only on exposed functions that read/write from/to
resctrlfs.  Not in functions that are exposed in virresctrlpriv.h as those are
only supposed to be used from tests.

More information about how resctrl works:

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/x86/intel_rdt_ui.txt

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/Makefile.am
src/libvirt_private.syms
src/util/virresctrl.c
src/util/virresctrl.h
src/util/virresctrlpriv.h [new file with mode: 0644]