>From what I can gather, bind-utils, nft and rdma-core's python3
modules are optional, and can be omitted. I've removed python3-basic's
include here as well.
`unbundle` seems to confirm this is OK and no longer pulls in python3,
but I suspect we'll need to do another round here.
I could not identify what in here exactly pulls in cffi-python3 or
certify-python3.
---
bundles/network-basic | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/bundles/network-basic b/bundles/network-basic
index 0a7a2f48..b7049a84 100644
--- a/bundles/network-basic
+++ b/bundles/network-basic
@@ -6,7 +6,6 @@
# [MAINTAINER]: William Douglas <william.douglas(a)intel.com>
# perl-basic and python3-basic included to avoid duplication
include(perl-basic)
-include(python3-basic)
also-add(clr-network-troubleshooter)
also-add(curl)
@@ -24,7 +23,8 @@ also-add(wpa_supplicant)
also-add(znc)
WireGuard
-bind-utils
+bind-utils-bin
+bind-utils-man
bmon
bridge-utils
connect-proxy
@@ -35,13 +35,17 @@ iptraf
iputils
iw
links
-nftables
+nftables-bin
+nftables-doc
+nftables-man
nmap-extras
openconnect
opensm
openvpn
pacrunner
-rdma-core
+rdma-core-bin
+rdma-core-doc
+rdma-core-man
redsocks
tcpdump
traceroute
--
2.25.1
Hi
This is my first contribution so please let me know if I am missing anything.
This patch adds support for PulseAudio and Alsa audio drivers to qemu. This is an alternative to get audio out of the virtual machine without spice. This is in turn useful if you want to build a virtual machine that gets the graphics card passed through so you don't want the second display that comes with Spice but you still want the audio (and you cant use HDMI audio output for some reason).
There is one audio driver compiled in by default (OSS) but I could not get it to work in my setup so I am suggesting to add support for other audio drivers.
One open question for me is whether I should add a runtime dependency to pulseaudio as well. Looking at the current state, I think I shouldn't.
Best
Adrian
---
buildreq_add | 2 +
configure | 1 +
qemu.spec | 119 +++------------------------------------------------
release | 2 +-
used_libs | 2 +
5 files changed, 13 insertions(+), 113 deletions(-)
diff --git a/buildreq_add b/buildreq_add
index db09a48..4fc1aee 100644
--- a/buildreq_add
+++ b/buildreq_add
@@ -10,6 +10,7 @@ flex
glib-dev
gtk3-dev
libaio-dev
+alsa-lib-dev
libcap-dev
libcap-ng-dev
libcap-ng-dev
@@ -22,6 +23,7 @@ m4
numactl-dev
python-dev
snappy-dev
+pulseaudio-dev
spice
spice-dev
spice-protocol
diff --git a/configure b/configure
index cb30c02..eecfd0b 100644
--- a/configure
+++ b/configure
@@ -15,4 +15,5 @@
--python=/usr/bin/python
--enable-seccomp
--enable-linux-aio
+--audio-drv-list='alsa,oss,pa'
#--enable-curses
diff --git a/qemu.spec b/qemu.spec
index 99f1cb4..b41fc38 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -18,6 +18,7 @@ Requires: qemu-data = %{version}-%{release}
Requires: qemu-license = %{version}-%{release}
Requires: qemu-locales = %{version}-%{release}
Requires: qemu-setuid = %{version}-%{release}
+BuildRequires : alsa-lib-dev
BuildRequires : apache-ant
BuildRequires : attr-dev
BuildRequires : automake-dev
@@ -42,6 +42,7 @@ BuildRequires : libtool-dev
BuildRequires : m4
BuildRequires : numactl-dev
BuildRequires : pkgconfig(libcacard)
+BuildRequires : pulseaudio-dev
BuildRequires : snappy-dev
BuildRequires : spice
BuildRequires : spice-dev
@@ -151,7 +144,8 @@ export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 -fstack-protector-stron
--enable-usb-redir \
--python=/usr/bin/python \
--enable-seccomp \
---enable-linux-aio
+--enable-linux-aio \
+--audio-drv-list='alsa,oss,pa'
make %{?_smp_mflags}
%check
diff --git a/used_libs b/used_libs
index eb4eea3..747601a 100644
--- a/used_libs
+++ b/used_libs
@@ -1,6 +1,7 @@
ld-linux-x86-64.so.2
libX11.so.6
libaio.so.1
+libasound.so.2
libatk-1.0.so.0
libbz2.so.1.0
libc.so.6
@@ -28,6 +29,7 @@ libpangocairo-1.0.so.0
libpixman-1.so.0
libpng16.so.16
libpthread.so.0
+libpulse.so.0
librados.so.2
librbd.so.1
librt.so.1
--
2.25.1