]> xenbits.xensource.com Git - libvirt.git/commit
conf: Introduce support for virtio-sound devices
authorRayhan Faizel <rayhan.faizel@gmail.com>
Thu, 11 Apr 2024 20:12:43 +0000 (01:42 +0530)
committerJán Tomko <jtomko@redhat.com>
Thu, 2 May 2024 13:38:32 +0000 (15:38 +0200)
commitbb593e3743d8aa0ecd7385eb6be83f1fa355c8a4
tree4101c85dd8adfb4b523067876c39c6494abba100
parent9081320b535c3a6e0417cf6da845f208a517e965
conf: Introduce support for virtio-sound devices

This patch adds parsing of the virtio sound model, along with parsing
of virtio options and PCI/virtio-mmio address assignment.

A new 'streams' attribute is added for configuring number of PCM streams
(default is 2) in virtio sound devices. QEMU additionally has jacks and chmaps
parameters but these are currently stubbed, hence they are excluded in this
patch series.

Signed-off-by: Rayhan Faizel <rayhan.faizel@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/domain_postparse.c
src/conf/schemas/domaincommon.rng
src/libxl/libxl_domain.c
src/qemu/qemu_command.c
src/qemu/qemu_domain_address.c
src/qemu/qemu_validate.c