]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Introduce pipewire audio backend
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 10 May 2023 10:29:54 +0000 (12:29 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 24 Nov 2023 16:49:02 +0000 (17:49 +0100)
commitc472ce024b31402fc5db2ab83afef820954d1d3f
tree74df534d8a044dbd3afd3cb6eb26dce33a305239
parent9694d1ca6a4ef7a37ac20249eb8b85c1bb48ef6b
conf: Introduce pipewire audio backend

QEMU gained support for PipeWire audio backend (see QEMU commit
of v8.0.0-403-gc2d3d1c294). Its configuration knobs are basically
the same as pulseaudio's, except for PA's server name. Therefore,
a lot of code is copied over from pulseadio and fixed by
s/Pulse/Pipewire/ or s/pulseaudio/pipewire/.

There's one ley difference to PA though: pipewire daemon is
usually on per user basis (just like our qemu:///session).
Therefore, introduce this 'runtimeDir' attribute, which allows
specifying path to pipewire daemon socket (useful for
qemu:///system for instance).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
13 files changed:
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/schemas/domaincommon.rng
src/qemu/qemu_command.c
src/qemu/qemu_validate.c
tests/qemuxml2argvdata/audio-pipewire-best.xml [new file with mode: 0644]
tests/qemuxml2argvdata/audio-pipewire-full.xml [new file with mode: 0644]
tests/qemuxml2argvdata/audio-pipewire-minimal.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/audio-pipewire-best.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/audio-pipewire-full.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/audio-pipewire-minimal.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c