libvirt/src
Daniel P. Berrange b6b8009548 Make error reporting for QEMU JSON mode more friendly
Current error reporting for JSON mode returns the full JSON
command string and full JSON error string. This is not very
user friendly, so this change makes the error report only
contain the basic command name, and friendly error message
description string. The full JSON data is logged instead.

* src/qemu/qemu_monitor_json.c: Always return the 'desc' field from
  the JSON error message to users.
2010-02-16 14:33:23 +00:00
..
conf macvtap support for libvirt -- parse new interface XML 2010-02-15 17:47:28 +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 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 Make error reporting for QEMU JSON mode more friendly 2010-02-16 14:33:23 +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 macvtap support for libvirt -- helper code 2010-02-15 17:47:29 +01: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
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 support for libvirt -- build support 2010-02-15 17:47:28 +01: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 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