libvirt/src
Pavel Hrdina d292ddf1cc qemu_snapshot: external: don't error out when updating metadata
Attaching disk into running VM the offline definition may not be
updated and we will end up with that disk existing only in live
definition. Creating snapshot with this state saves both live and
offline definition into snapshot metadata.

When we are deleting an external snapshot we are updating these
definitions in the snapshot metadata so we should just skip over
non-existing disks instead of reporting error.

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

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-04-03 14:32:40 +02:00
..
access access: Update format strings in translated messages 2023-04-01 11:40:31 +02:00
admin admin: Update format strings in translated messages 2023-04-01 11:40:32 +02:00
bhyve virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
ch virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
conf virCapabilitiesFreeMachines: Remove unused function 2023-04-03 09:19:07 +02:00
cpu cpu: Update format strings in translated messages 2023-04-01 11:40:32 +02:00
cpu_map cpu_map: Add missing feature "fsrc" 2023-03-15 14:46:12 +01:00
esx virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
hyperv hyperv: Update format strings in translated messages 2023-04-01 11:40:32 +02:00
hypervisor hypervisor: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
interface interface: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
keycodemapdb@57ba70da53
libxl virCapabilitiesAllocMachines: Use NULL-terminated list as argument and return count 2023-04-03 09:19:07 +02:00
locking locking: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
logging logging: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
lxc virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
network virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
node_device node_device: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
nwfilter nwfilter: Update format strings in translated messages 2023-04-01 11:40:33 +02:00
openvz virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
qemu qemu_snapshot: external: don't error out when updating metadata 2023-04-03 14:32:40 +02:00
remote remote: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
rpc Remove trailing spaces from translatable strings 2023-04-03 08:55:27 +02:00
secret secret: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
security security: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
storage storage: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
storage_file storage_file: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
test Remove trailing spaces from translatable strings 2023-04-03 08:55:27 +02:00
util virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
vbox virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
vmware virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
vmx vmx: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
vz virStringParseVersion: Parse into 'unsigned long long' 2023-04-03 09:19:06 +02:00
admin_protocol-structs admin: Introduce virAdmConnectSetDaemonTimeout 2022-07-07 14:35:30 +02:00
datatypes.c datatypes: Simplify error path of 'virGetDomain' 2023-01-06 15:27:52 +01:00
datatypes.h datatypes: Clean up whitespace in definition of struct _virConnect 2023-01-06 15:27:52 +01:00
driver-hypervisor.h lib: Introduce virDomainFDAssociate API 2023-01-09 14:59:42 +01:00
driver-interface.h
driver-network.h
driver-nodedev.h
driver-nwfilter.h
driver-secret.h
driver-state.h virStateInitialize: Propagate whether running in monolithic daemon mode to stateful driver init 2022-09-13 10:50:02 +02:00
driver-storage.h
driver-stream.h
driver.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
driver.h
internal.h src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_internal.h virStateInitialize: Propagate whether running in monolithic daemon mode to stateful driver init 2022-09-13 10:50:02 +02:00
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms
libvirt_logging.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms virCapabilitiesFreeMachines: Remove unused function 2023-04-03 09:19:07 +02:00
libvirt_probes.d
libvirt_public.syms lib: Introduce virDomainFDAssociate API 2023-01-09 14:59:42 +01:00
libvirt_qemu.syms
libvirt_remote.syms
libvirt_sasl.syms
libvirt_socket.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt-domain-checkpoint.c Use 'libvirt.org' instead of 'www.libvirt.org' 2023-04-03 09:19:05 +02:00
libvirt-domain-snapshot.c api: document support for external snapshot deletion 2023-01-09 13:33:19 +01:00
libvirt-domain.c Use 'libvirt.org' instead of 'www.libvirt.org' 2023-04-03 09:19:05 +02:00
libvirt-host.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt-interface.c
libvirt-lxc.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt-lxc.pc.in
libvirt-network.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt-nodedev.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt-nwfilter.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt-qemu.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt-qemu.pc.in
libvirt-secret.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt-storage.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt-stream.c
libvirt.c src: Update format strings in translated messages 2023-04-01 11:40:35 +02:00
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
meson.build meson: Replace external_program.path() with external_program.full_path() 2022-10-10 15:06:09 +02:00
qemu_protocol-structs
README
remote_protocol-structs lib: Introduce virDomainFDAssociate API 2023-01-09 14:59:42 +01: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