2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #746 from penguhyang/vm_xml_sound

add sound device into vm xml
This commit is contained in:
Xiaopeng Wang 2016-03-01 13:44:03 +08:00
commit 7b6cbf9ee4

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