libvirt/src
Michal Privoznik 2a1ae8fba7 lib: Preserve error around virDomainNetReleaseActualDevice()
This function is calling public API virNetworkLookupByName()
which resets the error. Therefore, if
virDomainNetReleaseActualDevice() is used in cleanup path it
actually resets the original error that got us jump into
'cleanup' label.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2019-04-30 17:00:46 +02:00
..
access maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
admin maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
bhyve bhyve: convert to net model enum 2019-04-16 13:11:08 -04:00
conf Revert "network: use 'bridge' as actual type instead of 'network'" 2019-04-30 14:42:34 +01:00
cpu cpu_x86: Fix placement of *CheckFeature functions 2019-04-15 09:48:05 +02:00
cpu_map cpu_map: Add support for cldemote CPU feature 2019-04-25 16:26:46 +02:00
esx maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
hyperv maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
interface maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
keycodemapdb@6280c94f30 keycodemapdb: Update submodule 2019-04-15 16:18:00 +02:00
libxl lib: Preserve error around virDomainNetReleaseActualDevice() 2019-04-30 17:00:46 +02:00
locking maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
logging maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
lxc lib: Preserve error around virDomainNetReleaseActualDevice() 2019-04-30 17:00:46 +02:00
network Revert "network: use 'bridge' as actual type instead of 'network'" 2019-04-30 14:42:34 +01:00
node_device maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
nwfilter maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
openvz maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
phyp maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
qemu lib: Preserve error around virDomainNetReleaseActualDevice() 2019-04-30 17:00:46 +02:00
remote maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
rpc rpc: cleanup in virNetTLSContextNew 2019-04-16 11:22:50 +01:00
secret maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
security conf: Add VIR_DOMAIN_DEF_FEATURE_NET_MODEL_STRING 2019-04-16 13:11:08 -04:00
storage maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
test maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
util util: Fix uninitalized variable to avoid garbage value. 2019-04-30 09:44:21 +02:00
vbox vbox: Convert to net enum model 2019-04-16 13:11:08 -04:00
vmware maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
vmx vmx: Free @firmware in virVMXParseConfig 2019-04-23 10:59:01 +02:00
vz vz: fixes: snapshot: Factor out virDomainMomentDef class 2019-04-17 10:07:31 +03:00
xenapi maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
xenconfig conf: net: Add model enum, and netfront value 2019-04-16 13:11:08 -04:00
admin_protocol-structs
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c backup: Introduce virDomainCheckpointPtr 2019-03-26 15:40:57 -05:00
datatypes.h backup: Introduce virDomainCheckpointPtr 2019-03-26 15:40:57 -05:00
driver-hypervisor.h
driver-interface.h
driver-network.h
driver-nodedev.h
driver-nwfilter.h
driver-secret.h
driver-state.h
driver-storage.h
driver-stream.h
driver.c Fix names for abs_top_{src,build}dir variables 2019-03-14 10:05:28 +01:00
driver.h
dtrace2systemtap.pl
internal.h internal: Introduce VIR_RETURN_PTR 2019-04-10 16:34:57 +02:00
libvirt_admin_private.syms
libvirt_admin_public.syms
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms conf: Expose virDomainSCSIDriveAddressIsUsed 2019-04-18 17:04:33 +02:00
libvirt_probes.d
libvirt_public.syms
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt-admin.c
libvirt-admin.conf
libvirt-domain-snapshot.c snapshot: Various doc tweaks 2019-03-26 15:33:07 -05:00
libvirt-domain.c lib: domain: Convert to virErrorRestore/virErrorPreserveLast 2019-04-17 10:19:49 -04:00
libvirt-host.c
libvirt-interface.c docs: Consistent spacing in *GetXMLDesc functions 2019-03-13 20:28:52 -05:00
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c docs: Consistent spacing in *GetXMLDesc functions 2019-03-13 20:28:52 -05:00
libvirt-nodedev.c
libvirt-nwfilter.c docs: Consistent spacing in *GetXMLDesc functions 2019-03-13 20:28:52 -05:00
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c
libvirt-storage.c
libvirt-stream.c
libvirt.c
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
Makefile.am build-aux: ensure all scripts are included in EXTRA_DIST 2019-04-11 15:20:17 +01:00
qemu_protocol-structs
README
remote_protocol-structs
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
 * phyp/         - IBM Power Hypervisor using CLI tools over SSH
 * 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
 * xenapi/       - Xen using libxenserver


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, Power Hypervisor, 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