2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

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
This commit is contained in:
Stephane Thiell 2023-02-03 23:05:01 -08:00
parent 5cda3b6e84
commit 100c64b7ec

View File

@ -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';