- Renamed all patches from '.diff' to '.patch'.

- bnc#822531 - Virt-manager will reset the domu's 'Autostart'
  option to unselected status as soon as changing the domu's any
  virtual hardware through virt-manager (Xen only)
  virtman-autorestart.diff

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=116
This commit is contained in:
Charles Arnold 2013-05-31 21:10:54 +00:00 committed by Git OBS Bridge
parent d389fe33bc
commit 0b5fb01003
16 changed files with 31 additions and 16 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri May 31 15:08:01 MDT 2013 - carnold@suse.com
- Renamed all patches from '.diff' to '.patch'.
-------------------------------------------------------------------
Fri May 31 14:20:00 MDT 2013 - carnold@suse.com
- bnc#822531 - Virt-manager will reset the domu's 'Autostart'
option to unselected status as soon as changing the domu's any
virtual hardware through virt-manager (Xen only)
virtman-autorestart.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 2 15:04:34 MDT 2013 - carnold@suse.com Tue Apr 2 15:04:34 MDT 2013 - carnold@suse.com

View File

@ -33,20 +33,20 @@ Version: 0.9.5
Release: 0 Release: 0
Url: http://virt-manager.et.redhat.com Url: http://virt-manager.et.redhat.com
Source0: virt-manager-%{version}.tar.bz2 Source0: virt-manager-%{version}.tar.bz2
Patch50: virtman-desktop.diff Patch50: virtman-desktop.patch
Patch51: virtman-vminstall.diff Patch51: virtman-vminstall.patch
Patch52: virtman-cdrom.diff Patch52: virtman-cdrom.patch
Patch53: virtman-kvm.diff Patch53: virtman-kvm.patch
Patch54: virtman-keycombo.diff Patch54: virtman-keycombo.patch
Patch55: virtman-autoconnect.diff Patch55: virtman-autoconnect.patch
Patch60: virtman-device-flags.diff Patch60: virtman-device-flags.patch
Patch61: virtman-autorestart.diff Patch61: virtman-autorestart.patch
Patch62: virtman-storage-pool.diff Patch62: virtman-storage-pool.patch
Patch63: virtman-eepro100.diff Patch63: virtman-eepro100.patch
Patch64: virtman-qed.diff Patch64: virtman-qed.patch
Patch65: virtman-update-backend.diff Patch65: virtman-update-backend.patch
Patch66: virtman-slow-mouse.diff Patch66: virtman-slow-mouse.patch
Patch67: virtman-virtinstall.diff Patch67: virtman-virtinstall.patch
Patch68: virtman-reverse-serialcon.patch Patch68: virtman-reverse-serialcon.patch
ExclusiveArch: %{ix86} x86_64 s390x ExclusiveArch: %{ix86} x86_64 s390x
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build

View File

@ -2,7 +2,7 @@ Index: virt-manager-0.9.5/src/virtManager/details.py
=================================================================== ===================================================================
--- virt-manager-0.9.5.orig/src/virtManager/details.py --- virt-manager-0.9.5.orig/src/virtManager/details.py
+++ virt-manager-0.9.5/src/virtManager/details.py +++ virt-manager-0.9.5/src/virtManager/details.py
@@ -2195,11 +2195,9 @@ class vmmDetails(vmmGObjectUI): @@ -2195,12 +2195,10 @@ class vmmDetails(vmmGObjectUI):
return self._change_config_helper(df, da, hf, ha) return self._change_config_helper(df, da, hf, ha)
@ -11,12 +11,14 @@ Index: virt-manager-0.9.5/src/virtManager/details.py
- df, da, add_define, hf, ha, add_hotplug = self.make_apply_data() - df, da, add_define, hf, ha, add_hotplug = self.make_apply_data()
- ignore = add_hotplug - ignore = add_hotplug
- -
- if self.editted(EDIT_AUTOSTART):
+ # Autostart - See bnc#624250 - L3: virt-manager doesn't update + # Autostart - See bnc#624250 - L3: virt-manager doesn't update
+ # "Autostart" setting in vm configuration correctly + # "Autostart" setting in vm configuration correctly
+ def update_on_xend_start(self): + def update_on_xend_start(self):
if self.editted(EDIT_AUTOSTART): + if self.editted(EDIT_AUTOSTART) or self.vm.conn.is_xen():
auto = self.widget("config-autostart") auto = self.widget("config-autostart")
try: try:
self.vm.set_autostart(auto.get_active())
@@ -2209,6 +2207,11 @@ class vmmDetails(vmmGObjectUI): @@ -2209,6 +2207,11 @@ class vmmDetails(vmmGObjectUI):
(_("Error changing autostart value: %s") % str(e))) (_("Error changing autostart value: %s") % str(e)))
return False return False