[libvirt] [PATCH 0/2] *** Expose host's cache information in capabilities ***

Eli Qiao liyong.qiao at intel.com
Wed Jan 18 07:26:18 UTC 2017


This series patches are the first step to support CAT featues, which also
called cache tune in libvirt.

First to expose cache information which could be tuned in capabilites XML,
later will add some more interface to do cache tune.

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

Eli Qiao (2):
  Resctrl: Add some utils functions
  Resctrl: expose cache information to capabilities

 include/libvirt/virterror.h  |   1 +
 src/Makefile.am              |   1 +
 src/conf/capabilities.c      |  30 +++
 src/conf/capabilities.h      |  15 ++
 src/libvirt_private.syms     |   5 +
 src/qemu/qemu_capabilities.c |  42 ++++
 src/qemu/qemu_driver.c       |   4 +
 src/util/virerror.c          |   1 +
 src/util/virresctrl.c        | 500 +++++++++++++++++++++++++++++++++++++++++++
 src/util/virresctrl.h        | 121 +++++++++++
 tests/Makefile.am            |   4 +
 11 files changed, 724 insertions(+)
 create mode 100644 src/util/virresctrl.c
 create mode 100644 src/util/virresctrl.h

--
1.9.1




More information about the libvir-list mailing list