libvirt/src
Matthias Bolte cad2a4caed Convert virSecurityReportError into a macro
The virRaiseError macro inside of virSecurityReportError expands to
virRaiseErrorFull and includes the __FILE__, __FUNCTION__ and __LINE__
information. But this three values are always the same for every call
to virSecurityReportError and do not reflect the actual error context.

Converting virSecurityReportError into a macro results in getting the
correct __FILE__, __FUNCTION__ and __LINE__ information.
2010-02-15 10:45:25 +01:00
..
conf plug four virStoragePoolSourceFree-related leaks 2010-02-11 17:22:45 +01:00
cpu Implement cpuArchBaseline in x86 CPU driver 2010-02-12 14:19:56 +01:00
esx Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
interface Remove virConnectPtr from interface XML APIs 2010-02-10 13:32:48 +00:00
lxc Fix crash in LXC driver open method when URI has no path 2010-02-12 17:25:19 +00:00
network Remove virConnectPtr from network XML APis 2010-02-10 13:31:28 +00:00
node_device Remove virConnectPtr from all node device XML APIs 2010-02-10 13:32:01 +00:00
opennebula Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
openvz Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
phyp Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
qemu Add persistence of PCI addresses to QEMU 2010-02-12 17:25:52 +00:00
remote Implement cpuBaseline in remote and qemu drivers 2010-02-12 14:30:42 +01:00
secret Remove virConnectPtr from secret XML APIs 2010-02-10 13:32:58 +00:00
security Convert virSecurityReportError into a macro 2010-02-15 10:45:25 +01:00
storage plug four virStoragePoolSourceFree-related leaks 2010-02-11 17:22:45 +01:00
test Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
uml Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
util Fix USB device path formatting mixup 2010-02-12 17:25:12 +00:00
vbox Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
xen Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
.gitignore Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
datatypes.c Remove conn parameter from virReportOOMError 2010-02-09 01:04:54 +01:00
datatypes.h Add public API definition for data stream handling 2009-09-29 15:48:52 +01:00
driver.c Log dlopen() errors more verbosely 2009-05-08 10:05:56 +00:00
driver.h Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
gnutls_1_0_compat.h Enable the <config.h>-requiring test; fix violations 2008-01-29 18:15:54 +00:00
internal.h maint: avoid excess parens in STREQ 2010-02-01 17:21:26 +01:00
libvirt_bridge.syms Support networking in UML driver 2009-06-03 11:13:33 +00:00
libvirt_driver_modules.syms Move --with-driver-modules symbols into a separate sym file 2009-01-05 14:06:41 +00:00
libvirt_internal.h Support a new peer-to-peer migration mode & public API 2009-10-09 12:35:07 +01:00
libvirt_linux.syms migrate linux-specific symbol names into their own sym file 2009-01-05 14:08:26 +00:00
libvirt_private.syms Functions for computing baseline CPU from a set of host CPUs 2010-02-12 14:16:23 +01:00
libvirt_public.syms virConnectBaselineCPU public API 2010-02-12 14:21:58 +01:00
libvirt.c virConnectBaselineCPU public API implementation 2010-02-12 14:25:39 +01:00
Makefile.am Introduce a new DAC security driver for QEMU 2010-01-21 14:00:16 +00:00
nodeinfo.c Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
nodeinfo.h Generic shared impls of all NUMA apis 2009-06-03 13:28:02 +00:00
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