[V2 0/5] Support cache tune in libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series patches are for supportting CAT featues, which also
called cache tune in libvirt.

First to expose cache information which could be tuned in capabilites XML.
Then add new domain xml element support to add cacahe bank which will apply
on this libvirt domain.

This series patches add a util file `resctrl.c/h`, an interface to talk with
linux kernel's sys fs.

There are some TODO work such as logic of supportting l3code/l3data, expose
new public interface to get free cache information.

Some discussion about this feature support can be found from:
https://www.redhat.com/archives/libvir-list/2017-January/msg00644.html

Eli Qiao (5):
  Resctrl: Add some utils functions
  Resctrl: expose cache information to capabilities
  Resctrl: Add new xml element to support cache tune
  Resctrl: Add private interface to set cachebanks
  Qemu: Set cache banks

 docs/schemas/domaincommon.rng |  41 ++
 include/libvirt/virterror.h   |   1 +
 src/Makefile.am               |   1 +
 src/conf/capabilities.c       |  56 +++
 src/conf/capabilities.h       |  23 +
 src/conf/domain_conf.c        | 134 ++++++
 src/conf/domain_conf.h        |  18 +
 src/libvirt_private.syms      |  10 +
 src/qemu/qemu_capabilities.c  |  68 +++
 src/qemu/qemu_driver.c        |   4 +
 src/qemu/qemu_process.c       |  10 +
 src/util/virerror.c           |   1 +
 src/util/virresctrl.c         | 994 ++++++++++++++++++++++++++++++++++++++++++
 src/util/virresctrl.h         | 135 ++++++
 14 files changed, 1496 insertions(+)
 create mode 100644 src/util/virresctrl.c
 create mode 100644 src/util/virresctrl.h

--
1.9.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux