libvirt/src
Jim Meyering 37ce5600c0 xenDaemonDomainSetAutostart: avoid appearance of impropriety
* src/xen/xend_internal.c (xenDaemonDomainSetAutostart): Rewrite to
avoid dereferencing the result of sexpr_lookup.  While in this
particular case, it was guaranteed never to be NULL, due to the
preceding "if sexpr_node(...)" guard, it's cleaner to skip the
sexpr_node call altogether, and also saves a lookup.
2010-02-19 11:52:04 +01:00
..
conf Add domain support for virtio channel 2010-02-18 17:52:03 +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 interface: Use proper return codes in the open function 2010-02-15 10:59:43 +01:00
lxc Fix crash in LXC driver open method when URI has no path 2010-02-12 17:25:19 +00:00
network network: bridge: Fix IsActive, IsPersistent 2010-02-18 09:23:05 -05:00
node_device get_virtual_functions_linux: would mistakenly always return zero 2010-02-18 16:22:53 +01:00
opennebula Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
openvz openvzLoadDomains: don't ignore failing virUUIDFormat 2010-02-18 07:57:31 +01:00
phyp Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
qemu macvtap IFF_VNET_HDR configuration 2010-02-19 11:38:57 +01: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 virStorageBackendIsMultipath: avoid dead store 2010-02-16 17:49:05 +01:00
test Internal driver API for virConnectBaselineCPU 2010-02-12 14:23:53 +01:00
uml uml_driver.c: avoid leak upon failure 2010-02-16 17:49:05 +01:00
util macvtap IFF_VNET_HDR configuration 2010-02-19 11:38:57 +01:00
vbox vboxDomainDumpXML: avoid a leak on OOM error path 2010-02-16 17:49:05 +01:00
xen xenDaemonDomainSetAutostart: avoid appearance of impropriety 2010-02-19 11:52:04 +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
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
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_macvtap.syms macvtap teardown rework 2010-02-18 15:13:48 +01:00
libvirt_private.syms Add domain support for virtio channel 2010-02-18 17:52:03 +01:00
libvirt_public.syms virConnectBaselineCPU public API 2010-02-12 14:21:58 +01:00
libvirt.c libvirt: Update docs for hotplug only commands 2010-02-18 09:23:04 -05:00
Makefile.am macvtap support for libvirt -- build support 2010-02-15 17:47:28 +01: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