libvirt/src
Peter Krempa a43c8763bf virStorageSourceGetMetadata: Use depth limit instead of unique path checking
Prevent unbounded chains by limiting the recursion depth of
virStorageSourceGetMetadataRecurse to the maximum number of image layers
we limit anyways.

This removes the last use of virStorageSourceGetUniqueIdentifier which
will allow us to delete some crusty old infrastructure which isn't
really needed.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-04-12 15:55:09 +02:00
..
access api: add virNodeDeviceUndefine() 2021-04-07 15:13:32 -05:00
admin Use g_steal_pointer where possible 2021-03-01 15:54:42 +01:00
bhyve Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
conf nodedev: add <uuid> element to mdev caps 2021-04-07 15:14:01 -05:00
cpu cpu: Introduce virCPUCheckForbiddenFeatures 2021-03-26 11:40:52 +01:00
cpu_map cpu_map: Fix spelling of svme-addr-chk feature 2021-03-04 09:33:39 +01:00
esx lib: Fix calling of virNetworkUpdate() driver callback 2021-03-25 10:10:23 +01:00
hyperv Do not check return value of VIR_EXPAND_N 2021-03-22 12:44:18 +01:00
hypervisor lib: Use g_steal_pointer() more 2021-03-24 13:57:51 +01:00
interface lib: Use g_steal_pointer() more 2021-03-24 13:57:51 +01:00
keycodemapdb@27acf0ef82
libxl libxl: add API wrapper for libxl_set_memory_target 2021-04-01 14:01:06 -06:00
locking Do not check return value of VIR_EXPAND_N 2021-03-22 12:44:18 +01:00
logging virtlo(g|ck)d: Fix exec-restart 2021-03-12 16:08:28 +01:00
lxc lib: Undo some g_steal_pointer() changes 2021-03-26 10:11:57 +01:00
network lib: Fix calling of virNetworkUpdate() driver callback 2021-03-25 10:10:23 +01:00
node_device api: Add 'flags' param to virNodeDeviceCreate/Undefine() 2021-04-09 12:43:47 -05:00
nwfilter lib: Put some variable declarations on individual lines 2021-03-15 09:38:18 +01:00
openvz lib: Fix calling of virNetworkUpdate() driver callback 2021-03-25 10:10:23 +01:00
qemu virStorageSourceGetMetadata: Use depth limit instead of unique path checking 2021-04-12 15:55:09 +02:00
remote api: Add 'flags' param to virNodeDeviceCreate/Undefine() 2021-04-09 12:43:47 -05:00
rpc api: add virNodeDeviceDefineXML() 2021-04-07 15:10:28 -05:00
secret lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
security virStorageSourceGetMetadata: Use depth limit instead of unique path checking 2021-04-12 15:55:09 +02:00
storage Do not check return value of VIR_REALLOC_N 2021-03-22 12:44:18 +01:00
storage_file virStorageSourceGetMetadata: Use depth limit instead of unique path checking 2021-04-12 15:55:09 +02:00
test lib: Fix calling of virNetworkUpdate() driver callback 2021-03-25 10:10:23 +01:00
util util: json: Remove virJSONValueNewArrayFromBitmap 2021-04-12 14:59:29 +02:00
vbox lib: Use g_steal_pointer() more 2021-03-24 13:57:51 +01:00
vmware
vmx XML <source bridge='VMnet0'/> update in <interface type='bridge'/> 2021-04-01 13:36:35 +02:00
vz vz: Add case for VIR_DRV_FEATURE_NETWORK_UPDATE_HAS_CORRECT_ORDER 2021-03-25 13:01:09 +01:00
admin_protocol-structs
datatypes.c
datatypes.h
driver-hypervisor.h migration/dirtyrate: Introduce virDomainStartDirtyRateCalc API 2021-03-18 08:50:25 +01:00
driver-interface.h
driver-network.h
driver-nodedev.h api: Add 'flags' param to virNodeDeviceCreate/Undefine() 2021-04-09 12:43:47 -05:00
driver-nwfilter.h
driver-secret.h
driver-state.h
driver-storage.h
driver-stream.h
driver.c
driver.h
internal.h
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_internal.h lib: Fix calling of virNetworkUpdate() driver callback 2021-03-25 10:10:23 +01:00
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms util: json: Remove virJSONValueNewArrayFromBitmap 2021-04-12 14:59:29 +02:00
libvirt_probes.d
libvirt_public.syms api: add virNodeDeviceCreate() 2021-04-07 15:14:01 -05:00
libvirt_qemu.syms
libvirt_remote.syms virnetdaemon: Introduce virNetDaemonQuitExecRestart 2021-03-12 16:08:28 +01:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt-domain-checkpoint.c
libvirt-domain-snapshot.c
libvirt-domain.c migration/dirtyrate: Extend dirtyrate statistics for domGetStats 2021-03-18 08:50:25 +01:00
libvirt-host.c
libvirt-interface.c
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c lib: Fix calling of virNetworkUpdate() driver callback 2021-03-25 10:10:23 +01:00
libvirt-nodedev.c api: Add 'flags' param to virNodeDeviceCreate/Undefine() 2021-04-09 12:43:47 -05:00
libvirt-nwfilter.c
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c
libvirt-storage.c
libvirt-stream.c
libvirt.c virConnectOpen: Require root dir to be absolute path 2021-03-12 15:40:13 +01:00
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
meson.build src: ensure GSource background unref happens in correct event loop 2021-03-17 09:16:05 +00:00
qemu_protocol-structs
README
remote_protocol-structs api: Add 'flags' param to virNodeDeviceCreate/Undefine() 2021-04-09 12:43:47 -05:00
virkeepaliveprotocol-structs
virnetprotocol-structs

       libvirt library code README
       ===========================

