virt-manager/virtman-fix-addhw-nonhotplug.diff

22 lines
851 B
Diff
Raw Normal View History

Subject: addhw: Fix nonhotplug to running guest
From: Cole Robinson crobinso@redhat.com Tue Apr 5 16:15:05 2011 -0400
Date: Tue Apr 5 16:15:05 2011 -0400:
Git: 4922222c2c7b13704b6f461aedbee9ec06c01b5b
Index: virt-manager-0.8.7/src/virtManager/addhardware.py
===================================================================
--- virt-manager-0.8.7.orig/src/virtManager/addhardware.py
+++ virt-manager-0.8.7/src/virtManager/addhardware.py
@@ -922,7 +922,8 @@ class vmmAddHardware(vmmGObjectUI):
"Would you like to make the device available after the "
"next VM shutdown?")),
dialog_type=gtk.MESSAGE_WARNING,
- buttons=gtk.BUTTONS_YES_NO)
+ buttons=gtk.BUTTONS_YES_NO,
+ async=False)
if not res:
return (False, None)