libvirt/src
Peter Krempa f392654b5e qemu: driver: Unset log file watcher after restoring a VM save file
qemuProcessStart does not unset the infrastructure that retrieves errors
from the qemu log file in case of migration. As this wasn't handled
properly in qemuDomainSaveImageStartVM we kept the logging context/fd
open for the lifetime of the VM rather than closing it after it's not
needed.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1325080
2016-06-08 08:10:54 +02:00
..
access viraccessperm.h: Fix some typos 2015-07-17 09:41:31 +02:00
admin admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
bhyve conf: Rename VIR_DOMAIN_DEF_PARSE_VALIDATE to VIR_DOMAIN_DEF_PARSE_VALIDATE_SCHEMA 2016-06-07 13:02:20 +02:00
conf conf: Move validation of disk LUN device to the appropriate place 2016-06-07 13:02:20 +02:00
cpu ppc64Compute: Avoid possible NULL dereference 2016-06-02 11:56:50 +02:00
esx conf: Rename VIR_DOMAIN_DEF_PARSE_VALIDATE to VIR_DOMAIN_DEF_PARSE_VALIDATE_SCHEMA 2016-06-07 13:02:20 +02:00
hyperv conf: add caps to virDomainDefFormat* 2016-02-04 12:38:26 +00:00
interface interface: let netcf pre-filter for active vs. inactive 2015-10-02 11:16:11 -04:00
libxl conf: Add device def validation callback 2016-06-07 13:02:20 +02:00
locking More usage of virGetLastErrorMessage 2016-05-19 15:17:03 -04:00
logging log: daemon: Add remote protocol handling for the log appending API 2016-06-07 18:10:29 +02:00
lxc conf: Add device def validation callback 2016-06-07 13:02:20 +02:00
network network: restart dnsmasq after adding/removing txt and srv records 2016-06-01 11:45:25 -04:00
node_device Add nomatch filters when enumerating udev devices 2016-06-07 13:23:22 +02:00
nwfilter Fix building with -Og 2016-06-03 13:26:30 +02:00
openvz conf: Add infrastructure for adding configuration validation 2016-06-07 13:02:20 +02:00
phyp conf: Rename VIR_DOMAIN_DEF_PARSE_VALIDATE to VIR_DOMAIN_DEF_PARSE_VALIDATE_SCHEMA 2016-06-07 13:02:20 +02:00
qemu qemu: driver: Unset log file watcher after restoring a VM save file 2016-06-08 08:10:54 +02:00
remote virnetsocket: Provide socket address format in a more standard form 2016-05-03 15:52:50 +02:00
rpc More usage of virGetLastErrorMessage 2016-05-19 15:17:03 -04:00
secret secret: Alter virSecretGetSecretString 2016-05-16 12:58:48 +02:00
security conf: Add infrastructure for adding configuration validation 2016-06-07 13:02:20 +02:00
storage storage: Create helper to set input for CreateQemuImg code 2016-06-06 12:15:43 -04:00
test conf: Rename VIR_DOMAIN_DEF_PARSE_VALIDATE to VIR_DOMAIN_DEF_PARSE_VALIDATE_SCHEMA 2016-06-07 13:02:20 +02:00
uml uml: Replace VIR_ERROR with standard vir*Error in state driver init 2016-06-07 13:46:34 -04:00
util util: Perform proper virRandomBytes return value checking 2016-06-07 10:18:36 -04:00
vbox conf: Add device def validation callback 2016-06-07 13:02:20 +02:00
vmware conf: Rename VIR_DOMAIN_DEF_PARSE_VALIDATE to VIR_DOMAIN_DEF_PARSE_VALIDATE_SCHEMA 2016-06-07 13:02:20 +02:00
vmx esx: Add VMCI device for virtualHW >= 7 2016-05-26 11:17:06 +02:00
vz conf: Add device def validation callback 2016-06-07 13:02:20 +02:00
xen xen: Replace VIR_ERROR with standard vir*Error in state driver init 2016-06-07 13:47:13 -04:00
xenapi conf: Rename VIR_DOMAIN_DEF_PARSE_VALIDATE to VIR_DOMAIN_DEF_PARSE_VALIDATE_SCHEMA 2016-06-07 13:02:20 +02:00
xenconfig xen: Also add sub-type for driver=tap2 in xen-xm 2016-06-07 13:59:58 -06:00
admin_protocol-structs admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
check-aclperms.pl Fix naming of permission for detecting storage pools 2013-09-12 17:20:07 +01:00
check-aclrules.pl maint: fix line numbers in check-aclrules reports 2014-02-10 14:07:22 -07:00
check-driverimpls.pl Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
check-drivername.pl Extend previous check to validate driver struct field names 2013-04-24 10:59:53 +01:00
check-symfile.pl maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
check-symsorting.pl maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
datatypes.c admin: Introduce virAdmClient client-side object 2016-05-02 22:26:17 +02:00
datatypes.h admin: Introduce virAdmClient client-side object 2016-05-02 22:26:17 +02:00
driver-hypervisor.h virDomain{Get,Set}PerfEvents: Add @flags argument 2016-03-31 07:24:36 +02:00
driver-interface.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-network.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-nodedev.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-nwfilter.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-secret.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-state.h Split driver.h into multiple parts 2014-10-23 11:10:05 +01:00
driver-storage.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-stream.h Split driver.h into multiple parts 2014-10-23 11:10:05 +01:00
driver.c driver: log missing modules as INFO, not WARN 2016-03-17 16:50:05 -04:00
driver.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
dtrace2systemtap.pl maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
fdstream.c fdstream: don't raise error on SIGPIPE if abort requested 2016-05-02 10:13:05 -04:00
fdstream.h fdstream: introduce virFDStreamOpenBlockDevice 2014-08-25 10:46:13 +04:00
gnutls_1_0_compat.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00
internal.h build: add GCC 6.0 -Wlogical-op workaround 2016-04-11 12:09:14 +02:00
libvirt_admin_private.syms admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
libvirt_admin_public.syms admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
libvirt_atomic.syms maint: check all symfiles for sorting 2013-02-22 16:48:12 -07:00
libvirt_driver_modules.syms Use virFileFindResource to locate driver plugins 2014-04-25 11:59:46 +01:00
libvirt_esx.syms maint: enforce private symbol section sorting 2013-02-20 08:27:03 -07:00
libvirt_gnutls.syms Add APIs to get at more client security data 2013-03-19 13:11:46 +00:00
libvirt_internal.h daemon: add connection close rpc 2016-03-01 14:18:16 +00:00
libvirt_libssh2.syms maint: enforce private symbol section sorting 2013-02-20 08:27:03 -07:00
libvirt_linux.syms util: virstatslinux: make more generic 2014-07-15 22:00:59 +04:00
libvirt_lxc.syms Apply security label when entering LXC namespaces 2013-03-13 15:16:37 +00:00
libvirt_openvz.syms maint: enforce private symbol section sorting 2013-02-20 08:27:03 -07:00
libvirt_private.syms log: daemon: Add remote protocol handling for the log appending API 2016-06-07 18:10:29 +02:00
libvirt_probes.d Add systemd/dtrace probes for DBus APIs 2015-01-15 11:07:13 +00:00
libvirt_public.syms perf: add new public APIs for perf event 2016-03-29 13:13:05 +01:00
libvirt_qemu_probes.d build: fix binary location in stap files --with-driver-modules 2012-08-10 23:11:26 -04:00
libvirt_qemu.syms qemu: new API for tracking arbitrary monitor events 2014-03-20 11:25:37 -06:00
libvirt_remote.syms virnetserver: Introduce server's client-related limits getters 2016-05-19 11:11:13 +02:00
libvirt_sasl.syms virneserverclient: Introduce virNetServerClientHasSASLSession 2016-05-03 15:52:50 +02:00
libvirt_vmware.syms VMware: Make version parsing testable and add tests 2013-09-20 08:23:31 -05:00
libvirt_vmx.syms VMX: Create virVMXFormatDisk() from HD and CD-ROM 2013-09-01 23:11:50 -05:00
libvirt_xenconfig.syms xenconfig: support vif bandwidth in sexpr parser and formatter 2016-01-08 18:56:00 -07:00
libvirt_xenxlconfig.syms Introduce support for parsing/formatting Xen xl config format 2015-01-14 08:28:50 -07:00
libvirt-admin.c admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
libvirt-admin.conf admin: Introduce libvirt-admin.conf 2015-11-30 09:36:19 +01:00
libvirt-domain-snapshot.c Fix typo incomaptible -> incompatible 2015-06-30 12:26:25 +02:00
libvirt-domain.c perf: add support to perf event for MBM 2016-05-19 15:57:57 +02:00
libvirt-host.c close callback: move it to driver 2016-03-01 14:17:38 +00:00
libvirt-interface.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-lxc.c Remove unnecessary curly brackets in rest of src/[a-n]*/ 2014-11-14 17:13:36 +01:00
libvirt-lxc.pc.in Fix build-time pkg-config files in VPATH 2014-11-06 15:59:28 +01:00
libvirt-network.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-nodedev.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-nwfilter.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-qemu.c Indent top-level labels by one space in the rest of src/ 2014-03-25 14:58:40 +01:00
libvirt-qemu.pc.in Fix build-time pkg-config files in VPATH 2014-11-06 15:59:28 +01:00
libvirt-secret.c libvirt-secret: Fix typo 2015-10-15 11:31:27 +02:00
libvirt-storage.c virStorageVolWipe: Document that wiping journaled FS is useless 2015-12-24 18:02:58 +01:00
libvirt-stream.c virStream{Recv,Send}All: Increase client buffer 2016-05-02 07:56:38 +02:00
libvirt.c daemon: cleanup state drivers in order reverse to init order 2016-05-26 08:25:40 -04:00
libvirt.conf admin: Distribute libvirt-admin.conf 2015-12-01 11:44:48 +01:00
libvirt.pc.in Fix build-time pkg-config files in VPATH 2014-11-06 15:59:28 +01:00
lock_protocol-structs Fix make check with gcc version 5 2016-01-18 15:19:21 +01:00
lxc_monitor_protocol-structs Remove explicit enum from protocol structures 2015-07-08 14:34:38 +02:00
lxc_protocol-structs build: add new file, for lxc_protocol checking 2013-01-15 12:01:22 -07:00
Makefile.am systemd: directly notify systemd instead of using sd_notify 2016-06-07 09:37:57 +01:00
nodeinfo.c sysconf: Include unistd.h 2015-12-24 18:03:50 +01:00
nodeinfo.h nodeinfo: Fix output on PPC64 KVM hosts 2015-08-03 08:38:46 -04:00
nodeinfopriv.h nodeinfo: Make sysfs_prefix usage more consistent 2015-07-14 17:11:36 -04:00
qemu_protocol-structs qemu: wire up RPC for qemu monitor events 2014-03-20 11:25:37 -06:00
README bhyve: add basic documentation 2014-03-01 23:44:58 +04:00
remote_protocol-structs Add VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED event 2016-04-13 13:26:29 +02:00
virkeepaliveprotocol-structs build: Properly generate and check virkeepaliveprotocol-structs 2011-11-24 14:44:04 +01:00
virnetprotocol-structs Extend RPC protocol to allow FD passing 2011-10-28 10:27:15 +01: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