a18ef09a88
virtinst-add-default-rng-device.patch - Fix GUI failure to display addition of a second disk Dropped virtman-device-flags.patch - bnc#885380 - virt-install: by default generates raw format against various virtual disk formats virtinst-supported-disk-formats.patch virtman-supported-disk-formats.patch - Dropped virtinst-qed.patch, virtman-qed.patch - bnc#869026 - Build0198: Unable to complete install: 'XML error: No PCI buses available' virtman-add-s390x-arch-support.patch - Upstream bug fixes 53ac1f8d-createnet-validate-last-page-before-creating-network.patch 53ac1f8d-fix-show_err-typo.patch 53b39a13-dont-create-disk-images-world-readable-executable.patch 53b409bc-add-keep-alive-method-and-connection-check.patch 53b409bd-console-prevent-access-to-deleted-objects.patch 53b728c6-report-error-during-connection-bring-up.patch 53b728c6-connection-handle-unsupported-KeepAlive.patch 53bb1995-network-refresh-XML-definition-on-state-update.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=188
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()
|
|
|
|
@@ -2370,6 +2373,8 @@ class vmmDetails(vmmGObjectUI):
|
|
buttons=Gtk.ButtonsType.OK,
|
|
dialog_type=dtype)
|
|
|
|
+ self.update_on_xend_start()
|
|
+
|
|
return True
|
|
|
|
|