libvirt/src/conf
Eric Blake de80cdbcc9 snapshot: Refactor list filtering
Separate the algorithm for which list members to vist (which is
generic and can be shared with checkpoints, provided that common
filtering bits are either declared with the same value or have a
mapping from public API to common value) from the decision on which
members to return (which is specific to snapshots).  The typedef for
the callback function feels a bit heavy here, but will make it easier
to move the common portions in a later patch.

As part of the refactoring, note that the macros for selecting filter
bits are specific to listing functionality, so they belong better in
virdomainsnapshotobjlist.h (missed in commit 9b75154c).

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2019-03-22 01:18:33 -05:00
..
capabilities.c conf: Introduce storage pool functions into capabilities 2019-03-06 11:12:48 -05:00
capabilities.h conf: Split capabilities forward typedefs into virconftypes.h 2019-03-15 11:31:12 -05:00
cpu_conf.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
cpu_conf.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
device_conf.c conf: make virPCIDeviceAddressFormat void 2019-02-19 15:59:38 +00:00
device_conf.h conf: make virPCIDeviceAddressFormat void 2019-02-19 15:59:38 +00:00
domain_addr.c lib: Use more of VIR_STEAL_PTR() 2019-01-28 14:46:58 +01:00
domain_addr.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
domain_audit.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
domain_audit.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
domain_capabilities.c conf: domcaps: Don't format XML on report=false 2019-03-18 10:51:02 -04:00
domain_capabilities.h conf: domcaps: Add virCapsEnum 'report' 2019-03-18 10:51:02 -04:00
domain_conf.c conf: Fold private data parsing into virDomainStorageSourceParse 2019-03-20 15:00:17 +01:00
domain_conf.h snapshot: Track current snapshot in virDomainSnapshotObjList 2019-03-22 01:15:20 -05:00
domain_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
domain_event.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
domain_nwfilter.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
domain_nwfilter.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
interface_conf.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
interface_conf.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
Makefile.inc.am snapshot: Break out virDomainSnapshotObjList into its own file 2019-03-15 11:43:09 -05:00
netdev_bandwidth_conf.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
netdev_bandwidth_conf.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
netdev_vlan_conf.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
netdev_vlan_conf.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
netdev_vport_profile_conf.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
netdev_vport_profile_conf.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
network_conf.c conf: make virPCIDeviceAddressFormat void 2019-02-19 15:59:38 +00:00
network_conf.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
network_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
network_event.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
networkcommon_conf.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
networkcommon_conf.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
node_device_conf.c xml: nodedev: add class info for pci capability 2019-03-18 11:14:58 +03:00
node_device_conf.h conf: don't use "class" as name 2019-03-18 11:14:37 +03:00
node_device_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
node_device_event.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
node_device_util.c conf: Add new module node_device_util 2018-11-12 16:23:35 +01:00
node_device_util.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
numa_conf.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
numa_conf.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
nwfilter_conf.c Drop some useless comparisons and checks 2019-03-07 09:22:47 +01:00
nwfilter_conf.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
nwfilter_ipaddrmap.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
nwfilter_ipaddrmap.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
nwfilter_params.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
nwfilter_params.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
object_event_private.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
object_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
object_event.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
secret_conf.c util: Introduce virStringParseYesNo helper 2019-03-13 14:24:18 +01:00
secret_conf.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
secret_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
secret_event.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
snapshot_conf.c snapshot: Access snapshot def directly when needed 2019-03-22 01:18:33 -05:00
snapshot_conf.h snapshot: Refactor list filtering 2019-03-22 01:18:33 -05:00
storage_adapter_conf.c conf: make virPCIDeviceAddressFormat void 2019-02-19 15:59:38 +00:00
storage_adapter_conf.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
storage_capabilities.c conf: Add storage pool capability formatting 2019-03-06 11:12:48 -05:00
storage_capabilities.h conf: Add storage pool capability formatting 2019-03-06 11:12:48 -05:00
storage_conf.c virStoragePoolDefParseSource: Don't leak @port 2019-03-19 17:36:27 +01:00
storage_conf.h storage: optional 'refresh' elemement on pool 2019-03-19 16:46:21 +01:00
storage_event.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
storage_event.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virchrdev.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virchrdev.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virconftypes.h snapshot: Break out virDomainSnapshotObj into its own file 2019-03-15 11:34:32 -05:00
virdomainobjlist.c snapshot: Break out virDomainSnapshotObjList into its own file 2019-03-15 11:43:09 -05:00
virdomainobjlist.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virdomainsnapshotobj.c snapshot: Add accessors for updating snapshot list relations 2019-03-22 01:18:33 -05:00
virdomainsnapshotobj.h snapshot: Add accessors for updating snapshot list relations 2019-03-22 01:18:33 -05:00
virdomainsnapshotobjlist.c snapshot: Refactor list filtering 2019-03-22 01:18:33 -05:00
virdomainsnapshotobjlist.h snapshot: Refactor list filtering 2019-03-22 01:18:33 -05:00
virinterfaceobj.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virinterfaceobj.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnetworkobj.c util: Rename virFileStripSuffix() to virStringStripSuffix() 2019-03-07 10:10:43 +01:00
virnetworkobj.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnodedeviceobj.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
virnodedeviceobj.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnwfilterbindingdef.c conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
virnwfilterbindingdef.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnwfilterbindingobj.c virnwfilterbindingobj: Introduce and use virNWFilterBindingObjStealDef 2019-03-20 16:26:31 +01:00
virnwfilterbindingobj.h virnwfilterbindingobj: Introduce and use virNWFilterBindingObjStealDef 2019-03-20 16:26:31 +01:00
virnwfilterbindingobjlist.c virnwfilterbindingobj: Introduce and use virNWFilterBindingObjStealDef 2019-03-20 16:26:31 +01:00
virnwfilterbindingobjlist.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virnwfilterobj.c util: Rename virFileStripSuffix() to virStringStripSuffix() 2019-03-07 10:10:43 +01:00
virnwfilterobj.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virsavecookie.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
virsavecookie.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virsecretobj.c Use virStringHasSuffix() where possible 2019-03-07 10:10:49 +01:00
virsecretobj.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virstorageobj.c Use virStringHasSuffix() where possible 2019-03-07 10:10:49 +01:00
virstorageobj.h storage: Process storage pool capabilities 2019-03-06 11:12:48 -05:00