libvirt/src/conf
Peter Krempa e6d1ed4a76 conf: Add support for setting expected TLS hostname for NBD disks
In cases when the hostname of the NBD server doesn't match the hostname
in the TLS certificate the new attribute 'tlsHostname' can be used to
override it.

Add the XML infrastructure and tests.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-03-11 15:17:06 +01:00
..
backup_conf.c virDomainBackupDefFormat: Propagate private data callbacks 2021-11-04 10:55:28 +01:00
backup_conf.h virDomainBackupDefFormat: Propagate private data callbacks 2021-11-04 10:55:28 +01:00
capabilities.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
capabilities.h
checkpoint_conf.c
checkpoint_conf.h
cpu_conf.c cpu_conf: unbreak XPath in virCPUDefParseXML() 2022-02-08 12:38:01 +01:00
cpu_conf.h conf: Convert virCPUDefParseXML() to virXMLProp*() 2022-01-21 16:42:14 +01:00
device_conf.c conf: device: compare drive address fields separately 2021-11-16 16:40:33 +01:00
device_conf.h
domain_addr.c src: Initialize stack allocated virPCIDeviceAddress variables 2022-02-11 15:01:19 +01:00
domain_addr.h
domain_audit.c conf: Properly instantiate virDomainChrSourceDef in virDomainTPMDef 2021-11-19 12:38:35 +01:00
domain_audit.h
domain_capabilities.c conf: extend domain capabilities for max SEV guest count 2021-12-14 16:04:17 +00:00
domain_capabilities.h conf: extend domain capabilities for max SEV guest count 2021-12-14 16:04:17 +00:00
domain_conf.c conf: Add support for setting expected TLS hostname for NBD disks 2022-03-11 15:17:06 +01:00
domain_conf.h Rename VIR_DOMAIN_SNAPSHOT_LOCATION_NONE to VIR_DOMAIN_SNAPSHOT_LOCATION_NO 2022-03-11 13:55:49 +01:00
domain_event.c
domain_event.h
domain_nwfilter.c
domain_nwfilter.h
domain_validate.c Rename VIR_DOMAIN_SNAPSHOT_LOCATION_NONE to VIR_DOMAIN_SNAPSHOT_LOCATION_NO 2022-03-11 13:55:49 +01:00
domain_validate.h
interface_conf.c virInterfaceDefParse: Simplify and cleanup 2022-01-14 15:38:50 +01:00
interface_conf.h lib: Introduce and use g_autoptr() for virInterfaceDef 2021-11-02 10:52:18 +01:00
meson.build
moment_conf.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
moment_conf.h
netdev_bandwidth_conf.c
netdev_bandwidth_conf.h
netdev_vlan_conf.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
netdev_vlan_conf.h
netdev_vport_profile_conf.c lib: Drop needless one line labels 2021-11-22 12:39:59 +01:00
netdev_vport_profile_conf.h
network_conf.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
network_conf.h lib: Almost eliminate use of virTristateBoolTypeFromString() 2022-01-21 16:42:13 +01:00
network_event.c virNetworkEventDispatchDefaultFunc: Cleanup 2021-11-08 14:32:32 +01:00
network_event.h
networkcommon_conf.c
networkcommon_conf.h
node_device_conf.c src: Initialize stack allocated virPCIDeviceAddress variables 2022-02-11 15:01:19 +01:00
node_device_conf.h Add PCI VPD Capability Support 2021-10-21 17:34:04 +01:00
node_device_event.c
node_device_event.h
node_device_util.c
node_device_util.h
numa_conf.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
numa_conf.h
nwfilter_conf.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
nwfilter_conf.h
nwfilter_ipaddrmap.c Switch away from virHashFree 2021-12-01 13:53:12 +01:00
nwfilter_ipaddrmap.h
nwfilter_params.c
nwfilter_params.h
object_event_private.h
object_event.c
object_event.h
secret_conf.c
secret_conf.h
secret_event.c
secret_event.h
snapshot_conf_priv.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
snapshot_conf.c conf: snapshot: Use proper types for snapshot location 2022-03-11 13:55:50 +01:00
snapshot_conf.h conf: snapshot: Use proper types for snapshot location 2022-03-11 13:55:50 +01:00
storage_adapter_conf.c
storage_adapter_conf.h
storage_capabilities.c
storage_capabilities.h
storage_conf.c lib: Almost eliminate use of virTristateBoolTypeFromString() 2022-01-21 16:42:13 +01:00
storage_conf.h
storage_encryption_conf.c conf: add luks2 encryption format 2021-10-25 14:06:15 +02:00
storage_encryption_conf.h conf: add luks2 encryption format 2021-10-25 14:06:15 +02:00
storage_event.c
storage_event.h
storage_source_conf.c storage_source: Add 'tlsHostname' field to virStorageSource 2022-03-11 15:17:06 +01:00
storage_source_conf.h storage_source: Add 'tlsHostname' field to virStorageSource 2022-03-11 15:17:06 +01:00
virchrdev.c virChrdevFree: Use VIR_WITH_MUTEX_LOCK 2022-02-01 17:20:02 +01:00
virchrdev.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virconftypes.h conf: Refactor launch security to allow more types 2021-07-21 13:30:14 +02:00
virdomaincheckpointobjlist.c
virdomaincheckpointobjlist.h
virdomainmomentobjlist.c virDomainMomentAssignDef: Simplify error handling 2022-01-14 18:05:29 +01:00
virdomainmomentobjlist.h conf: moment: Export helpers to create the virDomainMoment wrapper 2022-01-12 16:00:18 +01:00
virdomainobjlist.c conf: remove misleading comments about access being 'lockless' 2022-03-10 08:05:29 +00:00
virdomainobjlist.h virDomainObjListAdd: Transfer definition ownership 2021-11-24 13:12:20 +01:00
virdomainsnapshotobjlist.c virDomainSnapshotRedefinePrep: Don't do partial redefine 2022-01-14 18:11:58 +01:00
virdomainsnapshotobjlist.h virDomainSnapshotRedefinePrep: Don't do partial redefine 2022-01-14 18:11:58 +01:00
virinterfaceobj.c conf: remove misleading comments about access being 'lockless' 2022-03-10 08:05:29 +00:00
virinterfaceobj.h virInterfaceObjListAssignDef: Transfer definition ownership 2021-11-24 13:12:20 +01:00
virnetworkobj.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
virnetworkobj.h conf: remove radvdPid from virNetworkObj 2021-12-15 15:28:17 +01:00
virnetworkportdef.c conf: Convert virNetworkPortDefParseXML() to virXMLProp*() 2022-01-21 16:42:14 +01:00
virnetworkportdef.h conf: Convert virNetworkPortDefParseXML() to virXMLProp*() 2022-01-21 16:42:14 +01:00
virnodedeviceobj.c conf: remove misleading comments about access being 'lockless' 2022-03-10 08:05:29 +00:00
virnodedeviceobj.h nodedev: implement virNodeDevice(Get|Set)Autostart() 2021-09-14 14:24:00 -05:00
virnwfilterbindingdef.c Switch away from virHashFree 2021-12-01 13:53:12 +01:00
virnwfilterbindingdef.h
virnwfilterbindingobj.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
virnwfilterbindingobj.h
virnwfilterbindingobjlist.c conf: remove misleading comments about access being 'lockless' 2022-03-10 08:05:29 +00:00
virnwfilterbindingobjlist.h
virnwfilterobj.c lib: Drop intermediary return variables 2021-10-25 12:48:46 +02:00
virnwfilterobj.h
virsavecookie.c lib: Drop needless one line labels 2021-11-22 12:39:59 +01:00
virsavecookie.h
virsecretobj.c conf: remove misleading comments about access being 'lockless' 2022-03-10 08:05:29 +00:00
virsecretobj.h virSecretObjListAdd: Transfer definition ownership 2021-11-24 13:12:20 +01:00
virstorageobj.c conf: remove misleading comments about access being 'lockless' 2022-03-10 08:05:29 +00:00
virstorageobj.h virStoragePoolObjListAdd: Transfer definition ownership 2021-11-24 13:12:20 +01:00