mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Don't add sound devices multiple times.
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user