libvirt/src
Eric Blake 13f8372007 maint: improve debug of libvirt-{qemu,lxc} apis
I noticed that the virDomainQemuMonitorCommand debug output wasn't
telling me the name of the domain it was working on.  While it was
easy enough to determine which pointer matches the domain based on
other log messages, it is nicer to be consistent.

* src/util/viruuid.h (VIR_UUID_DEBUG): Moved here from...
* src/libvirt.c (VIR_UUID_DEBUG): ...here.
(VIR_ARG15, VIR_HAS_COMMA, VIR_DOMAIN_DEBUG_EXPAND)
(VIR_DOMAIN_DEBUG_PASTE, VIR_DOMAIN_DEBUG_0, VIR_DOMAIN_DEBUG_1)
(VIR_DOMAIN_DEBUG_2, VIR_DOMAIN_DEBUG): Move...
* src/datatypes.h: ...here.
* src/libvirt-qemu.c (virDomainQemuMonitorCommand)
(virDomainQemuAgentCommand): Better debug messages.
* src/libvirt-lxc.c (virDomainLxcOpenNamespace): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2014-01-02 22:17:11 -07:00
..
access
conf domain: don't try to interpret <driver> as virtio config for hostdev interfaces 2013-12-31 10:56:21 +02:00
cpu
esx
hyperv
interface interface: Take interface status into account when starting and destroying 2013-12-24 17:20:00 +01:00
libxl libxl: correctly handle affinity reset in virDomainPinVcpu[Flags] 2013-12-23 22:43:32 -07:00
locking
lxc lxcDomainShutdownFlags: Cleanup @flags usage 2013-12-24 17:36:47 +01:00
network Add 'detail' arg to network lifecycle event internals 2013-12-13 16:07:54 +00:00
node_device
nwfilter Remove stray semicolon after pragma macros 2013-12-19 16:02:38 +00:00
openvz
parallels
phyp
qemu qemu: avoid duplicate security label restore on hostdev attach failure 2013-12-23 13:16:57 +02:00
remote event: don't overwrite registration error message 2014-01-02 05:54:53 -07:00
rpc
secret
security
storage storage: fix bogus target in gluster volume xml 2013-12-19 09:17:11 -07:00
test Add 'detail' arg to network lifecycle event internals 2013-12-13 16:07:54 +00:00
uml
util maint: improve debug of libvirt-{qemu,lxc} apis 2014-01-02 22:17:11 -07:00
vbox
vmware
vmx Support transient attribute on vmware disks 2013-12-17 14:24:49 -07:00
xen
xenapi
xenxs
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c
datatypes.h maint: improve debug of libvirt-{qemu,lxc} apis 2014-01-02 22:17:11 -07:00
driver.c
driver.h Added Network events API and virNetworkEventLifecycle. 2013-12-11 13:10:41 +00:00
dtrace2systemtap.pl
fdstream.c
fdstream.h
gnutls_1_0_compat.h
internal.h
libvirt_atomic.syms
libvirt_daemon.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms rename virBlkioDeviceWeightArrayClear to virBlkioDeviceArrayClear 2013-12-12 12:29:54 +00:00
libvirt_probes.d
libvirt_public.syms Added Network events API and virNetworkEventLifecycle. 2013-12-11 13:10:41 +00:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenxs.syms
libvirt-lxc.c maint: improve debug of libvirt-{qemu,lxc} apis 2014-01-02 22:17:11 -07:00
libvirt-qemu.c maint: improve debug of libvirt-{qemu,lxc} apis 2014-01-02 22:17:11 -07:00
libvirt.c maint: improve debug of libvirt-{qemu,lxc} apis 2014-01-02 22:17:11 -07:00
libvirt.conf
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
Makefile.am Added Network events API and virNetworkEventLifecycle. 2013-12-11 13:10:41 +00:00
nodeinfo.c nodeinfo: fix build on non-Linux 2013-11-06 17:36:44 -07:00
nodeinfo.h
qemu_protocol-structs
README
remote_protocol-structs Add network events to the remote driver 2013-12-11 13:26:25 +00:00
virkeepaliveprotocol-structs
virnetprotocol-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

 * 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