2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-31 00:31:19 +00:00

add sound device into vm xml

This commit is contained in:
penguhyang
2016-02-29 00:45:03 -05:00
parent 72fefb986d
commit 4c509f03ad

View File

@@ -888,6 +888,8 @@ sub build_xmldesc {
}
if (defined($hypcpumodel) and $hypcpumodel eq 'ppc64') {
$xtree{devices}->{emulator}->{content} = "/usr/bin/qemu-system-ppc64";
} else {
$xtree{devices}->{sound}->{model}='ac97';
}
$xtree{devices}->{console}->{type} = 'pty';