From 058e229d5325cb7cd5f715287a1de0d6766e08aa Mon Sep 17 00:00:00 2001 From: Dino Korah <691011+codemedic@users.noreply.github.com> Date: Sun, 22 Mar 2026 18:47:18 +0000 Subject: [PATCH] fix: skip virtiofs during OS installation to prevent installer hangs The shared-memory NUMA backend required for virtiofs can confuse installers. Fall back to 9p when an ISO is present (install mode). --- quickemu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickemu b/quickemu index 27701d4..4f72511 100755 --- a/quickemu +++ b/quickemu @@ -2575,7 +2575,9 @@ function fileshare_param_check() { # NOTE: only the standalone virtiofsd (Rust) is supported — the legacy # QEMU-bundled C daemon (/usr/lib/qemu/virtiofsd) uses incompatible CLI # syntax and requires root, so it is intentionally ignored here. - if [ -n "${PUBLIC}" ] && [ "${guest_os}" == "linux" ]; then + # Skip virtiofs during OS installation: the required shared-memory NUMA + # backend can confuse installers and cause hangs. 9p is used instead. + if [ -n "${PUBLIC}" ] && [ "${guest_os}" == "linux" ] && [ -z "${iso}" ]; then VIRTIOFSD=$(command -v virtiofsd 2>/dev/null) if [ ! -x "${VIRTIOFSD}" ]; then VIRTIOFSD=""