OBS User unknown 2007-12-12 21:36:15 +00:00 committed by Git OBS Bridge
parent 76bc58284a
commit b70fdcc926
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 12 12:18:58 MST 2007 - dpmerrill@novell.com
- #344490: Fix path in xenstore call (virtman-edit.diff)
-------------------------------------------------------------------
Thu Aug 16 09:26:23 MDT 2007 - ccoffing@novell.com

View File

@ -11,15 +11,15 @@
# norootforbuild
Name: virt-manager
URL: http://virt-manager.et.redhat.com
Url: http://virt-manager.et.redhat.com
BuildRequires: autoconf automake gconf2 gettext gtk2-devel intltool python-devel python-gobject2-devel python-gtk-devel scrollkeeper update-desktop-files
# Only for directory ownership:
BuildRequires: libgnome yast2
License: GPL v2 or later
Group: System/Monitoring
Autoreqprov: yes
AutoReqProv: yes
Version: 0.4.0
Release: 45
Release: 97
Summary: Virtual Machine Manager
Source0: virt-manager.tar.bz2
Source1: virtinst.tar.bz2
@ -41,7 +41,6 @@ Requires: vte
Requires: librsvg
Requires: vm-install
Requires: gconf2
%gconf_schemas_prereq
%description
@ -90,7 +89,6 @@ test ! -z "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROO
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans
%files -f %{name}.lst
@ -117,6 +115,8 @@ test ! -z "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROO
%{_mandir}/man1/virt-manager.1*
%changelog
* Wed Dec 12 2007 - dpmerrill@novell.com
- #344490: Fix path in xenstore call (virtman-edit.diff)
* Thu Aug 16 2007 - ccoffing@novell.com
- #300789: Could not add or change disks
- Drop unused patch

View File

@ -279,7 +279,7 @@ Index: virt-manager--devel/src/virtManager/details.py
+ devid = blkif.blkdev_name_to_number(disk.get_vdev_str())
+ run(['/usr/bin/xenstore-write',
+ '/local/domain/0/backend/vbd/%d/%d/params' % (self.vm.get_id(), devid),
+ disk.get_pdev()])
+ disk.get_path()])
+ except RuntimeError, e:
+ logging.error("Failed to change CD media: %s" % str(e))
+ raise