Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
virt-manager
virtman-autorestart.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtman-autorestart.diff of Package virt-manager
Index: virt-manager-0.9.3/src/virtManager/details.py =================================================================== --- virt-manager-0.9.3.orig/src/virtManager/details.py +++ virt-manager-0.9.3/src/virtManager/details.py @@ -2129,11 +2129,9 @@ 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 - + # Autostart - See bnc#624250 - L3: virt-manager doesn't update + # "Autostart" setting in vm configuration correctly + def update_on_xend_start(self): if self.editted(EDIT_AUTOSTART): auto = self.widget("config-autostart") try: @@ -2143,6 +2141,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.editted(EDIT_BOOTORDER): bootdevs = self.get_config_boot_devs() add_define(self.vm.set_boot_device, bootdevs) @@ -2499,6 +2502,8 @@ class vmmDetails(vmmGObjectUI): buttons=gtk.BUTTONS_OK, dialog_type=dtype) + self.update_on_xend_start() + return True ########################
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor