libvirt/src
Eric Blake 7fe07761a7 snapshot: Add virDomainSnapshotDefNew
In preparation for making virDomainSnapshotDef a descendant of
virObject, it is time to fix all callers that allocate an object to
use virDomainSnapshotDefNew() instead of VIR_ALLOC().  Fortunately,
there aren't very many :)

Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
2019-05-09 09:51:51 -05: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 snapshot: Add virDomainSnapshotDefNew 2019-05-09 09:51:51 -05: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 snapshot: s/current/parent/ as prep for virObject 2019-05-09 09:48:07 -05: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 snapshot: s/current/parent/ as prep for virObject 2019-05-09 09:48:07 -05: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 snapshot: s/current/parent/ as prep for virObject 2019-05-09 09:48:07 -05:00
util virBuffer: Try harder to free buffer 2019-05-06 09:33:10 +02:00
vbox snapshot: Add virDomainSnapshotDefNew 2019-05-09 09:51:51 -05: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 snapshot: s/current/parent/ as prep for virObject 2019-05-09 09:48:07 -05: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 perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
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 Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
driver-interface.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
driver-network.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
driver-nodedev.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
driver-nwfilter.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
driver-secret.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
driver-state.h Revert "Separate out StateAutoStart from StateInitialize" 2019-03-06 10:20:31 +01:00
driver-storage.h libvirt: Introduce virConnectGetStoragePoolCapabilities 2019-03-06 11:12:48 -05:00
driver-stream.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
driver.c Fix names for abs_top_{src,build}dir variables 2019-03-14 10:05:28 +01:00
driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
dtrace2systemtap.pl Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
internal.h internal: Introduce VIR_RETURN_PTR 2019-04-10 16:34:57 +02:00
libvirt_admin_private.syms
libvirt_admin_public.syms admin: Introduce virAdmConnectSetLoggingFilters 2016-12-15 10:36:23 +01:00
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_internal.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt_libssh2.syms
libvirt_libssh.syms libssh_transport: add new libssh-based transport 2016-11-15 15:50:51 +01:00
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms snapshot: Add virDomainSnapshotDefNew 2019-05-09 09:51:51 -05:00
libvirt_probes.d Forget last daemon/ dir artefacts 2018-07-27 15:44:38 +02:00
libvirt_public.syms libvirt: Introduce virConnectGetStoragePoolCapabilities 2019-03-06 11:12:48 -05:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms rpc: client: incapsulate error checks 2019-02-08 16:51:45 +01:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt-admin.c Use NULLSTR_EMPTY 2019-02-14 14:09:38 +01:00
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 Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
libvirt-lxc.pc.in
libvirt-network.c docs: Consistent spacing in *GetXMLDesc functions 2019-03-13 20:28:52 -05:00
libvirt-nodedev.c src: Unify virObject member name 2018-04-18 10:04:55 +02:00
libvirt-nwfilter.c docs: Consistent spacing in *GetXMLDesc functions 2019-03-13 20:28:52 -05:00
libvirt-qemu.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
libvirt-qemu.pc.in Fix build-time pkg-config files in VPATH 2014-11-06 15:59:28 +01:00
libvirt-secret.c
libvirt-storage.c libvirt: Introduce virConnectGetStoragePoolCapabilities 2019-03-06 11:12:48 -05:00
libvirt-stream.c
libvirt.c Revert "Separate out StateAutoStart from StateInitialize" 2019-03-06 10:20:31 +01:00
libvirt.conf
libvirt.pc.in
lock_protocol-structs Fix make check with gcc version 5 2016-01-18 15:19:21 +01:00
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 Drop UML driver 2018-12-17 17:52:46 +01:00
remote_protocol-structs libvirt: Introduce virConnectGetStoragePoolCapabilities 2019-03-06 11:12:48 -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
 * 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