libvirt/src
Daniel P. Berrangé 7c8f1436d0 esx: handle missing switch enum cases
Ensure all enum cases are listed in switch statements, or explicitly
cast away enum type where we don't want to list all cases.

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-02-21 16:57:27 +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 bhyve: Fix build 2018-02-19 14:22:07 +01:00
conf conf: handle missing switch enum cases 2018-02-21 16:53:51 +00:00
cpu cpu: Add support for al57 Intel features 2018-01-25 15:30:32 +01:00
esx esx: handle missing switch enum cases 2018-02-21 16:57:27 +00:00
hyperv hyperv: Map Limit to max_memory and VirtualQuantity to cur_balloon 2017-10-16 10:29:32 -04:00
interface interface: allow opening with interface:///system and interface:///session URIs 2018-01-31 17:45:51 +00:00
keycodemapdb@267157b96c Update to latest keycodemapdb content 2017-12-12 16:34:12 +00:00
libxl conf: add enum constants for default controller models 2018-02-20 14:58:39 +00:00
locking Check for tabs in augeas files 2018-01-31 15:19:26 +00:00
logging logd: add support for admin protocol in virtlogd 2018-01-31 15:17:47 +00:00
lxc conf: introduce callback registration for domain net device allocation 2018-02-09 11:05:10 +00:00
network conf: reimplement virDomainNetResolveActualType in terms of public API 2018-02-19 11:11:46 +00:00
node_device nodedev: allow opening with nodedev:///system and nodedev:///session URIs 2018-01-31 17:46:09 +00:00
nwfilter nwfilter: assure virNWFilterSnoop(Eth|Dhcp)Hdr structs don't change size 2018-02-20 13:43:21 -05: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 Fix build with GCC 8 new switch fallthrough warnings 2018-02-20 15:30:59 +00:00
remote storage: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00:00
rpc netserver: Remove ServiceToggle during ServerDispose 2018-02-02 18:01:00 -05:00
secret secret: allow opening with secret:///system and secret:///session URIs 2018-01-31 17:46:26 +00:00
security storage: move storage file backend framework into util directory 2018-02-09 11:05:10 +00:00
storage storage: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00: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: handle missing switch enum cases 2018-02-21 16:53:44 +00:00
vbox conf: add enum constants for default controller models 2018-02-20 14:58:39 +00:00
vmware conf: Pass config.priv to xmlopt->privateData.alloc 2017-07-25 17:02:27 +02:00
vmx conf: add enum constants for default controller models 2018-02-20 14:58:39 +00:00
vz cfg: forbid includes of headers in network and storage drivers again 2018-02-09 11:05:10 +00: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 storage: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00:00
driver-stream.h Introduce virStreamInData 2017-05-18 07:42:13 +02:00
driver.c driver: allow override of connection for secondary drivers 2018-02-19 11:11:46 +00:00
driver.h driver: allow override of connection for secondary drivers 2018-02-19 11:11:46 +00: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 driver: Split/refactor driver module loading 2017-02-21 08:48:51 +01:00
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h Introduce virStreamInData 2017-05-18 07:42:13 +02:00
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms Expose Linux symbols only on Linux 2017-03-27 17:36:13 +02:00
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms driver: allow override of connection for secondary drivers 2018-02-19 11:11:46 +00:00
libvirt_probes.d
libvirt_public.syms storage: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms rpc: export xdr_virNetMessageError for virnetmessagetest on Win32 2018-02-09 14:29:33 +00:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt-admin.c lockd: add support for admin protocol in virtlockd 2018-01-31 15:18:36 +00: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: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00: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
Makefile.am src: remove WITH_LIBVIRTD condition around hal/udev build 2018-02-21 15:21:03 +00:00
qemu_protocol-structs
README
remote_protocol-structs storage: export virStoragePoolLookupByTargetPath as a public API 2018-02-09 11:05:10 +00:00
virkeepaliveprotocol-structs
virnetprotocol-structs Introduce VIR_NET_STREAM_HOLE message type 2017-05-18 07:42:13 +02: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:

 * 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