libvirt/src
Pavel Hrdina 6aff1e9ca5 libxl: copy persistent domain definition while starting a guest
We should make a copy of current definition to preserve a persistent
definition, because we later update the definition with live changes.
The live definition is discarded on domain shutdown and replaced by the
copy we make before starting the domain.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2015-12-09 13:00:23 +01:00
..
access viraccessperm.h: Fix some typos 2015-07-17 09:41:31 +02:00
admin admin: Rename virAdmConnect to virAdmDaemon 2015-12-01 11:44:48 +01:00
bhyve conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
conf conf: Revert some code to resolve issues for hostdev hotplug 2015-12-03 11:22:51 -05:00
cpu cpu: Introduce IvyBridge CPU model 2015-09-07 12:36:06 +02:00
esx vmware/vmx: use virDomainDefPostParse after parsing vmx config 2015-12-09 12:36:44 +01:00
hyperv conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
interface interface: let netcf pre-filter for active vs. inactive 2015-10-02 11:16:11 -04:00
libxl libxl: copy persistent domain definition while starting a guest 2015-12-09 13:00:23 +01:00
locking virtlockd: fix misc memory leaks and other bugs 2015-11-26 14:30:26 +00:00
logging logging: validate flags passed from client in virtlogd 2015-12-07 17:30:07 +00:00
lxc lxc: use virDomainDefPostParse for parsing LXC config string 2015-12-09 12:59:02 +01:00
network bridge: check for invalid MAC in networkGetDHCPLeases 2015-12-03 10:15:22 +01:00
node_device nodedev: report maxCount for virtual_functions capability 2015-11-24 12:31:04 -05:00
nwfilter Remove new lines from log messages 2015-11-04 13:09:35 +01:00
openvz conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
phyp phyp: Refactor extraction of vcpu count 2015-11-24 13:16:55 +01:00
qemu logging: change log protocol to be more reusable 2015-12-07 17:30:07 +00:00
remote Change name of the domain upon successful rename 2015-09-04 18:55:01 +02:00
rpc admin: Rename virAdmConnect to virAdmDaemon 2015-12-01 11:44:48 +01:00
secret
security security_selinux: fix indentation 2015-12-09 10:44:26 +01:00
storage storage: Change virStorageBackendVolOpen to use virFileOpenAs 2015-11-20 17:07:13 -05:00
test conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
uml conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
util rotatingfile: mark log files as close-on-exec 2015-12-04 18:18:39 +00:00
vbox conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
vmware vmware/vmx: use virDomainDefPostParse after parsing vmx config 2015-12-09 12:36:44 +01:00
vmx vmware/vmx: use virDomainDefPostParse after parsing vmx config 2015-12-09 12:36:44 +01:00
vz conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
xen xen: use virDomainDefPostParse for parsing XM/XL/SEXPR cofings 2015-12-09 12:59:21 +01:00
xenapi xenapi: Refactor extraction of vcpu count 2015-11-24 13:16:55 +01:00
xenconfig xen: fix timer bug found by updated test 2015-12-09 12:59:27 +01:00
admin_protocol-structs admin: Rename virAdmConnect to virAdmDaemon 2015-12-01 11:44:48 +01:00
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c admin: Rename virAdmConnect to virAdmDaemon 2015-12-01 11:44:48 +01:00
datatypes.h admin: Rename virAdmConnect to virAdmDaemon 2015-12-01 11:44:48 +01:00
driver-hypervisor.h Introduce virDomainRename API 2015-08-14 10:50:20 +02:00
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 Use the DEFAULT_DRIVER_DIR macro 2015-04-02 10:27:56 +02:00
driver.h
dtrace2systemtap.pl
fdstream.c
fdstream.h
gnutls_1_0_compat.h
internal.h internal: Introduce virCheckNonEmptyStringArgGoto and reuse it 2015-06-26 16:05:10 +02:00
libvirt_admin_private.syms admin: Rename virAdmConnect to virAdmDaemon 2015-12-01 11:44:48 +01:00
libvirt_admin_public.syms admin: Rename virAdmConnect to virAdmDaemon 2015-12-01 11:44:48 +01:00
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
libvirt_probes.d
libvirt_public.syms Introduce virDomainRename API 2015-08-14 10:50:20 +02:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms rpc: Remove keepalive_required option 2015-08-10 13:15:56 +02:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt_xenxlconfig.syms
libvirt-admin.c admin: Rename virAdmConnect to virAdmDaemon 2015-12-01 11:44:48 +01:00
libvirt-admin.conf admin: Introduce libvirt-admin.conf 2015-11-30 09:36:19 +01:00
libvirt-domain-snapshot.c Fix typo incomaptible -> incompatible 2015-06-30 12:26:25 +02:00
libvirt-domain.c libvirt: Update virDomainSetMemory description 2015-12-04 16:43:35 -05:00
libvirt-host.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-interface.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-nodedev.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-nwfilter.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c libvirt-secret: Fix typo 2015-10-15 11:31:27 +02:00
libvirt-storage.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-stream.c
libvirt.c livirt: Move URI alias matching to util 2015-11-30 09:44:28 +01:00
libvirt.conf admin: Distribute libvirt-admin.conf 2015-12-01 11:44:48 +01:00
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs Remove explicit enum from protocol structures 2015-07-08 14:34:38 +02:00
lxc_protocol-structs
Makefile.am admin: Distribute libvirt-admin.conf 2015-12-01 11:44:48 +01:00
nodeinfo.c nodeinfo: Fix build failure when KVM headers are not available 2015-08-03 17:14:16 +02:00
nodeinfo.h nodeinfo: Fix output on PPC64 KVM hosts 2015-08-03 08:38:46 -04:00
nodeinfopriv.h nodeinfo: Make sysfs_prefix usage more consistent 2015-07-14 17:11:36 -04:00
qemu_protocol-structs
README
remote_protocol-structs protocol: Don't use rename as a variable name 2015-08-15 17:15:33 +02: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
 * uml/          - User Mode Linux
 * 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, UML 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