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:
commit
7b6cbf9ee4
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user