2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Disable ac97 for ppc64le platforms

This commit is contained in:
Victor Hu 2016-11-10 13:35:54 -05:00
parent a7f9ea8014
commit d473bf9f3e

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