virt-manager/virtman-autorestart.diff
Charles Arnold 6f98a7f2bd - Update to virt-manager 0.8.7
* Allow renaming an offline VM
  * Spice password support (Marc-André Lureau)
  * Allow editting NIC <virtualport> settings (Gerhard Stenzel)
  * Allow enabling/disabling individual CPU features
  * Allow easily changing graphics type between VNC and SPICE for existing VM
  * Allow easily changing network source device for existing VM
- Update to virtinst 0.500.6
  * virt-install: --graphics spice now enables spicevmc and qxl
  * virt-install: New --disk parameter io=native|threads

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=51
2011-04-04 19:49:34 +00:00

35 lines
1.3 KiB
Diff

Index: virt-manager-0.8.7/src/virtManager/details.py
===================================================================
--- 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):
self.vm.hotplug_both_mem,
(curmem, maxmem))
- # Boot device / Autostart
- def config_boot_options_apply(self):
+ # 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"):
@@ -1786,6 +1787,8 @@ class vmmDetails(vmmGObjectUI):
str(e)), "".join(traceback.format_exc()))
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()
@@ -2019,6 +2022,8 @@ class vmmDetails(vmmGObjectUI):
buttons=gtk.BUTTONS_OK,
dialog_type=dtype)
+ self.update_on_xend_start()
+
return True
########################