libvirt/src
Daniel P. Berrange 0f7f4b160b Add callback to virNetClient to be invoked on connection close
Allow detection of socket close in virNetClient via a callback
function, triggered on any condition that causes the socket to
be closed.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-07-30 10:08:41 +01:00
..
conf maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
cpu Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
esx esx: Improve error reporting for unknown VI types 2012-07-29 07:32:25 +02:00
hyperv maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
interface Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
libxl Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
locking Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
lxc maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
network Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
node_device Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
nwfilter maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
openvz maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
phyp Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
qemu maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
remote maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
rpc Add callback to virNetClient to be invoked on connection close 2012-07-30 10:08:41 +01:00
secret Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
security security: Skip labeling resources when seclabel defaults to none 2012-07-27 18:58:48 +02:00
storage maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
test maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
uml Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
util maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
vbox maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
vmware Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
vmx Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
xen maint: Use consistent copyright. 2012-07-27 18:27:21 +08:00
xenapi Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
xenxs maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
check-symfile.pl Add a test case that checks there are no bogus entries in .syms 2012-07-27 10:54:38 +01:00
datatypes.c Add public API to register a callback to be invoked on connection close 2012-07-30 10:08:40 +01:00
datatypes.h Add public API to register a callback to be invoked on connection close 2012-07-30 10:08:40 +01:00
driver.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
driver.h Add virDomainGetHostname 2012-07-20 21:54:34 +02:00
dtrace2systemtap.pl maint: avoid regression on copyright listings 2012-07-27 07:42:34 -06:00
fdstream.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
fdstream.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
gnutls_1_0_compat.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
internal.h maint: include ignore-value in internal.h 2012-06-28 16:36:30 +02:00
libvirt_daemon.syms Export conditional state driver symbols only when they are defined 2010-03-23 02:05:18 +01:00
libvirt_driver_modules.syms Override default driver dir when running from GIT 2012-05-24 13:18:01 +01:00
libvirt_esx.syms Remove libvirt_test.la library 2012-05-24 13:18:00 +01:00
libvirt_internal.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
libvirt_linux.syms Add linuxNodeInfoCPUPopulate to src/libvirt_linux.syms 2012-04-04 14:33:27 +01:00
libvirt_network.syms network: provide internal API to return IP of a network 2011-07-25 13:48:55 +08:00
libvirt_nwfilter.syms Remove two non-existant NWFilter driver symbols from .syms 2012-07-27 10:53:14 +01:00
libvirt_openvz.syms openvz: Add openvzVEGetStringParam 2012-07-20 21:54:35 +02:00
libvirt_private.syms Add callback to virNetClient to be invoked on connection close 2012-07-30 10:08:41 +01:00
libvirt_probes.d rpc: Remove unused parameter in virKeepAliveStopInternal 2012-06-13 15:53:09 +02:00
libvirt_public.syms Add public API to register a callback to be invoked on connection close 2012-07-30 10:08:40 +01:00
libvirt_qemu_probes.d Split QEMU dtrace probes into separate file 2012-05-24 13:18:01 +01:00
libvirt_qemu.syms Define a QEMU specific API to attach to a running QEMU process 2011-07-12 15:39:03 +01:00
libvirt_sasl.syms build: fix mingw build without sasl 2011-10-11 16:30:25 -06:00
libvirt_vmx.syms esx: Move VMX handling code out of the driver directory 2010-12-21 22:40:17 +01:00
libvirt_xenxs.syms Fix build with --with-driver-modules enabled 2011-05-27 09:51:28 +02:00
libvirt-qemu.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
libvirt.c Add public API to register a callback to be invoked on connection close 2012-07-30 10:08:40 +01:00
libvirt.conf Allow overriding default URI in config file 2012-03-15 11:20:17 +00:00
Makefile.am Add a test case that checks there are no bogus entries in .syms 2012-07-27 10:54:38 +01:00
nodeinfo.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
nodeinfo.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
qemu_protocol-structs build: use correct type for pid and similar types 2012-03-02 06:57:43 -07:00
README hyperv: Add basic documentation 2011-08-26 17:52:55 +02:00
remote_protocol-structs remote: Provide RPC call for domainGetHostname 2012-07-20 21:54:35 +02:00
virkeepaliveprotocol-structs build: Properly generate and check virkeepaliveprotocol-structs 2011-11-24 14:44:04 +01:00
virnetprotocol-structs Extend RPC protocol to allow FD passing 2011-10-28 10:27:15 +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
 * 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