libvirt/src
Tomáš Golembiovský 8ddc56e751 esx: Fetch snapshot info directly for filtering
When fetching domains with virConnectListAllDomains() and when filtering
by snapshot existence is requested the ESX driver first lists all the
domains and then check one-by-one for snapshot existence. This process
takes unnecessarily long time.

To significantly improve the time necessary to finish the query we can
request the snapshot related info directly when querying the list of
domains from VMware.

Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
2016-07-12 18:04:41 +02:00
..
access conf: Add new secret type "passphrase" 2016-07-01 15:45:41 -04:00
admin
bhyve conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
conf Introduce <iommu> device 2016-07-12 12:36:13 +02:00
cpu cpu: Drop NR_DRIVERS macro 2016-07-01 12:20:54 +02:00
esx esx: Fetch snapshot info directly for filtering 2016-07-12 18:04:41 +02:00
hyperv conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
interface
libxl libxl: convert to typesafe virConf accessors 2016-07-12 09:58:21 +01:00
locking sanlock: convert to typesafe virConf accessors 2016-07-12 09:58:22 +01:00
logging virtlogd: convert to typedef virConf accessors 2016-07-12 09:58:21 +01:00
lxc lxc: convert to typesafe virConf accessors 2016-07-12 09:58:21 +01:00
network util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
node_device
nwfilter global: consistently use IP rather than Ip in identifiers 2016-06-26 19:33:07 -04:00
openvz conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
phyp conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
qemu qemu: format intel-iommu on the command line 2016-07-12 12:36:13 +02:00
remote remote: convert to typesafe virConf accessors 2016-07-12 09:58:22 +01:00
rpc Fix possible invalid read in adminClientGetInfo 2016-06-29 16:13:12 +02:00
secret secret: Move virStorageSecretType and rename 2016-06-23 12:30:27 -04:00
security selinux: convert to typesafe virConf accessors 2016-07-12 09:58:22 +01:00
storage storage: dir: adapts .wipeVol for ploop volumes 2016-07-12 13:16:13 +02:00
test conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
uml conf: use virNetDevIPInfo for guest-side <interface> config 2016-06-26 19:33:09 -04:00
util virCommandExec: Report error if execve fails 2016-07-12 13:34:35 +02:00
vbox conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
vmware conf: Rename virDomainDefGetMemoryActual to virDomainDefGetMemoryTotal 2016-06-17 10:39:40 +02:00
vmx conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
vz conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
xen conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
xenapi conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
xenconfig conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
admin_protocol-structs
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c
datatypes.h Introduce storage lifecycle event APIs 2016-06-16 12:22:11 -04:00
driver-hypervisor.h lib: Add API to set individual vcpu usage in the guest via guest agent 2016-06-22 09:25:47 +02:00
driver-interface.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-network.h
driver-nodedev.h
driver-nwfilter.h
driver-secret.h
driver-state.h
driver-storage.h Introduce storage lifecycle event APIs 2016-06-16 12:22:11 -04:00
driver-stream.h
driver.c
driver.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
dtrace2systemtap.pl
fdstream.c
fdstream.h
internal.h
libvirt_admin_private.syms admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
libvirt_admin_public.syms admin: fix virt-admin startup crash by calling virAdmInitialize 2016-06-29 16:33:08 +02:00
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h
libvirt_libssh2.syms maint: enforce private symbol section sorting 2013-02-20 08:27:03 -07:00
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms Introduce <iommu> device 2016-07-12 12:36:13 +02:00
libvirt_probes.d
libvirt_public.syms lib: Add API to set individual vcpu usage in the guest via guest agent 2016-06-22 09:25:47 +02:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms Rename virNetClient*AddrString 2016-06-23 22:31:20 +02:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt_xenxlconfig.syms
libvirt-admin.c libvirt: convert to typesafe virConf accessors 2016-07-12 09:58:13 +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 Don't allow raneming domains to empty strings 2016-06-24 11:14:51 +02:00
libvirt-host.c Document to not rely on virConnectGetMaxVcpus API 2016-06-24 19:20:14 +02: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-storage.c Introduce storage lifecycle event APIs 2016-06-16 12:22:11 -04:00
libvirt-stream.c
libvirt.c libvirt: convert to typesafe virConf accessors 2016-07-12 09:58:13 +01:00
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 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 bhyve: implement virConnectDomainXMLFromNative 2016-07-10 15:40:10 -04:00
nodeinfo.c Remove separator argument from virBitmapParse 2016-06-20 12:09:52 +02:00
nodeinfo.h
qemu_protocol-structs
README
remote_protocol-structs Promote storage pool refresh lifecycle event to top level event 2016-06-24 18:26:11 +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