libvirt/src
Eric Blake 4f805dcdc4 qemu: avoid double close on domain restore
qemudDomainSaveImageStartVM was evil - it closed the incoming fd
argument on some, but not all, code paths, without informing the
caller about that action.  No wonder that this resulted in
double-closes: https://bugzilla.redhat.com/show_bug.cgi?id=672725

* src/qemu/qemu_driver.c (qemudDomainSaveImageStartVM): Alter
signature, to avoid double-close.
(qemudDomainRestore, qemudDomainObjRestore): Update callers.
2011-03-02 08:58:49 -07:00
..
conf Fix port value parsing for serial and parallel ports 2011-02-25 11:33:27 -07:00
cpu hash: make virHashFree more free-like 2011-02-21 08:27:02 -07:00
esx Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
interface
lxc Allow hash tables to use generic pointers as keys 2011-02-25 13:00:54 +00:00
network Drop empty argument from dnsmasq call 2011-02-18 22:23:15 +01:00
node_device maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
nwfilter Allow hash tables to use generic pointers as keys 2011-02-25 13:00:54 +00:00
opennebula Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
openvz remove no longer needed calls to virReportOOMError 2011-02-17 16:59:14 -07:00
phyp sysinfo: define internal driver API 2011-02-08 19:25:30 -07:00
qemu qemu: avoid double close on domain restore 2011-03-02 08:58:49 -07:00
remote add additional event debug points 2011-03-01 16:54:20 -07:00
secret Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
security Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
storage Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
test maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
uml Allow hash tables to use generic pointers as keys 2011-02-25 13:00:54 +00:00
util Add check for kill() to fix build of cgroups on win32 2011-02-28 14:13:58 +00:00
vbox Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
vmware sysinfo: define internal driver API 2011-02-08 19:25:30 -07:00
vmx Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
xen Allow hash tables to use generic pointers as keys 2011-02-25 13:00:54 +00:00
xenapi sysinfo: define internal driver API 2011-02-08 19:25:30 -07:00
xenxs Add support for multiple serial ports into the Xen driver 2011-02-25 11:33:27 -07:00
.gitignore
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: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
driver.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
fdstream.c
fdstream.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
gnutls_1_0_compat.h
internal.h Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
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 Add APIs for killing off processes inside a cgroup 2011-02-25 14:21:30 +00:00
libvirt_public.syms
libvirt_qemu.syms
libvirt_vmx.syms
libvirt-qemu.c maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
libvirt.c maint: kill all remaining uses of old DEBUG macro 2011-02-21 08:46:52 -07:00
Makefile.am Moved XM parsing functions to xenxs 2011-02-21 11:11:22 -07:00
nodeinfo.c Put <stdbool.h> into internal.h so it is available everywhere 2011-02-24 12:04:06 +00:00
nodeinfo.h
README Update src/README 2011-02-12 17:10:30 +01:00
remote_protocol-structs sysinfo: implement the remote protocol 2011-02-08 19:29:46 -07: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
 * 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
 * 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, OpenNebula, 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