libvirt/src
Chris Lalancette 337d201ef2 Qemu remote protocol.
Since we are adding a new "per-hypervisor" protocol, we
make it so that the qemu remote protocol uses a new
PROTOCOL and PROGRAM number.  This allows us to easily
distinguish it from the normal REMOTE protocol.

This necessitates changing the proc in remote_message_header
from a "remote_procedure" to an "unsigned", which should
be the same size (and thus preserve the on-wire protocol).

Changes since v1:
 - Fixed up a couple of script problems in remote_generate_stubs.pl
 - Switch an int flag to a bool in dispatch.c

Changes since v2:
 - None

Changes since v3:
 - Change unsigned proc to signed proc, to conform to spec

Signed-off-by: Chris Lalancette <clalance@redhat.com>
2010-07-23 17:30:33 -04:00
..
conf Add namespace callback hooks to domain_conf. 2010-07-23 17:29:51 -04:00
cpu cpuCompare: Fix crash on unexpected CPU XML 2010-07-12 19:45:22 +02:00
esx Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
interface
lxc Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
network CVE-2010-2242 Apply a source port mapping to virtual network masquerading 2010-07-19 15:50:27 +01:00
node_device udev: Parse PCI devices even if libpciaccess fails 2010-07-02 10:30:29 -04:00
nwfilter
opennebula Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
openvz Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
phyp Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
qemu Qemu arbitrary monitor commands. 2010-07-23 17:30:24 -04:00
remote Qemu remote protocol. 2010-07-23 17:30:33 -04:00
secret
security Disable all disk probing in QEMU driver & add config option to re-enable 2010-07-19 18:25:13 +01:00
storage Remove erroneous setting of return value to errno. 2010-07-21 17:32:19 -04:00
test Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
uml Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
util pciSharesBusWithActive fails to find multiple devices on bus 2010-07-23 11:25:24 +02:00
vbox Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
xen Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
xenapi Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
.gitignore
datatypes.c Misc cleanups 2010-06-21 10:11:34 +02:00
datatypes.h
driver.c
driver.h Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
gnutls_1_0_compat.h
internal.h
libvirt_bridge.syms
libvirt_daemon.syms
libvirt_driver_modules.syms
libvirt_internal.h
libvirt_linux.syms
libvirt_macvtap.syms
libvirt_nwfilter.syms
libvirt_private.syms Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
libvirt_public.syms
libvirt_qemu.syms Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
libvirt-qemu.c Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
libvirt.c libvirt: introduce domainCreateWithFlags API 2010-06-15 07:32:41 -06:00
Makefile.am Qemu remote protocol. 2010-07-23 17:30:33 -04:00
nodeinfo.c
nodeinfo.h
README
remote_protocol-structs

       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