libvirt/src
Pavel Hrdina 3baeea6239 esx_vi: fix possible segfault
Clang found possible dereference of NULL pointer which is right.
Function 'esxVI_LookupTaskInfoByTask' should find a task info. The issue
is that we could return 0 and leave 'taksInfo' pointer NULL because if
there is no match we simply end the search loop end set 'result' to 0.
Every caller count on the fact that if the return value is 0 than it's
safe to dereference 'taskInfo'. We should return 0 only in case we found
something and the '*taskInfo' is not NULL.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2015-01-22 18:30:18 +01:00
..
access build: fix mingw printing of pid 2014-12-08 15:01:24 -07:00
bhyve Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
conf network: Let domains be restricted to local DNS 2015-01-20 01:07:18 -05:00
cpu Decouple CPU XML formatting from domain XML public API flags 2015-01-13 16:19:56 +00:00
esx esx_vi: fix possible segfault 2015-01-22 18:30:18 +01:00
hyperv Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
interface Replace virInterfaceFree with virObjectUnref 2014-12-02 11:03:41 -05:00
libxl libxl: Set path to console on domain startup. 2015-01-16 15:57:10 -07:00
locking safezero: fall back to writing zeroes even when resizing 2015-01-09 13:48:23 +01:00
lxc Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
network network: Let domains be restricted to local DNS 2015-01-20 01:07:18 -05:00
node_device avoid using deprecated udev logging functions 2014-12-15 18:08:45 +00:00
nwfilter nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
openvz Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
parallels parallels: create container from existing image 2015-01-16 14:07:47 +01:00
phyp Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
qemu CVE-2015-0236: qemu: Check ACLs when dumping security info from snapshots 2015-01-22 14:32:54 +01:00
remote CVE-2015-0236: qemu: Check ACLs when dumping security info from snapshots 2015-01-22 14:32:54 +01:00
rpc rpc: Report proper close reason 2014-12-08 13:03:49 +01:00
secret Replace virSecretFree with virObjectUnref 2014-12-02 11:03:41 -05:00
security Give virDomainDef parser & formatter their own flags 2015-01-13 16:26:12 +00:00
storage safezero: fall back to writing zeroes even when resizing 2015-01-09 13:48:23 +01:00
test Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
uml Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
util Fix virCgroupGetPercpuStats with non-continuous present CPUs 2015-01-22 17:01:11 +01:00
vbox Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
vmware Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
vmx vmx: Fix a VMX parsing problem 2015-01-07 17:17:00 -07:00
xen Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
xenapi xenapi_driver: fix copy-paste typo 2015-01-22 18:30:18 +01:00
xenconfig Introduce support for parsing/formatting Xen xl config format 2015-01-14 08:28:50 -07:00
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c
datatypes.h
driver-hypervisor.h Add new virDomainDefineXMLFlags public API 2015-01-13 10:35:09 +00:00
driver-interface.h
driver-network.h
driver-nodedev.h
driver-nwfilter.h
driver-secret.h
driver-state.h
driver-storage.h
driver-stream.h
driver.c
driver.h
dtrace2systemtap.pl
fdstream.c Replace virStreamFree with virObjectUnref 2014-12-02 11:03:41 -05:00
fdstream.h
gnutls_1_0_compat.h
internal.h Conditionalize use of -Wno-suggest-attribute=format pragma 2015-01-16 17:12:27 +00:00
libvirt_atomic.syms
libvirt_daemon.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms Move code related to network routes to networkcommon_conf.[ch] 2015-01-16 10:14:03 +01:00
libvirt_probes.d Add systemd/dtrace probes for DBus APIs 2015-01-15 11:07:13 +00:00
libvirt_public.syms Add new virDomainDefineXMLFlags public API 2015-01-13 10:35:09 +00:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms Revert "src/xenconfig: Xen-xl parser" 2015-01-12 10:15:13 -07:00
libvirt_xenxlconfig.syms Introduce support for parsing/formatting Xen xl config format 2015-01-14 08:28:50 -07:00
libvirt-domain-snapshot.c
libvirt-domain.c Add support for schema validation when passing in XML 2015-01-15 16:40:27 +00:00
libvirt-host.c
libvirt-interface.c
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c
libvirt-nodedev.c
libvirt-nwfilter.c
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c
libvirt-storage.c
libvirt-stream.c
libvirt.c libvirt.c: Move virDomainGetFSInfo to libvirt-domain.c 2014-12-02 13:49:50 +01:00
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
Makefile.am Move code related to network routes to networkcommon_conf.[ch] 2015-01-16 10:14:03 +01:00
nodeinfo.c Fix virCgroupGetPercpuStats with non-continuous present CPUs 2015-01-22 17:01:11 +01:00
nodeinfo.h Fix virCgroupGetPercpuStats with non-continuous present CPUs 2015-01-22 17:01:11 +01:00
nodeinfopriv.h
qemu_protocol-structs
README
remote_protocol-structs Add new virDomainDefineXMLFlags public API 2015-01-13 10:35:09 +00: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