2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-03 03:50:08 +00:00

Merge pull request #2144 from whowutwut/kvm_ac97

Disable ac97 for ppc64le platforms for KVM
This commit is contained in:
zet809 2016-11-11 10:34:39 +08:00 committed by GitHub
commit ed5a846ebb

View File

@ -897,6 +897,9 @@ sub build_xmldesc {
}
if (defined($hypcpumodel) and $hypcpumodel eq 'ppc64') {
$xtree{devices}->{emulator}->{content} = "/usr/bin/qemu-system-ppc64";
} elsif (defined($hypcpumodel) and $hypcpumodel eq 'ppc64le') {
# do nothing for ppc64le, do not support sound at this time
;
} else {
$xtree{devices}->{sound}->{model} = 'ac97';
}