6786659bca
531db6a7-new-volume-tooltip-logic.patch 531dbfa7-handle-errors-when-deregistering-events-on-close.patch - Upstream bug fixes 5318a2cd-cpu-model-fallback-failure-fix.patch 5318a626-adding-filesystem-device-fix.patch 5318aa88-invalid-libvirt-volume-XML.patch 5318b486-virtinstall-location-iso-fix.patch 5319db07-customize-add-disk-fix.patch - Allow the installation repos provided by zypper to be selected as network installation sources virtman-show-suse-install-repos.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=148
43 lines
1.6 KiB
Diff
43 lines
1.6 KiB
Diff
Index: virt-manager-1.0.0/virtManager/details.py
|
|
===================================================================
|
|
--- virt-manager-1.0.0.orig/virtManager/details.py
|
|
+++ virt-manager-1.0.0/virtManager/details.py
|
|
@@ -2018,12 +2018,10 @@ class vmmDetails(vmmGObjectUI):
|
|
|
|
return self._change_config_helper(df, da, hf, ha)
|
|
|
|
- # Boot device / Autostart
|
|
- def config_boot_options_apply(self):
|
|
- df, da, add_define, hf, ha, add_hotplug = self.make_apply_data()
|
|
- ignore = add_hotplug
|
|
-
|
|
- if self.edited(EDIT_AUTOSTART):
|
|
+ # Autostart - See bnc#624250 - L3: virt-manager doesn't update
|
|
+ # "Autostart" setting in vm configuration correctly
|
|
+ def update_on_xend_start(self):
|
|
+ if self.edited(EDIT_AUTOSTART) or self.vm.conn.is_xen():
|
|
auto = self.widget("config-autostart")
|
|
try:
|
|
self.vm.set_autostart(auto.get_active())
|
|
@@ -2032,6 +2030,11 @@ class vmmDetails(vmmGObjectUI):
|
|
(_("Error changing autostart value: %s") % str(e)))
|
|
return False
|
|
|
|
+ # Boot device
|
|
+ def config_boot_options_apply(self):
|
|
+ df, da, add_define, hf, ha, add_hotplug = self.make_apply_data()
|
|
+ ignore = add_hotplug
|
|
+
|
|
if self.edited(EDIT_BOOTORDER):
|
|
bootdevs = self.get_config_boot_order()
|
|
add_define(self.vm.set_boot_order, bootdevs)
|
|
@@ -2386,6 +2389,8 @@ class vmmDetails(vmmGObjectUI):
|
|
buttons=Gtk.ButtonsType.OK,
|
|
dialog_type=dtype)
|
|
|
|
+ self.update_on_xend_start()
|
|
+
|
|
return True
|
|
|
|
########################
|