libvirt/src
Daniel P. Berrange 97263cb115 Add missing checks for QEMU domain state in tunables APIs
The methods qemuDomain{Get,Set}{Memory,Blkio,Scheduler}Parameters
all forgot to do a check on virDomainIsActive(), resulting in bogus
error messages from later parts of their impl

* src/qemu/qemu_driver.c: Add missing checks on virDomainIsActive()
2011-04-14 14:32:34 +01:00
..
conf nwfilters: support for TCP flags evaluation 2011-04-07 20:13:38 -04:00
cpu hash: make virHashFree more free-like 2011-02-21 08:27:02 -07:00
esx Add public APIs for storage volume upload/download 2011-03-29 12:17:33 +01:00
interface Implement forgotten backend of virInterfaceIsActive() 2010-04-14 10:38:18 -04:00
libxl Add domainSet/GetSchedulerParameters to libxl driver 2011-04-07 10:23:19 -06:00
lxc Enable use of -Wmissing-noreturn 2011-04-05 11:39:58 +01:00
network extend logging to record configuration-related changes 2011-03-30 09:19:47 +08:00
node_device Change locking for udev monitor and callbacks 2011-04-06 10:20:47 -06:00
nwfilter nwfilters: support for TCP flags evaluation 2011-04-07 20:13:38 -04:00
openvz Remove possible uninitialized variable in openvz driver 2011-04-05 10:54:59 +01:00
phyp phyp: Fix too small buffer allocation in phypAttachDevice 2011-04-14 13:58:22 +02:00
qemu Add missing checks for QEMU domain state in tunables APIs 2011-04-14 14:32:34 +01:00
remote Fix possible infinite loop in remote driver 2011-04-12 09:18:40 -06:00
secret Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
security virt-aa-helper: Remove PATH_MAX sized stack allocations 2011-04-05 08:55:27 +02:00
storage maint: fix grammar errors 2011-04-12 09:06:14 -06:00
test Add public API for setting migration speed on the fly 2011-03-22 15:53:08 +00:00
uml uml: Remove PATH_MAX sized stack allocation from /proc parsing code 2011-04-05 09:13:29 +02:00
util util: Fix crash when removing entries during hash iteration 2011-04-12 19:18:08 +02:00
vbox build: detect potentential uninitialized variables 2011-04-04 11:26:29 -06:00
vmware build: enforce reference count checking 2011-03-24 15:29:18 -06:00
vmx vmx: Use case-insensitive compare functions for all content 2011-04-05 08:43:23 +02:00
xen xen: Remove PATH_MAX sized stack allocation from block stats code 2011-04-10 13:35:04 +02:00
xenapi build: detect potentential uninitialized variables 2011-04-04 11:26:29 -06:00
xenxs xenxs: Remove PATH_MAX sized stack allocation in XM script parsing 2011-04-05 09:01:37 +02:00
.gitignore util: add missing export 2010-10-12 09:42:18 -06:00
datatypes.c maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07: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 Enhance the streams helper to support plain file I/O 2011-03-29 12:17:28 +01: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 build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
internal.h Enable use of -Wmissing-noreturn 2011-04-05 11:39:58 +01:00
libvirt_bridge.syms Replace brSetInetAddress/brSetInetNetmask with brAddInetAddress 2010-12-23 15:53:26 -05: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 Move --with-driver-modules symbols into a separate sym file 2009-01-05 14:06:41 +00:00
libvirt_internal.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
libvirt_linux.syms migrate linux-specific symbol names into their own sym file 2009-01-05 14:08:26 +00:00
libvirt_macvtap.syms Fix undefined symbol errors when macvtap support is disabled 2010-12-01 17:08:08 +01:00
libvirt_nwfilter.syms Some NWFilter symbols are conditional and have to be exported conditional 2010-04-23 19:51:00 +02:00
libvirt_private.syms nwfilters: support for TCP flags evaluation 2011-04-07 20:13:38 -04:00
libvirt_public.syms Add public APIs for storage volume upload/download 2011-03-29 12:17:33 +01:00
libvirt_qemu.syms Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
libvirt_vmx.syms esx: Move VMX handling code out of the driver directory 2010-12-21 22:40:17 +01:00
libvirt-qemu.c maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
libvirt.c maxmem: implement virDomainSetMaxMemory API of the qemu driver 2011-04-08 17:40:29 -06:00
Makefile.am do not build libvirt_iohelper when building without libvirtd 2011-04-08 21:52:46 +08:00
nodeinfo.c Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
nodeinfo.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
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