virt-manager/virt-manager-0.6.0-multiple-sound-dev.patch

19 lines
700 B
Diff
Raw Normal View History

# HG changeset patch
# User "Cole Robinson <crobinso@redhat.com>"
# Date 1224789319 14400
# Node ID 1851cbb03705561a2e603606d73eb4ebde7ac405
# Parent 4e7c3f99f0db513e0d8325c5bf485643a164f601
Don't add sound devices multiple times.
diff -r 4e7c3f99f0db -r 1851cbb03705 src/virtManager/create.py
--- a/src/virtManager/create.py Thu Oct 23 11:45:27 2008 -0400
+++ b/src/virtManager/create.py Thu Oct 23 15:15:19 2008 -0400
@@ -643,6 +643,7 @@
"".join(traceback.format_exc()))
return False
+ guest.sound_devs = []
try:
if self.get_config_sound():
guest.sound_devs.append(virtinst.VirtualAudio(model="es1370"))