libvirt/src
Erik Skultety 4385df97fe nodedev: Introduce new mdev_types and mdev nodedev capabilities
The reason for introducing two capabilities, one for the device itself
(cap 'mdev') and one for the parent device listing the available types
('mdev_types'), is that we should be able to do
'virsh nodedev-list --cap' not only for existing mdev devices but also
for devices that support creation of mdev devices, since one day libvirt
might be actually able to create the mdev devices in an automated way
(just like we do for NPIV/vHBA).

https://bugzilla.redhat.com/show_bug.cgi?id=1452072

Signed-off-by: Erik Skultety <eskultet@redhat.com>
2017-05-18 12:20:15 +02:00
..
access
admin
bhyve util: rename/move VIR_NET_GENERATED_PREFIX to be consistent 2017-04-28 09:43:52 -04:00
conf nodedev: Introduce new mdev_types and mdev nodedev capabilities 2017-05-18 12:20:15 +02:00
cpu Adding POWER9 cpu model to cpu_map.xml 2017-05-09 15:52:22 +02:00
esx Implement virStreamRecvFlags to some drivers 2017-05-18 07:42:13 +02:00
hyperv hyperv: recognize array property as distinct type. 2017-04-18 23:19:38 +02:00
interface util: rename/move VIR_NET_GENERATED_PREFIX to be consistent 2017-04-28 09:43:52 -04:00
keycodemapdb@7bf5710b22 Update keycodemapdb submodule for python2 compat fixes 2017-04-26 11:53:40 +01:00
libxl libxl: report numa sibling distances on host capabilities 2017-05-10 17:15:25 -06:00
locking locking: Add support for sanlock_strerror 2017-04-27 11:44:11 +02:00
logging
lxc Init host cache info in drivers 2017-05-09 13:12:40 +02:00
network network: better log message when network is inactive during reconnect 2017-04-28 09:41:46 -04:00
node_device nodedev: Introduce new mdev_types and mdev nodedev capabilities 2017-05-18 12:20:15 +02:00
nwfilter nwfilter: Move creation of configDir to driver initialization 2017-04-26 13:13:18 -04:00
openvz Init host cache info in drivers 2017-05-09 13:12:40 +02:00
phyp Init host cache info in drivers 2017-05-09 13:12:40 +02:00
qemu mdev: Pass a uuidstr rather than an mdev object to some util functions 2017-05-18 12:20:15 +02:00
remote Introduce virStorageVol{Download,Upload}Flags 2017-05-18 07:42:13 +02:00
rpc gendispatch: Introduce @sparseflag for our calls 2017-05-18 07:42:13 +02:00
secret secret: Generate configDir during driver initialization 2017-04-26 13:27:15 -04:00
security mdev: Pass a uuidstr rather than an mdev object to some util functions 2017-05-18 12:20:15 +02:00
storage Introduce virStorageVol{Download,Upload}Flags 2017-05-18 07:42:13 +02:00
test test: Remove unnecessary unlocks in cleanup paths 2017-04-25 08:16:00 -04:00
uml Init host cache info in drivers 2017-05-09 13:12:40 +02:00
util mdev: Pass a uuidstr rather than an mdev object to some util functions 2017-05-18 12:20:15 +02:00
vbox Init host cache info in drivers 2017-05-09 13:12:40 +02:00
vmware Init host cache info in drivers 2017-05-09 13:12:40 +02:00
vmx
vz Init host cache info in drivers 2017-05-09 13:12:40 +02:00
xen
xenapi
xenconfig xenconfig: add conversions for xen-xl 2017-04-27 15:05:44 -06:00
admin_protocol-structs
check-aclperms.pl
check-aclrules.pl vz: add ACL checks to API calls 2016-08-23 19:48:01 +03:00
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c refactoring: Use the return value of virObjectRef directly 2017-04-10 14:49:20 +02:00
datatypes.h virGetDomain: Set domain ID too 2017-04-03 08:35:57 +02:00
driver-hypervisor.h
driver-interface.h
driver-network.h
driver-nodedev.h Introduce node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
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: Introduce virStorageVolInfoFlags 2016-12-20 13:52:39 -05:00
driver-stream.h Introduce virStreamInData 2017-05-18 07:42:13 +02:00
driver.c daemon: Refactor connection driver module loading 2017-02-21 09:24:33 +01:00
driver.h
dtrace2systemtap.pl
internal.h remove hack for debian etch limits.h 2017-05-15 17:00:09 +01:00
libvirt_admin_private.syms
libvirt_admin_public.syms admin: Introduce virAdmConnectSetLoggingFilters 2016-12-15 10:36:23 +01:00
libvirt_atomic.syms
libvirt_driver_modules.syms
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
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms Introduce virStreamInData 2017-05-18 07:42:13 +02:00
libvirt_probes.d
libvirt_public.syms Introduce virStreamSparseSendAll 2017-05-18 07:42:13 +02:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms Introduce virNetClientStreamRecvHole 2017-05-18 07:42:13 +02:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt_xenxlconfig.syms
libvirt-admin.c
libvirt-admin.conf
libvirt-domain-snapshot.c
libvirt-domain.c
libvirt-host.c
libvirt-interface.c
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c
libvirt-nodedev.c nodedev: Introduce new mdev_types and mdev nodedev capabilities 2017-05-18 12:20:15 +02:00
libvirt-nwfilter.c
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c
libvirt-storage.c Introduce virStorageVol{Download,Upload}Flags 2017-05-18 07:42:13 +02:00
libvirt-stream.c Introduce virStreamInData 2017-05-18 07:42:13 +02:00
libvirt.c
libvirt.conf
libvirt.pc.in
lock_protocol-structs Fix make check with gcc version 5 2016-01-18 15:19:21 +01:00
lxc_monitor_protocol-structs
lxc_protocol-structs
Makefile.am util: Remove virsysfs and instead enhance virFileReadValue* functions 2017-05-09 13:12:40 +02:00
qemu_protocol-structs
README
remote_protocol-structs
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