libvirt/src
Daniel P. Berrangé 46b77b3e6a conf: introduce support for common audio settings
This introduces support for the QEMU audio settings that are common to
all audio backends. These are expressed in the QAPI schema as settings
common to all backends, but in reality some backends ignore some of
them. For example, some backends are output only. The parser isn't
attempting to apply restrictions that QEMU itself doesn't apply.

    <audio id='1' type='pulseaudio'>
      <input mixingEngine='yes' fixedSettings='yes' voices='1' bufferLength='100'>
        <settings frequency='44100' channels='2' format='s16'/>
      </input>
      <output mixingEngine='yes' fixedSettings='yes' voices='2' bufferLength='100'>
        <settings frequency='22050' channels='4' format='f32'/>
      </output>
    </audio>

The <settings> child is only valid if fixedSettings='yes'

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-03-09 22:58:39 +00:00
..
access
admin Use g_steal_pointer where possible 2021-03-01 15:54:42 +01:00
bhyve conf: introduce support for common audio settings 2021-03-09 22:58:39 +00:00
conf conf: introduce support for common audio settings 2021-03-09 22:58:39 +00:00
cpu virCPUx86DataParse: Don't check error from x86FeatureNames 2021-03-02 09:50:19 +01:00
cpu_map cpu_map: Fix spelling of svme-addr-chk feature 2021-03-04 09:33:39 +01:00
esx esx: use g_autofree for datastoreRelatedPath 2021-02-18 13:54:02 +01:00
hyperv hyperv: abort() failure of wsmc_fault_new() 2021-03-02 09:50:19 +01:00
hypervisor lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
interface lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
keycodemapdb@27acf0ef82
libxl xenParseXMDisk: Replace g_new + virStrncpy by g_strndup 2021-03-05 15:01:29 +01:00
locking sanlock: Use virStrcpy instead of virStrncpy 2021-03-05 15:01:29 +01:00
logging lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
lxc lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
network lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
node_device lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
nwfilter lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
openvz openvz: convert VIR_FREE to g_free in other functions that free their arg 2021-02-12 12:10:38 -05:00
qemu qemu: add support for generating -audiodev arguments 2021-03-09 22:58:36 +00:00
remote remote_daemon_dispatch: Replace g_new + strcpy with g_strdup 2021-03-05 15:33:34 +01:00
rpc lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
secret lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
security dac, selinux: skip setting/restoring label for absent PCI devices 2021-03-01 12:25:33 -03:00
storage lib: Replace virFileMakePath() with g_mkdir_with_parents() 2021-03-04 20:52:23 +01:00
storage_file storage: Don't report OOM error on failure of glfs_new 2021-03-02 09:50:20 +01:00
test test_driver: Rewrite testBuildFilename 2021-03-05 15:01:29 +01:00
util util: Fix error reporting in virnetlink 2021-03-09 13:33:09 +01:00
vbox virVBoxSnapshotConfSaveVboxFile: abort() on failure to allocate xmlDoc and comment 2021-03-02 09:50:20 +01:00
vmware vmware: convert VIR_FREE to g_free in other functions that free their arg 2021-02-12 12:10:38 -05:00
vmx virIndexToDiskName: Make 'idx' unsigned and remove check 2021-03-05 15:33:34 +01:00
vz virIndexToDiskName: Make 'idx' unsigned and remove check 2021-03-05 15:33:34 +01:00
admin_protocol-structs
datatypes.c
datatypes.h datatypes.h: register AUTOPTR_CLEANUP_FUNC for virNodeDevicePtr 2021-02-17 15:47:47 -03:00
driver-hypervisor.h src: define virDomainGetMessages API 2021-02-12 09:19:12 +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
internal.h
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_glib_crash_workaround.syms util: Move glib event loop workaround to glibcompat 2021-03-05 10:17:26 +01:00
libvirt_internal.h
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms hostcpu: add support for reporting die_id in NUMA topology 2020-01-16 15:11:55 +00:00
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms conf: introduce support for common audio settings 2021-03-09 22:58:39 +00:00
libvirt_probes.d
libvirt_public.syms src: define virDomainGetMessages API 2021-02-12 09:19:12 +00:00
libvirt_qemu.syms
libvirt_remote.syms
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt-domain-checkpoint.c
libvirt-domain-snapshot.c api: Discourage use of VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE 2021-02-16 12:25:30 +01:00
libvirt-domain.c qemu: add per-vcpu delay stats 2021-03-09 13:35:05 +01: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.conf
libvirt.pc.in meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
meson.build util: Move glib event loop workaround to glibcompat 2021-03-05 10:17:26 +01:00
qemu_protocol-structs
README
remote_protocol-structs remote: add RPC support for the virDomainGetMessages API 2021-02-12 09:19:13 +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
 * 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


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, 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