Don't add sound devices multiple times.

This commit is contained in:
Cole Robinson 2008-10-23 15:15:19 -04:00
parent e13cca96aa
commit 45f591fcaf
1 changed files with 1 additions and 0 deletions

View File

@ -643,6 +643,7 @@ class vmmCreate(gobject.GObject):
"".join(traceback.format_exc()))
return False
guest.sound_devs = []
try:
if self.get_config_sound():
guest.sound_devs.append(virtinst.VirtualAudio(model="es1370"))