The directory provides the bulk of the libvirt codebase. Everything
except for the libvirtd daemon and client tools. The build uses a
large number of libtool convenience libraries - one for each child
directory, and then links them together for the final libvirt.so,
although some bits get linked directly to libvirtd daemon instead.

The files directly in this directory are supporting the public API
entry points & data structures.

There are two core shared modules to be aware of:

 * util/  - a collection of shared APIs that can be used by any
            code. This directory is always in the include path
            for all things built

 * conf/  - APIs for parsing / manipulating all the official XML
            files used by the public API. This directory is only
            in the include path for driver implementation modules

 * vmx/   - VMware VMX config handling (used by esx/ and vmware/)


Then there are the hypervisor implementations:

 * bhyve         - bhyve - The BSD Hypervisor
 * esx/          - VMware ESX and GSX support using vSphere API over SOAP
 * hyperv/       - Microsoft Hyper-V support using WinRM
 * lxc/          - Linux Native Containers
 * openvz/       - OpenVZ containers using cli tools
 * qemu/         - QEMU / KVM using qemu CLI/monitor
 * remote/       - Generic libvirt native RPC client
 * test/         - A "mock" driver for testing
 * vbox/         - Virtual Box using native API
 * vmware/       - VMware Workstation and Player using the vmrun tool
 * xen/          - Xen using hypercalls, XenD SEXPR & XenStore


Finally some secondary drivers that are shared for several HVs.
Currently these are used by LXC, OpenVZ, QEMU and Xen drivers.
The ESX, Hyper-V, Remote, Test & VirtualBox drivers all
implement the secondary drivers directly

 * cpu/          - CPU feature management
 * interface/    - Host network interface management
 * network/      - Virtual NAT networking
 * nwfilter/     - Network traffic filtering rules
 * node_device/  - Host device enumeration
 * secret/       - Secret management
 * security/     - Mandatory access control drivers
 * storage/      - Storage management drivers


Since both the hypervisor and secondary drivers can be built as
dlopen()able modules, it is *FORBIDDEN* to have build dependencies
between these directories. Drivers are only allowed to depend on
the public API, and the internal APIs in the util/ and conf/
directories