From 100c64b7ecb27511a6cee67fe665dcd8c5b833be Mon Sep 17 00:00:00 2001 From: Stephane Thiell Date: Fri, 3 Feb 2023 23:05:01 -0800 Subject: [PATCH] kvm: replace ac97 with ich6 for default audio support ac97 audio support has been removed from QEMU. For example in RHEL 9.1 (qemu-kvm-7.0.0), creating new VMs fail to start with the following error: 'AC97' is not a valid device model name. See: https://bugzilla.redhat.com/show_bug.cgi?id=1995819 --- xCAT-server/lib/xcat/plugins/kvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index ce4c665c5..08b43df07 100755 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -970,7 +970,7 @@ sub build_xmldesc { # do nothing for ppc64le, do not support sound at this time ; } else { - $xtree{devices}->{sound}->{model} = 'ac97'; + $xtree{devices}->{sound}->{model} = 'ich6'; } $xtree{devices}->{console}->{type} = 'pty';