850019f018
53ac1f8d-fix_show_err_typo.patch 53ac1f8d-createnet-validate-last-page-before-creating-network.patch - KVM: Don't check for /dev/kvm. It is now built into the kernel virtman-kvm.patch - Upstream bug fix 53a995cb-fix-usb-storage-removable-syntax.patch - Upstream bug fixes 5397b647-createnet-enable-specifying-29-subnet.patch 539e8cca-createpool-fix-creation-of-gluster-pools.patch 53a05e73-fix-edit-maxvcpus.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=184
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
Index: virt-manager-1.0.1/virtManager/details.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/details.py
|
|
+++ virt-manager-1.0.1/virtManager/details.py
|
|
@@ -2056,10 +2056,10 @@ class vmmDetails(vmmGObjectUI):
|
|
return self._change_config_helper(self.vm.define_memory, kwargs,
|
|
hotplug_args=hotplug_args)
|
|
|
|
- def config_boot_options_apply(self):
|
|
- kwargs = {}
|
|
-
|
|
- 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())
|
|
@@ -2068,6 +2068,9 @@ class vmmDetails(vmmGObjectUI):
|
|
(_("Error changing autostart value: %s") % str(e)))
|
|
return False
|
|
|
|
+ def config_boot_options_apply(self):
|
|
+ kwargs = {}
|
|
+
|
|
if self.edited(EDIT_BOOTORDER):
|
|
kwargs["boot_order"] = self.get_config_boot_order()
|
|
|
|
@@ -2381,6 +2384,8 @@ class vmmDetails(vmmGObjectUI):
|
|
buttons=Gtk.ButtonsType.OK,
|
|
dialog_type=dtype)
|
|
|
|
+ self.update_on_xend_start()
|
|
+
|
|
return True
|
|
|
|
|