libvirt/src
Osier Yang 32398e1282 util: Initialize hooks at daemon shutdown if no hooks defined
We support to initialize the hooks at daemon reload if there is no
hooks script is defined, we should also support initialize the hooks
at daemon shutdown if no hooks is defined.

To address bz: https://bugzilla.redhat.com/show_bug.cgi?id=688859
2011-04-28 14:48:26 +08:00
..
conf libvirt/qemu - support persistent attach/detach disks 2011-04-27 21:46:35 -06:00
cpu Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
esx esx: Fix dynamic dispatch for CastFromAnyType functions 2011-04-27 09:33:02 +02:00
interface Update and sort msg_gen_function list and mark unmarked messages 2011-04-18 19:05:15 +02:00
libxl Add cputune support to libxl driver 2011-04-18 12:13:11 -06:00
lxc Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
network Make sure DNSMASQ_STATE_DIR exists 2011-04-25 23:41:57 +02:00
node_device Change locking for udev monitor and callbacks 2011-04-06 10:20:47 -06:00
nwfilter nwfilter: no support for direct type of interface 2011-04-19 16:23:59 -04:00
openvz Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
phyp PHYP: Adding reboot domain function 2011-04-21 08:25:33 +02:00
qemu libvirt/qemu - support persistent attach/detach disks 2011-04-27 21:46:35 -06:00
remote Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
secret Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
security Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
storage Fix two out-of-date comments in LVM backend 2011-04-17 08:37:31 +02:00
test Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
uml Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
util util: Initialize hooks at daemon shutdown if no hooks defined 2011-04-28 14:48:26 +08:00
vbox Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
vmware Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
vmx Fix small memory leaks in config parsing related functions 2011-04-25 19:08:53 +02:00
xen Move call to virReportOOMError into virFileBuildPath 2011-04-27 09:18:53 +02:00
xenapi Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
xenxs Fix small memory leaks in config parsing related functions 2011-04-25 19:08:53 +02:00
.gitignore util: add missing export 2010-10-12 09:42:18 -06:00
datatypes.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
datatypes.h Remove all object hashtable caches from virConnectPtr 2011-02-21 11:50:46 +00:00
driver.c maint: fix grammar errors 2011-04-12 09:06:14 -06:00
driver.h maint: fix grammar errors 2011-04-12 09:06:14 -06:00
fdstream.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
fdstream.h Enhance the streams helper to support plain file I/O 2011-03-29 12:17:28 +01:00
gnutls_1_0_compat.h
internal.h Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
libvirt_bridge.syms Replace brSetInetAddress/brSetInetNetmask with brAddInetAddress 2010-12-23 15:53:26 -05:00
libvirt_daemon.syms
libvirt_driver_modules.syms
libvirt_internal.h
libvirt_linux.syms
libvirt_macvtap.syms Fix undefined symbol errors when macvtap support is disabled 2010-12-01 17:08:08 +01:00
libvirt_nwfilter.syms
libvirt_private.syms libvirt/qemu - support persistent attach/detach disks 2011-04-27 21:46:35 -06:00
libvirt_public.syms Add public APIs for storage volume upload/download 2011-03-29 12:17:33 +01:00
libvirt_qemu.syms
libvirt_vmx.syms esx: Move VMX handling code out of the driver directory 2010-12-21 22:40:17 +01:00
libvirt-qemu.c Remove virConnectPtr from virRaiseErrorFull 2011-04-17 07:22:23 +02:00
libvirt.c Make crash and live flags mutually exclusive in virDomainCoreDump 2011-04-26 13:37:21 +02:00
Makefile.am build: include esx_vi.generated.* into dist file 2011-04-16 07:09:51 +02:00
nodeinfo.c Add support for s390(x) cpu options parsing 2011-04-21 10:50:17 -06:00
nodeinfo.h
README Remove the Open Nebula driver 2011-03-28 14:09:11 +01:00
remote_protocol-structs Remote protocol support for storage vol upload/download APIs 2011-03-29 12:17:52 +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

 * vmx/   - VMware VMX config handling (used by esx/ and vmware/)


Then there are the hypervisor implementations:

 * esx/          - VMware ESX and GSX support using vSphere API over SOAP
 * 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, 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