libvirt/src
Jim Meyering c16888a849 util.c (two more): don't use a negative value as allocation size
* src/util/util.c (virGetUserID, virGetGroupID): In the unlikely event
that sysconf(_SC_GETPW_R_SIZE_MAX) fails, don't use -1 as the size in
the subsequent allocation.
2010-02-01 22:19:15 +01:00
..
conf Revert "Fix libvirtd restart for domains with PCI passthrough devices" 2010-01-25 16:26:54 -05:00
cpu Move models/nmodels mismatch checking one level up 2010-02-01 17:20:27 +01:00
esx esx: Output error details from libcurl 2010-01-26 21:23:18 +01:00
interface New APIs for checking some object properties 2009-11-10 17:00:26 +00:00
lxc Add some missing include files which break build in certain platforms 2010-01-25 17:08:37 +00:00
network Fix uses of virFileMakePath 2010-01-21 00:52:13 +01:00
node_device portability to non-glibc: don't use realpath(..., NULL) 2010-01-27 13:39:46 +01:00
opennebula Add new API virDomainMemoryStats to header and drivers 2009-12-20 13:28:42 +01:00
openvz openvz_conf.c: don't dereference NULL upon failure 2010-01-05 15:32:53 +01:00
phyp Add new API virDomainMemoryStats to header and drivers 2009-12-20 13:28:42 +01:00
qemu avoid format-related warnings 2010-02-01 18:25:23 +01:00
remote convert missing server entry points into unsupported errors 2009-12-22 17:44:03 +01:00
secret Remove superfluous new lines from messages 2010-01-19 17:30:41 +01:00
security Use virFileResolveLink instead of readlink in AppArmor 2010-01-22 09:38:22 -05:00
storage avoid format-related warnings 2010-02-01 18:25:23 +01:00
test Add new API virDomainMemoryStats to header and drivers 2009-12-20 13:28:42 +01:00
uml Fix uses of virFileMakePath 2010-01-21 00:52:13 +01:00
util util.c (two more): don't use a negative value as allocation size 2010-02-01 22:19:15 +01:00
vbox vbox_tmpl.c: remove useless array-is-non-NULL comparisons 2010-01-18 13:31:47 +01:00
xen Support Xen 4.0 sysctl version 7 2010-01-27 10:56:18 -07:00
.gitignore Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
datatypes.c Allow NULL mac address in virGetInterface 2009-11-03 16:42:53 +01:00
datatypes.h Add public API definition for data stream handling 2009-09-29 15:48:52 +01:00
driver.c
driver.h Add new API virDomainMemoryStats to header and drivers 2009-12-20 13:28:42 +01:00
gnutls_1_0_compat.h
internal.h maint: avoid excess parens in STREQ 2010-02-01 17:21:26 +01:00
libvirt_bridge.syms
libvirt_driver_modules.syms
libvirt_internal.h Support a new peer-to-peer migration mode & public API 2009-10-09 12:35:07 +01:00
libvirt_linux.syms
libvirt_private.syms Remove undefined symbols from libvirt_private.syms 2010-01-26 21:23:18 +01:00
libvirt_public.syms domMemoryStats: Add public symbol to libvirt API 2009-12-20 13:34:21 +01:00
libvirt.c Log flags in virConnectCompareCPU 2010-02-01 16:23:41 +01:00
Makefile.am Introduce a new DAC security driver for QEMU 2010-01-21 14:00:16 +00:00
nodeinfo.c Introduce virStrncpy. 2009-09-22 20:10:00 +02:00
nodeinfo.h
README Add a README file to src/ explaining the directory structure 2009-09-21 14:41:47 +01:00

       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


Then there are the hypervisor implementations:

 * esx/          - VMware ESX and GSX support using vSphere API over SOAP
 * lxc/          - Linux Native Containers
 * opennebula/   - Open Nebula using XMLRPC
 * 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
 * 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, UML and Xen drivers.
The ESX, OpenNebula, Power Hypervisor, Remote, Test & VirtualBox
drivers all implement the secondary drivers directly

 * interface/    - Host network interface management
 * network/      - Virtual NAT networking
 * 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