libvirt/src
Ilias Stamatis 8ad2f8cc43 test_driver: implement virDomainSendKey
Validate @keycodes before successfully returning. Since this is test
driver, @holdtime is being unused here.

Signed-off-by: Ilias Stamatis <stamatis.iliass@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
2019-06-07 12:32:48 +02:00
..
access maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
admin admin: reject clients unless their UID matches the current UID 2019-05-21 13:05:00 +01:00
bhyve bhyve: convert to net model enum 2019-04-16 13:11:08 -04:00
conf cpu_conf: Fix XPath for parsing TSC frequency 2019-06-06 09:40:40 +02:00
cpu cpu_x86: Probe TSC frequency and scaling support 2019-06-03 18:07:16 +02:00
cpu_map cpu_map: Define md-clear CPUID bit 2019-05-14 19:33:37 +02:00
esx snapshot: Make virDomainSnapshotDef a virObject 2019-05-09 10:02:53 -05:00
hyperv maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
interface maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
keycodemapdb@6280c94f30 keycodemapdb: Update submodule 2019-04-15 16:18:00 +02:00
libxl lib: Preserve error around virDomainNetReleaseActualDevice() 2019-04-30 17:00:46 +02:00
locking locking: restrict sockets to mode 0600 2019-05-21 13:05:00 +01:00
logging logging: restrict sockets to mode 0600 2019-05-21 13:05:00 +01:00
lxc lib: Preserve error around virDomainNetReleaseActualDevice() 2019-04-30 17:00:46 +02:00
network network: delay global firewall setup if no networks are running 2019-05-23 16:29:48 +01:00
node_device build: drop check for udev_monitor_set_receive_buffer_size 2019-05-16 16:39:46 +02:00
nwfilter maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
openvz maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
phyp maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
qemu qemu: Fix NULL pointer access in qemuProcessInitCpuAffinity() 2019-06-06 16:50:11 +02:00
remote maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
rpc misc: Drop useless checks from *Dispose() functions 2019-05-23 13:59:06 +02:00
secret maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
security src: don't statically link code that's already in libvirt.so 2019-05-17 14:34:45 +01:00
storage src: don't statically link code that's already in libvirt.so 2019-05-17 14:34:45 +01:00
test test_driver: implement virDomainSendKey 2019-06-07 12:32:48 +02:00
util util: Propagate numad failures correctly 2019-06-04 10:13:07 +02:00
vbox snapshot: Make virDomainSnapshotDef a virObject 2019-05-09 10:02:53 -05:00
vmware maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
vmx vmx: Free @firmware in virVMXParseConfig 2019-04-23 10:59:01 +02:00
vz vz: fixes: snapshot: s/parent/parent_name/ as prep for virObject 2019-05-28 13:35:17 +03:00
xenapi maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
xenconfig conf: net: Add model enum, and netfront value 2019-04-16 13:11:08 -04:00
admin_protocol-structs
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c backup: Introduce virDomainCheckpointPtr 2019-03-26 15:40:57 -05:00
datatypes.h backup: Introduce virDomainCheckpointPtr 2019-03-26 15:40:57 -05:00
driver-hypervisor.h
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 Fix names for abs_top_{src,build}dir variables 2019-03-14 10:05:28 +01:00
driver.h
dtrace2systemtap.pl
internal.h internal: Introduce VIR_RETURN_PTR 2019-04-10 16:34:57 +02:00
libvirt_admin_private.syms
libvirt_admin_public.syms
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms util: Introduce virNumaNodesetToCPUset() 2019-06-04 09:29:35 +02:00
libvirt_probes.d
libvirt_public.syms
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms src: don't statically link code that's already in libvirt.so 2019-05-17 14:34:45 +01:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt-admin.c
libvirt-admin.conf
libvirt-domain-snapshot.c snapshot: Various doc tweaks 2019-03-26 15:33:07 -05:00
libvirt-domain.c virDomainSendKey: validate codeset argument 2019-06-04 08:31:14 +02:00
libvirt-host.c
libvirt-interface.c docs: Consistent spacing in *GetXMLDesc functions 2019-03-13 20:28:52 -05:00
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c docs: Consistent spacing in *GetXMLDesc functions 2019-03-13 20:28:52 -05:00
libvirt-nodedev.c
libvirt-nwfilter.c docs: Consistent spacing in *GetXMLDesc functions 2019-03-13 20:28:52 -05:00
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c
libvirt-storage.c
libvirt-stream.c
libvirt.c
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
Makefile.am src: don't statically link code that's already in libvirt.so 2019-05-17 14:34:45 +01:00
qemu_protocol-structs
README
remote_protocol-structs
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
 * 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 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