libvirt/src/conf
Martin Kletzander d6e582da80 util: Clear unused part of the map in virBitmapShrink
Some of the other functions depend on the fact that unused bits and longs are
always zero and it's less error-prone to clear it than fix the other functions.
It's enough to zero out one piece of the map since we're calling realloc() to
get rid of the rest (and updating map_len).

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1540817

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2018-02-02 14:51:32 +01:00
..
capabilities.c conf: Use virResctrlInfo in capabilities 2018-01-25 17:16:08 +01:00
capabilities.h conf: Use virResctrlInfo in capabilities 2018-01-25 17:16:08 +01: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: Move some virDomainDeviceInfo functions 2017-07-21 17:18:40 +02:00
domain_addr.c qemu: address: Remove dead code when un-reserving PCI address 2017-10-19 14:50:50 +02:00
domain_addr.h qemu: address: Remove dead code when un-reserving PCI address 2017-10-19 14:50:50 +02:00
domain_audit.c conf: audit passthrough input devices at domain startup 2017-10-19 14:34:21 +02:00
domain_audit.h conf: audit passthrough input devices at domain startup 2017-10-19 14:34:21 +02:00
domain_capabilities.c domcaps: Treat host models as case-insensitive strings 2018-01-12 06:31:53 -05:00
domain_capabilities.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
domain_conf.c util: Clear unused part of the map in virBitmapShrink 2018-02-02 14:51:32 +01:00
domain_conf.h conf: Rework and rename virDomainDeviceFindControllerModel 2018-01-31 11:32:04 -05:00
domain_event.c events: Avoid double free possibility on remote call failure 2017-06-25 08:16:04 -04:00
domain_event.h
domain_nwfilter.c
domain_nwfilter.h
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
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
netdev_vlan_conf.h
netdev_vport_profile_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
netdev_vport_profile_conf.h
network_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
network_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
network_event.c
network_event.h
networkcommon_conf.c
networkcommon_conf.h
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
node_device_event.h
numa_conf.c conf: Fix memory leak for distances in virDomainNumaFree 2017-12-01 06:28:24 -05:00
numa_conf.h numa: Introduce virDomainNumaNodeDistanceIsUsingDefaults 2017-11-23 14:54:31 +01:00
nwfilter_conf.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
nwfilter_conf.h maint: Replace tabs with spaces in all source files in repo 2017-10-18 13:25:10 +02:00
nwfilter_ipaddrmap.c nwfilter: Don't have virNWFilterIPAddrMapAddIPAddr consume input 2017-10-02 06:14:32 -04:00
nwfilter_ipaddrmap.h
nwfilter_params.c use virXMLNodeNameEqual instead of xmlStrEqual 2017-08-14 14:31:52 +02:00
nwfilter_params.h
object_event_private.h
object_event.c events: Avoid double free possibility on remote call failure 2017-06-25 08:16:04 -04:00
object_event.h events: Avoid double free possibility on remote call failure 2017-06-25 08:16:04 -04:00
secret_conf.c util: Move virSecretUsageType to virsecret.h 2017-09-21 15:46:48 -04:00
secret_conf.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
secret_event.c
secret_event.h
snapshot_conf.c conf: Add infrastructure for disk source private data XML 2017-12-14 10:24:36 +01: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 util: storagefile: Add helpers to check presence of backing store 2017-10-17 06:19:18 +02:00
storage_conf.h storage: Privatize virStoragePoolObj and virStorageVolDefList 2017-11-07 14:12:52 -05:00
storage_event.c
storage_event.h
virchrdev.c
virchrdev.h
virdomainobjlist.c conf: Fix type for @liveStatus in virDomainObjListLoadAllConfigs 2017-11-09 10:37:58 +01:00
virdomainobjlist.h conf: Fix type for @liveStatus in virDomainObjListLoadAllConfigs 2017-11-09 10:37:58 +01:00
virinterfaceobj.c conf: Rename [n]macs and maxmacs to [n]names and maxnames 2017-10-20 14:48:23 -04:00
virinterfaceobj.h interface: Make _virInterfaceObjList virObjectRWLockable 2017-10-19 15:39:44 -04:00
virnetworkobj.c network: Convert virNetworkObjList to use RWObjectLockable 2017-10-12 18:30:39 -04:00
virnetworkobj.h network: Fix virNetworkObjBridgeInUse return type 2017-08-28 14:02:22 -04:00
virnodedeviceobj.c conf: nodedev: Refresh capabilities before touching them 2018-01-29 15:34:30 +01:00
virnodedeviceobj.h nodedev: Move privileged flag from udev private data to driver's state 2017-10-19 08:54:52 +02:00
virnwfilterobj.c nwfilter: Alter @aclfilter to just @filter 2017-08-16 14:24:38 -04:00
virnwfilterobj.h nwfilter: Alter @aclfilter to just @filter 2017-08-16 14:24:38 -04: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 secrets: Convert to use ObjectRWLockable 2017-10-12 21:30:52 -04:00
virsecretobj.h secret: Alter @aclfilter to just @filter 2017-08-16 14:24:38 -04:00
virstorageobj.c storage: Complete implementation volume by hash object 2018-01-10 08:10:24 -05:00
virstorageobj.h conf: Use bool for @check_active parameter 2018-01-04 10:54:08 -05:00