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

[libvirt] [resend v2 0/7] Support cache tune in libvirt



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 still some TODOs such as 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 (7):
  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
  Resctrl: enable l3code/l3data
  Resctrl: Make sure l3data/l3code are pairs

 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        |  154 +++++++
 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       |   11 +
 src/util/virerror.c           |    1 +
 src/util/virresctrl.c         | 1019 +++++++++++++++++++++++++++++++++++++++++
 src/util/virresctrl.h         |  135 ++++++
 14 files changed, 1542 insertions(+)
 create mode 100644 src/util/virresctrl.c
 create mode 100644 src/util/virresctrl.h

--
1.9.1


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