libvirt/src
Andrea Bolognani 5307206474 conf: Validate VIR_DOMAIN_FEATURE_CAPABILITIES properly
Unlike most other features, VIR_DOMAIN_FEATURE_CAPABILITIES is
of type virDomainCapabilitiesPolicy instead of virTristateSwitch,
so we need to handle it separately for the error message to make
sense.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-02-13 14:39:58 +01: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: move virStorageTranslateDiskSourcePool into domain conf 2018-02-09 11:05:10 +00:00
conf conf: Validate VIR_DOMAIN_FEATURE_CAPABILITIES properly 2018-02-13 14:39:58 +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 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: introduce callback registration for domain net device allocation 2018-02-09 11:05:10 +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 network: remove conditional declarations 2018-02-09 11:05:10 +00:00
node_device nodedev: allow opening with nodedev:///system and nodedev:///session URIs 2018-01-31 17:46:09 +00:00
nwfilter nwfilter: allow opening with nwfilter:///system URI 2018-01-31 17:45:16 +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: Move GIC checks to qemuDomainDefValidateFeatures() 2018-02-13 14:39:55 +01: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 log: fix deadlock obtaining hostname (related CVE-2018-6764) 2018-02-12 12:29:13 +00:00
vbox vbox: fix SEGV during dumpxml of a serial port 2018-02-02 15:16:19 -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 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 admin: Introduce virAdmConnectSetLoggingFilters 2016-12-15 10:36:23 +01:00
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: add some helpers for opening secondary driver connections 2018-01-31 18:34:47 +00:00
driver.h driver: add some helpers for opening secondary driver connections 2018-01-31 18:34:47 +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 admin: Introduce virAdmConnectSetLoggingFilters 2016-12-15 10:36:23 +01:00
libvirt_admin_public.syms admin: Introduce virAdmConnectSetLoggingFilters 2016-12-15 10:36:23 +01:00
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 qemu: Use switch in qemuDomainDefValidateFeatures() 2018-02-13 14:39:53 +01: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 lockd: Install the admin sockets 2018-02-09 06:34:20 -05: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