From 961896206585524a6912c2197859e429815bcd1a Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 14 Aug 2023 09:35:49 +0800 Subject: [PATCH] qemu: Add --enable-slirp to force checking libslirp It's recommended and I guess most people will need it, so let's be explicit and prevent some user errors. --- postlfs/virtualization/qemu.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/postlfs/virtualization/qemu.xml b/postlfs/virtualization/qemu.xml index e7833aaf09..8dc1518fa8 100644 --- a/postlfs/virtualization/qemu.xml +++ b/postlfs/virtualization/qemu.xml @@ -232,6 +232,7 @@ cd build && --target-list=$QEMU_ARCH \ --audio-drv-list=alsa \ --disable-pa \ + --enable-slirp \ --docdir=/usr/share/doc/qemu-&qemu-version; && unset QEMU_ARCH && @@ -296,6 +297,12 @@ chmod 4750 /usr/libexec/qemu-bridge-helper sets the audio driver to ALSA. See below for enabling other audio drivers. + + --enable-slirp: This switch forces the building + system to check for . Remove it if you + don't need the support. + + : This switch sets the audio driver to pulseaudio. For other drivers see the