commit vm-install for openSUSE:Factory
Hello community, here is the log from the commit of package vm-install for openSUSE:Factory checked in at Wed Feb 2 01:58:54 CET 2011. -------- --- vm-install/vm-install.changes 2011-01-17 17:24:30.000000000 +0100 +++ /mounts/work_src_done/STABLE/vm-install/vm-install.changes 2011-01-27 14:33:55.000000000 +0100 @@ -1,0 +2,10 @@ +Wed Jan 19 06:18:30 MST 2011 - carnold@novell.com + +- The following three bugs are the same problem. +- bnc#665767 - L3:kvm vminstall generates bad xml +- bnc#665446 - Attempt to start installation of new KVM virt + machine ended with error message in vm-install tool +- bnc#665541 - vm-install fails tu create a virtual machine (kvm) + after update to vm-install-0.4.27-2.1.2 (error in created xml) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vm-install.spec ++++++ --- /var/tmp/diff_new_pack.en5nPM/_old 2011-02-02 01:57:49.000000000 +0100 +++ /var/tmp/diff_new_pack.en5nPM/_new 2011-02-02 01:57:49.000000000 +0100 @@ -27,7 +27,7 @@ Group: System/Emulators/PC AutoReqProv: yes Version: 0.4.28 -Release: 1 +Release: 2 Summary: Tool to Define a Virtual Machine and Install Its Operating System Source0: %{name}-0.4.28.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ vm-install-0.4.28.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/src/vmdisks/disks.py new/vm-install-0.4.28/src/vmdisks/disks.py --- old/vm-install-0.4.28/src/vmdisks/disks.py 2010-11-19 21:25:33.000000000 +0100 +++ new/vm-install-0.4.28/src/vmdisks/disks.py 2011-01-21 17:56:55.000000000 +0100 @@ -987,8 +987,10 @@ if vminstall.caps.is_kvm() or vminstall.caps.is_qemu(): if vals[0] == "file": opts.append("<driver name='qemu' type='raw'/>") - else: + elif vals[0] != "phy": opts.append("<driver name='qemu' type='%s'/>" % vals[0]) + else: + opts.append("<driver name='qemu'/>") else: opts.append("<driver name='%s'/>" % vals[0]) else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/src/vminstall/libvirt_hypervisor.py new/vm-install-0.4.28/src/vminstall/libvirt_hypervisor.py --- old/vm-install-0.4.28/src/vminstall/libvirt_hypervisor.py 2010-07-21 22:48:02.000000000 +0200 +++ new/vm-install-0.4.28/src/vminstall/libvirt_hypervisor.py 2011-01-21 17:57:42.000000000 +0100 @@ -103,9 +103,13 @@ try: if self.virDom is None: self.virDom = self.lookup(domid) - domInfo = self.virDom.info() - self.virDom.destroy() - self.virDom.undefine() + if self.virDom: + try: + self.virDom.destroy() + except: + # May not be running + pass + self.virDom.undefine() except: pass @@ -129,8 +133,8 @@ try: if self.virDom is None: self.virDom = self.lookup(domid) - domInfo = self.virDom.info() - self.virDom.shutdown() + if self.virDom: + self.virDom.shutdown() except: pass ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de