libvirt/src
Michal Privoznik 2e70af12f2 qemuBuildVideoCommandLine: Don't access def->videos without check
This function can be called over a domain definition that has no
video configured. The
tests/qemuxml2argvdata/qemuxml2argv-minimal.xml file could serve
as an example. Problem is, before the check that domain has some
or none video configured, def->videos is dereferenced causing a
segmentation fault in case there's none video configured.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-03-14 09:34:43 +01:00
..
access
admin admin: Generate ConnectListServers dispatch helpers 2016-03-11 12:58:41 +01:00
bhyve conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
conf qemu: Introduce qemuBuildDiskDriveCommandLine 2016-03-11 06:17:06 -05:00
cpu
esx esx: Avoid using vSphere SessionIsActive function 2016-02-18 19:28:35 +01: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 libxl_conf: reuse virDomainNetGetActualtype in libxlMakeNicList 2016-03-10 14:28:52 -07:00
locking daemon: Get server name from the server itself 2016-03-11 12:58:41 +01:00
logging daemon: Get server name from the server itself 2016-03-11 12:58:41 +01:00
lxc daemon: Get server name from the server itself 2016-03-11 12:58:41 +01:00
network qemu: improve the error when try to undefine transient network 2016-03-07 10:15:53 +01:00
node_device nodedev: stub nodeDeviceSysfsGetPCIRelatedDevCaps 2016-02-07 02:24:55 +03:00
nwfilter util: Add a return value to void hash iterators 2016-02-17 12:46:34 +01:00
openvz conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
phyp conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
qemu qemuBuildVideoCommandLine: Don't access def->videos without check 2016-03-14 09:34:43 +01:00
remote remote: Generate what's possible 2016-03-11 12:58:41 +01:00
rpc gendispatch: Use proper error for limit checking 2016-03-11 12:58:41 +01:00
secret Add secretObjFromSecret 2016-03-07 15:52:21 -05:00
security security_selinux: Fix typo in error message 2016-02-19 17:15:31 +00:00
storage Initialize couple of variables. 2016-03-03 14:39:57 +01:00
test conf: Extract code filling data for virDomainGetVcpuPinInfo 2016-03-09 10:09:16 +01:00
uml conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
util virerror: Introduce new error type NO_SERVER 2016-03-11 12:58:41 +01:00
vbox conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
vmware conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
vmx conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
vz conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
xen conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
xenapi conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
xenconfig xen: Check return value of virStringReplace 2016-02-23 15:46:19 +01:00
admin_protocol-structs admin: Introduce adminDaemonConnectListServers API 2016-02-17 12:46:34 +01:00
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c datatypes.c: Replace 'close' with 'closeData' 2016-03-02 09:33:28 +01:00
datatypes.h close callback: move it to driver 2016-03-01 14:17:38 +00:00
driver-hypervisor.h close callback: move it to driver 2016-03-01 14:17:38 +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 fdstream: Realign 2016-02-01 16:12:22 +01:00
fdstream.h
gnutls_1_0_compat.h
internal.h
libvirt_admin_private.syms syms: add forgotten virAdmConnectClass symbol 2016-02-17 12:59:31 +01:00
libvirt_admin_public.syms admin: Introduce adminDaemonConnectListServers API 2016-02-17 12:46:34 +01:00
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h daemon: add connection close rpc 2016-03-01 14:18:16 +00:00
libvirt_libssh2.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms conf: refactor checking for unsupported memory devices 2016-03-09 10:09:16 +01:00
libvirt_probes.d
libvirt_public.syms
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms Change virNetDaemonGetServerNames to virNetDaemonGetServers 2016-03-11 12:58:41 +01:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms xenconfig: support vif bandwidth in sexpr parser and formatter 2016-01-08 18:56:00 -07:00
libvirt_xenxlconfig.syms
libvirt-admin.c admin: Be consistent when resetting errors 2016-03-11 12:58:41 +01:00
libvirt-admin.conf admin: Introduce libvirt-admin.conf 2015-11-30 09:36:19 +01:00
libvirt-domain-snapshot.c
libvirt-domain.c Introduce job completed event 2016-03-08 16:26:00 +01: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
libvirt-lxc.pc.in
libvirt-network.c
libvirt-nodedev.c
libvirt-nwfilter.c
libvirt-qemu.c
libvirt-qemu.pc.in
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
libvirt.c livirt: Move URI alias matching to util 2015-11-30 09:44:28 +01:00
libvirt.conf admin: Distribute libvirt-admin.conf 2015-12-01 11:44:48 +01:00
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 build: add new file, for lxc_protocol checking 2013-01-15 12:01:22 -07:00
Makefile.am Use correct LDFLAGS for leaseshelper 2016-03-03 13:23:46 +01:00
nodeinfo.c sysconf: Include unistd.h 2015-12-24 18:03:50 +01:00
nodeinfo.h
nodeinfopriv.h
qemu_protocol-structs
README
remote_protocol-structs Introduce job completed event 2016-03-08 16:26:00 +01: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