2011-04-04 21:49:34 +02:00
|
|
|
Index: virt-manager-0.8.7/src/virtManager/details.py
|
2010-08-02 23:45:48 +02:00
|
|
|
===================================================================
|
2011-04-04 21:49:34 +02:00
|
|
|
--- virt-manager-0.8.7.orig/src/virtManager/details.py
|
|
|
|
+++ virt-manager-0.8.7/src/virtManager/details.py
|
|
|
|
@@ -1774,8 +1774,9 @@ class vmmDetails(vmmGObjectUI):
|
2010-08-02 23:45:48 +02:00
|
|
|
self.vm.hotplug_both_mem,
|
|
|
|
(curmem, maxmem))
|
|
|
|
|
|
|
|
- # Boot device / Autostart
|
2011-03-21 20:38:43 +01:00
|
|
|
- def config_boot_options_apply(self):
|
2010-08-02 23:45:48 +02:00
|
|
|
+ # Autostart - See bnc#624250 - L3: virt-manager doesn't update
|
|
|
|
+ # "Autostart" setting in vm configuration correctly
|
|
|
|
+ def update_on_xend_start(self):
|
|
|
|
auto = self.window.get_widget("config-autostart")
|
|
|
|
|
|
|
|
if auto.get_property("sensitive"):
|
2011-04-04 21:49:34 +02:00
|
|
|
@@ -1786,6 +1787,8 @@ class vmmDetails(vmmGObjectUI):
|
2010-08-02 23:45:48 +02:00
|
|
|
str(e)), "".join(traceback.format_exc()))
|
2011-03-21 20:38:43 +01:00
|
|
|
return False
|
|
|
|
|
|
|
|
+ # Boot device
|
|
|
|
+ def config_boot_options_apply(self):
|
|
|
|
bootdevs = self.get_config_boot_devs()
|
|
|
|
bootmenu = self.window.get_widget("boot-menu").get_active()
|
|
|
|
|
2011-04-04 21:49:34 +02:00
|
|
|
@@ -2019,6 +2022,8 @@ class vmmDetails(vmmGObjectUI):
|
2011-03-21 20:38:43 +01:00
|
|
|
buttons=gtk.BUTTONS_OK,
|
|
|
|
dialog_type=dtype)
|
2010-08-02 23:45:48 +02:00
|
|
|
|
|
|
|
+ self.update_on_xend_start()
|
|
|
|
+
|
|
|
|
return True
|
|
|
|
|
|
|
|
########################
|