libvirt/src/conf
Bing Niu 7995fecc25 conf: Add memory bandwidth allocation capability of host
Add new XML section to report host's memory bandwidth allocation
capability. The format as below example:

 <host>
 .....
   <memory_bandwidth>
     <node id='0' cpus='0-19'>
       <control granularity='10' min ='10' maxAllocs='8'/>
     </node>
   </memory_bandwidth>
</host>

granularity   ---- granularity of memory bandwidth, unit percentage.
min           ---- minimum memory bandwidth allowed, unit percentage.
maxAllocs     ---- maximum memory bandwidth allocation group supported.

Signed-off-by: Bing Niu <bing.niu@intel.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-08-13 14:19:41 -04:00
..
capabilities.c conf: Add memory bandwidth allocation capability of host 2018-08-13 14:19:41 -04:00
capabilities.h conf: Add memory bandwidth allocation capability of host 2018-08-13 14:19:41 -04:00
cpu_conf.c conf: include x86 microcode version in virsh capabilities 2018-01-04 16:52:03 +01:00
cpu_conf.h conf: include x86 microcode version in virsh capabilities 2018-01-04 16:52:03 +01:00
device_conf.c conf: Move some virDomainDeviceInfo functions 2017-07-21 17:18:40 +02:00
device_conf.h conf: Add rom.enabled attribute for PCI devices 2018-04-23 15:20:54 +02:00
domain_addr.c domain_addr: make virDomainUSBAddressPortFormat static 2018-07-04 07:17:22 +02:00
domain_addr.h domain_addr: make virDomainUSBAddressPortFormat static 2018-07-04 07:17:22 +02:00
domain_audit.c audit: Share virtType fallback logic 2018-07-27 15:41:21 -04:00
domain_audit.h conf: audit passthrough input devices at domain startup 2017-10-19 14:34:21 +02:00
domain_capabilities.c conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
domain_capabilities.h conf: Expose SEV feature in domain capabilities 2018-06-12 09:52:00 +02:00
domain_conf.c conf: Add return value check to virResctrlAllocForeachCache 2018-08-13 14:19:41 -04:00
domain_conf.h conf: Rename cachetune to resctrl 2018-08-13 14:19:41 -04:00
domain_event.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
domain_event.h lib: Introduce event for tracking disk backing file write threshold 2017-03-27 09:29:57 +02:00
domain_nwfilter.c domain_nwfilter: Return early if net has no name in virDomainConfNWFilterTeardownImpl 2018-07-09 16:01:50 +02:00
domain_nwfilter.h nwfilter: convert virt drivers to use public API for nwfilter bindings 2018-06-26 18:17:23 +01:00
interface_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
interface_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
Makefile.inc.am conf: introduce a virNWFilterBindingObjListPtr struct 2018-06-26 11:22:07 +01:00
netdev_bandwidth_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
netdev_bandwidth_conf.h Revert "virNetDevSupportBandwidth: Enable QoS for vhostuser" 2017-11-13 06:25:16 +01:00
netdev_vlan_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vlan_conf.h maint: avoid 'const fooPtr' in conf 2013-10-14 14:34:38 -06:00
netdev_vport_profile_conf.c src: Make virStr*cpy*() functions return an int 2018-07-23 14:27:30 +02:00
netdev_vport_profile_conf.h
network_conf.c network: Use 'switch' control statement with virNetworkForwardType enum 2018-07-25 14:33:52 +02:00
network_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
network_event.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
network_event.h event: move event filtering to daemon (regression fix) 2014-02-05 08:03:31 -07:00
networkcommon_conf.c util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
networkcommon_conf.h util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
node_device_conf.c build: Fix broken build on FreeBSD and OSX after recent nodedev series 2018-01-29 17:53:13 +01:00
node_device_conf.h conf: Replace usage of virNodeDevCapMdevType with virMediatedDeviceType 2018-01-29 15:34:30 +01:00
node_device_event.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
node_device_event.h Introduce node device update event as top level event 2016-08-15 08:30:56 -04:00
numa_conf.c conf: Introduce memoryBacking/discard 2018-05-14 09:42:20 +02:00
numa_conf.h conf: Introduce memoryBacking/discard 2018-05-14 09:42:20 +02:00
nwfilter_conf.c src: Make virStr*cpy*() functions return an int 2018-07-23 14:27:30 +02:00
nwfilter_conf.h nwfilter: remove virt driver callback layer for rebuilding filters 2018-06-26 18:17:20 +01:00
nwfilter_ipaddrmap.c nwfilter: remove virNWFilterHashTable typedefs entirely 2018-05-03 17:00:57 +01:00
nwfilter_ipaddrmap.h
nwfilter_params.c nwfilter: remove virNWFilterHashTable typedefs entirely 2018-05-03 17:00:57 +01:00
nwfilter_params.h conf: add missing virxml.h include for nwfilter_params.h 2018-06-26 11:22:07 +01:00
object_event_private.h conf: events: Fix coverity warning 2016-08-03 18:45:50 -04:00
object_event.c events: move NULL check to EventStateQueueRemote 2018-06-12 07:28:35 +02:00
object_event.h events: Remove ATTRIBUTE_NONNULL for virObjectEventStateQueue[Remote] 2018-06-18 17:03:51 -04:00
secret_conf.c Check return status for virUUIDGenerate 2018-04-24 08:52:59 -04:00
secret_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
secret_event.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
secret_event.h secret: add support for value change events 2017-01-09 16:42:04 +00:00
snapshot_conf.c conf: Replace SKIP_OSTYPE_CHECKS with SKIP_VALIDATE 2018-07-26 10:13:00 -04:00
snapshot_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
storage_adapter_conf.c conf: Convert virStoragePoolSourceAdapter to virStorageAdapter 2017-03-15 21:17:47 -04:00
storage_adapter_conf.h conf: Convert virStoragePoolSourceAdapter to virStorageAdapter 2017-03-15 21:17:47 -04:00
storage_conf.c conf: use virStorageSourceInitiator functions 2018-08-08 17:33:12 +02:00
storage_conf.h conf: rename and move virStoragePoolSourceInitiatorAttr 2018-08-08 17:33:12 +02:00
storage_event.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
storage_event.h Promote storage pool refresh lifecycle event to top level event 2016-06-24 18:26:11 +01:00
virchrdev.c Move src/fdstream to src/util/virfdstream 2017-03-27 13:13:29 +02:00
virchrdev.h
virdomainobjlist.c conf: Replace SKIP_OSTYPE_CHECKS with SKIP_VALIDATE 2018-07-26 10:13:00 -04:00
virdomainobjlist.h conf: Rework/rename virDomainObjListFindByIDRef 2018-04-23 06:41:45 -04:00
virinterfaceobj.c test: Implement virConnectListAllInterfaces 2018-07-19 09:47:01 -04:00
virinterfaceobj.h test: Implement virConnectListAllInterfaces 2018-07-19 09:47:01 -04:00
virnetworkobj.c network: Use 'switch' control statement with virNetworkForwardType enum 2018-07-25 14:33:52 +02:00
virnetworkobj.h network: Fix virNetworkObjBridgeInUse return type 2017-08-28 14:02:22 -04:00
virnodedeviceobj.c conf: nodedev: Don't refresh host caps in testdriver 2018-07-17 14:06:12 -04:00
virnodedeviceobj.h conf: nodedev: Don't refresh host caps in testdriver 2018-07-17 14:06:12 -04:00
virnwfilterbindingdef.c conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
virnwfilterbindingdef.h conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
virnwfilterbindingobj.c conf: introduce a virNWFilterBindingObjListPtr struct 2018-06-26 11:22:07 +01:00
virnwfilterbindingobj.h conf: introduce a virNWFilterBindingObjPtr struct 2018-06-26 11:22:07 +01:00
virnwfilterbindingobjlist.c conf: introduce a virNWFilterBindingObjListPtr struct 2018-06-26 11:22:07 +01:00
virnwfilterbindingobjlist.h conf: introduce a virNWFilterBindingObjListPtr struct 2018-06-26 11:22:07 +01:00
virnwfilterobj.c nwfilter: remove virt driver callback layer for rebuilding filters 2018-06-26 18:17:20 +01:00
virnwfilterobj.h nwfilter: keep track of active filter bindings 2018-06-26 18:17:13 +01:00
virsavecookie.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
virsavecookie.h conf: Introduce virSaveCookie 2017-06-07 13:36:01 +02:00
virsecretobj.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
virsecretobj.h secret: Alter @aclfilter to just @filter 2017-08-16 14:24:38 -04:00
virstorageobj.c storage: Introduce iscsi_direct pool type 2018-08-06 12:23:55 +02:00
virstorageobj.h conf: Use bool for @check_active parameter 2018-01-04 10:54:08 -05:00