libvirt/src
Daniel P. Berrange b41780e47a rpc: pass virNetServer to post-exec restart callback in typesafe manner
The virNetServer class is passing a pointer to itself to the
virNetServerClient as a 'void *' pointer. This is presumably due to fact
that the virnetserverclient.h file doesn't see the virNetServerPtr
typedef. The typedef is easily movable though, which lets us get
typesafe parameter passing, removing the confusion of passing two
distinct 'void *' pointers to one method.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2018-01-31 15:15:25 +00:00
..
access Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
admin admin: add support for post-exec restart callbacks 2018-01-31 15:12:44 +00:00
bhyve conf: Fix type for @liveStatus in virDomainObjListLoadAllConfigs 2017-11-09 10:37:58 +01:00
conf conf: Use correct attribute name in error message 2018-01-30 18:44:11 +01:00
cpu cpu: Add support for al57 Intel features 2018-01-25 15:30:32 +01:00
esx Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
hyperv hyperv: Map Limit to max_memory and VirtualQuantity to cur_balloon 2017-10-16 10:29:32 -04:00
interface
keycodemapdb@267157b96c Update to latest keycodemapdb content 2017-12-12 16:34:12 +00:00
libxl libxl: resume lock process after failed migration 2018-01-25 09:22:14 -07:00
locking daemon: virtlockd: Call virNetDaemonGetServer regardless of post exec 2017-11-15 15:11:55 +01:00
logging daemon: virtlogd: Drop the server shortcut ref pointer 2017-11-15 15:11:54 +01:00
lxc lxc: set a hostname based on the container name 2018-01-03 10:58:16 +01:00
network conf: Add infrastructure for disk source private data XML 2017-12-14 10:24:36 +01:00
node_device nodedev: udev: Drop the unused mdev type helpers 2018-01-29 15:34:30 +01:00
nwfilter nwfilter: don't crash listing filters in unprivileged daemon 2017-12-06 09:37:25 +00:00
openvz Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
phyp Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemu qemu: Restore resctrl alloc data after restart 2018-01-31 14:51:34 +01:00
remote Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
rpc rpc: pass virNetServer to post-exec restart callback in typesafe manner 2018-01-31 15:15:25 +00:00
secret secret: Handle object list removal and deletion properly 2017-07-25 09:15:30 -04:00
security apparmor, virt-aa-helper: drop static channel rule 2018-01-09 17:29:52 +01:00
storage storage: util: Properly ignore errors when backing volume is inaccessible 2018-01-30 11:41:59 +01:00
test test: Implementing testDomainRename(). 2018-01-29 09:50:47 +01:00
uml conf: Fix type for @liveStatus in virDomainObjListLoadAllConfigs 2017-11-09 10:37:58 +01:00
util util: add virGetUNIXSocketPath helper 2018-01-31 15:12:53 +00:00
vbox qemu: Remove private hostdev 2017-11-24 11:47:26 -05:00
vmware conf: Pass config.priv to xmlopt->privateData.alloc 2017-07-25 17:02:27 +02:00
vmx Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vz conf: Drop virDomainChrDeviceType.targetTypeAttr 2017-11-28 15:46:32 +01:00
xen Fix minor typos 2017-12-12 09:13:43 +01:00
xenapi conf: merge virDomainLifecycleCrashAction with virDomainLifecycleAction 2017-10-19 11:52:09 +02:00
xenconfig xenconfig: fix issue found by coverity in multiple IP support 2017-12-13 15:31:55 -05:00
admin_protocol-structs
check-aclperms.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
check-aclrules.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
check-driverimpls.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
check-drivername.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
check-symfile.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
check-symsorting.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
datatypes.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
datatypes.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
driver-hypervisor.h lib: introduce virDomainSetLifecycleAction() API 2017-10-19 11:52:26 +02:00
driver-interface.h
driver-network.h
driver-nodedev.h
driver-nwfilter.h
driver-secret.h Introduce secret lifecycle event APIs 2017-01-09 15:53:48 +00:00
driver-state.h
driver-storage.h
driver-stream.h
driver.c driver: conditionalize use of dlopen functions & use mingw-dlfcn 2017-08-02 13:51:28 +01:00
driver.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
dtrace2systemtap.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
internal.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
libvirt_admin_private.syms
libvirt_admin_public.syms
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms util: add virGetUNIXSocketPath helper 2018-01-31 15:12:53 +00:00
libvirt_probes.d
libvirt_public.syms lib: introduce virDomainSetLifecycleAction() API 2017-10-19 11:52:26 +02:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms rpc: Replace virNetServerClientNeedAuth with virNetServerClientIsAuthenticated 2018-01-04 06:55:31 -05:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt-admin.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-admin.conf
libvirt-domain-snapshot.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-domain.c qemu: implement virDomainSetLifecycleAction() API 2017-10-19 11:52:38 +02:00
libvirt-host.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-interface.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-lxc.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-lxc.pc.in
libvirt-network.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-nodedev.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-nwfilter.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-qemu.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-qemu.pc.in
libvirt-secret.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt-storage.c storage: Resolve storage driver crash 2017-11-16 11:34:26 -05:00
libvirt-stream.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
libvirt.c Use https:// links for most sites 2017-10-16 10:22:34 +01:00
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs build: add new file, for lxc_protocol checking 2013-01-15 12:01:22 -07:00
Makefile.am admin: move admins server impl/dispatch into src/admin directory 2018-01-31 15:12:30 +00:00
qemu_protocol-structs
README
remote_protocol-structs lib: introduce virDomainSetLifecycleAction() API 2017-10-19 11:52:26 +02: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:

 * bhyve         - bhyve - The BSD Hypervisor
 * 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