libvirt/src/conf
Yi Min Zhao 28831e1f1e conf: Introduce address caching for PCI extensions
This patch provides a caching mechanism for the device address
extensions uid and fid on S390. For efficient sparse address allocation,
we introduce two hash tables for uid/fid which hold the address set
information per domain. Also in order to improve performance of
searching available value, we introduce our own callbacks for the two
hashtables. In this way, uid/fid is saved in hash key and hash value
could be any non-NULL pointer due to no operation on hash value. That is
also the reason why we don't introduce hash value free callback.

Signed-off-by: Yi Min Zhao <zyimin@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.ibm.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
2018-11-15 12:32:18 +01:00
..
capabilities.c conf: Introduce RDT monitor host capability 2018-09-20 13:06:02 -04:00
capabilities.h conf: Introduce RDT monitor host capability 2018-09-20 13:06:02 -04:00
cpu_conf.c src: remove blank first line in function body 2018-09-17 13:29:01 +02: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 more PCI functions out of device_conf 2018-09-17 09:23:04 +02:00
device_conf.h conf: Introduce extension flag and zPCI member for PCI address 2018-11-15 12:32:17 +01:00
domain_addr.c conf: Introduce address caching for PCI extensions 2018-11-15 12:32:18 +01:00
domain_addr.h conf: Introduce address caching for PCI extensions 2018-11-15 12:32:18 +01: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 src: remove blank first line in function body 2018-09-17 13:29:01 +02:00
domain_capabilities.h qemu: Define and use a auto cleanup function with virSEVCapability 2018-08-20 07:18:01 +02:00
domain_conf.c conf: add support for Hyper-V Enlightened VMCS 2018-11-15 09:54:57 +01:00
domain_conf.h conf: add support for Hyper-V Enlightened VMCS 2018-11-15 09:54:57 +01:00
domain_event.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
domain_event.h
domain_nwfilter.c nwfilter: Check for filter presence before open connect during teardown 2018-09-06 18:38:22 -04: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
interface_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
Makefile.inc.am conf: Add new module node_device_util 2018-11-12 16:23:35 +01:00
netdev_bandwidth_conf.c
netdev_bandwidth_conf.h Revert "virNetDevSupportBandwidth: Enable QoS for vhostuser" 2017-11-13 06:25:16 +01:00
netdev_vlan_conf.c
netdev_vlan_conf.h
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 src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +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
networkcommon_conf.c
networkcommon_conf.h
node_device_conf.c conf: Add new module node_device_util 2018-11-12 16:23:35 +01:00
node_device_conf.h conf: Add new module node_device_util 2018-11-12 16:23:35 +01:00
node_device_event.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
node_device_event.h
node_device_util.c conf: Add new module node_device_util 2018-11-12 16:23:35 +01:00
node_device_util.h conf: Add new module node_device_util 2018-11-12 16:23:35 +01: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
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
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
storage_adapter_conf.h
storage_conf.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +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
virchrdev.c
virchrdev.h
virdomainobjlist.c virDomainObjListAddLocked: fix double free 2018-08-29 10:02:03 +02:00
virdomainobjlist.h conf: Rework/rename virDomainObjListFindByIDRef 2018-04-23 06:41:45 -04:00
virinterfaceobj.c conf: rename Export Callback functions 2018-08-14 12:41:40 +02:00
virinterfaceobj.h test: Implement virConnectListAllInterfaces 2018-07-19 09:47:01 -04:00
virnetworkobj.c conf: rename Match functions 2018-08-14 12:41:43 +02:00
virnetworkobj.h
virnodedeviceobj.c conf: rename Match functions 2018-08-14 12:41:43 +02: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
virsavecookie.h
virsecretobj.c Remove ignore_value or void from unlink calls 2018-09-20 13:45:56 -04:00
virsecretobj.h
virstorageobj.c conf: Add new module node_device_util 2018-11-12 16:23:35 +01:00
virstorageobj.h virstorageobj: Check for source duplicates from virStoragePoolObjAssignDef 2018-09-04 10:11:40 +02:00