commit python-virtinst for openSUSE:Factory

2013-10-22 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2013-10-22 10:22:16

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2013-10-02 13:33:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2013-10-22 10:22:17.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct 21 12:25:16 MDT 2013 - carn...@suse.com
+
+- bnc#846906 - It's SUSE Linux Enterprise Server in virt-manager 
+  virtinst-support-suse-distros.patch
+
+---



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.BT7xm7/_old  2013-10-22 10:22:19.0 +0200
+++ /var/tmp/diff_new_pack.BT7xm7/_new  2013-10-22 10:22:19.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 %{!?python_sitelib: %define python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
 
 # This macro is used for the continuous automated builds. It just

++ virtinst-support-suse-distros.patch ++
--- /var/tmp/diff_new_pack.BT7xm7/_old  2013-10-22 10:22:19.0 +0200
+++ /var/tmp/diff_new_pack.BT7xm7/_new  2013-10-22 10:22:19.0 +0200
@@ -56,20 +56,21 @@
 +},
 +
 +sles9: {
-+label: Suse Linux Enterprise Server 9,
++label: SUSE Linux Enterprise Server 9,
 +distro: suse,
 +supported: True,
 +pv_cdrom_install: False,
 +},
  sles10: {
 -label: Suse Linux Enterprise Server,
-+label: Suse Linux Enterprise Server 10,
++label: SUSE Linux Enterprise Server 10,
  distro: suse,
  supported: True,
 +pv_cdrom_install: True,
  },
  sles11: {
- label: Suse Linux Enterprise Server 11,
+-label: Suse Linux Enterprise Server 11,
++label: SUSE Linux Enterprise Server 11,
  distro: suse,
  supported: True,
 +pv_cdrom_install: True,
@@ -80,13 +81,13 @@
 +},
 +
 +sled10: {
-+label: Suse Linux Enterprise Desktop 10,
++label: SUSE Linux Enterprise Desktop 10,
 +distro: suse,
 +supported: True,
 +pv_cdrom_install: True,
 +},
 +sled11: {
-+label: Suse Linux Enterprise Desktop 11,
++label: SUSE Linux Enterprise Desktop 11,
 +distro: suse,
 +supported: True,
 +pv_cdrom_install: True,

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-virtinst for openSUSE:Factory

2013-10-02 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2013-10-02 13:33:25

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2013-09-12 14:25:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2013-10-02 13:33:26.0 +0200
@@ -1,0 +2,6 @@
+Tue Oct  1 13:36:48 UTC 2013 - cbosdon...@suse.com
+
+- Don't write ram XML attribute for video devices other than QXL.
+  virtinst-ram-qxl-only.patch fixes bnc#829284
+
+---

New:

  virtinst-ram-qxl-only.patch



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.Wn0eOZ/_old  2013-10-02 13:33:27.0 +0200
+++ /var/tmp/diff_new_pack.Wn0eOZ/_new  2013-10-02 13:33:27.0 +0200
@@ -55,6 +55,7 @@
 Patch21:virtinst-clone-disks.patch
 Patch22:virtinst-use-qemu-driver-cdrom.patch
 Patch23:virtinst-cdrom-install.patch
+Patch24:virtinst-ram-qxl-only.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
@@ -99,6 +100,7 @@
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
+%patch24 -p1
 
 %build
 python setup.py build

++ virtinst-ram-qxl-only.patch ++
diff --git a/virtinst/VirtualVideoDevice.py b/virtinst/VirtualVideoDevice.py
index 138b151..f05128b 100644
--- a/virtinst/VirtualVideoDevice.py
+++ b/virtinst/VirtualVideoDevice.py
@@ -41,6 +41,7 @@ class VirtualVideoDevice(VirtualDevice.VirtualDevice):
 self._model_type= None
 self._vram  = None
 self._heads = None
+self._ram   = None
 
 if self._is_parse():
 return
@@ -55,6 +56,10 @@ class VirtualVideoDevice(VirtualDevice.VirtualDevice):
 return self._model_type
 def set_model_type(self, val):
 self._model_type = val
+# Reset ram value for other types than qxl
+# or we'll have troubles later as libvirt failures
+if val != qxl:
+self.ram = None
 model_type = _xml_property(get_model_type, set_model_type,
xpath=./model/@type)
 
@@ -72,6 +77,13 @@ class VirtualVideoDevice(VirtualDevice.VirtualDevice):
 heads = _xml_property(get_heads, set_heads,
   xpath=./model/@heads)
 
+def get_ram(self):
+return self._ram
+def set_ram(self, val):
+self._ram = val
+ram = _xml_property(get_ram, set_ram,
+ xpath=./model/@ram)
+
 def _get_xml_config(self):
 model = self.model_type
 if self.model_type == self.MODEL_DEFAULT:
@@ -84,6 +96,8 @@ class VirtualVideoDevice(VirtualDevice.VirtualDevice):
 model_xml +=  vram='%s' % self.vram
 if self.heads:
 model_xml +=  heads='%s' % self.heads
+if self.ram and model != qxl:
+model_xml +=  ram='%s' % self.ram
 model_xml += /\n
 
 xml = (video\n +
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-virtinst for openSUSE:Factory

2013-09-12 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2013-09-12 14:25:52

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2013-07-27 15:53:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2013-09-12 14:25:54.0 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 16:34:08 MDT 2013 - carn...@suse.com
+
+- Xen: Fix failing installations using cdrom after first reboot
+  virtinst-cdrom-install.patch
+
+---

New:

  virtinst-cdrom-install.patch



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.eWg3TG/_old  2013-09-12 14:25:55.0 +0200
+++ /var/tmp/diff_new_pack.eWg3TG/_new  2013-09-12 14:25:55.0 +0200
@@ -54,6 +54,7 @@
 Patch20:virtinst-xen-drive-type.patch
 Patch21:virtinst-clone-disks.patch
 Patch22:virtinst-use-qemu-driver-cdrom.patch
+Patch23:virtinst-cdrom-install.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
@@ -97,6 +98,7 @@
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
 
 %build
 python setup.py build

++ virtinst-cdrom-install.patch ++
Index: virtinst-0.600.4/virtinst/Guest.py
===
--- virtinst-0.600.4.orig/virtinst/Guest.py
+++ virtinst-0.600.4/virtinst/Guest.py
@@ -863,7 +863,9 @@ class Guest(XMLBuilderDomain.XMLBuilderD
 if do_skip_disk(dev):
 return 
 
-if do_remove_media(dev):
+# For libxl, we either have a complete cdrom definition or 
nothing
+# which means we keep the complete definition during 
installation.
+if do_remove_media(dev) and self.type != xen:
 origpath = dev.path
 dev.path = None
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-virtinst for openSUSE:Factory

2013-07-27 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2013-07-27 15:53:19

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2013-07-05 15:11:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2013-07-27 15:53:22.0 +0200
@@ -2 +2 @@
-Wed Jul  3 14:52:48 MDT 2013 - carn...@suse.com
+Thu Jul 25 14:36:08 MDT 2013 - carn...@suse.com
@@ -4 +4,30 @@
-- Allow virt-install to install Xen PV guests from ISO media
+- Add a desktop and ycp file for virt-install to allow launch from
+  yast menu.
+  virt-install.ycp
+  virt-install.desktop
+
+---
+Tue Jul 24 15:28:34 MDT 2013 - carn...@suse.com
+
+- Use 'qemu' driver for cdrom device with Xen
+- Drop virtinst-s390x-media-paths.diff.  It is now part of
+  virtinst-detect-suse-distros.patch
+
+---
+Tue Jul 23 15:31:34 MDT 2013 - carn...@suse.com
+
+- Fix detection of suse distros
+- Add opensuse 13 as a detectable host distro for using as default 
+
+---
+Fri Jun 13 17:24:08 MDT 2013 - carn...@suse.com
+
+- bnc#824720 - virt-manager never allocates hdb for emulated ide
+  disk, always reserves hdb for emulated ide cdrom.
+  virtinst-allow-ide-hdb.patch
+
+---
+Tue Jun 11 14:35:01 MDT 2013 - carn...@suse.com
+
+- Allow PV ISO installations with virt-install for those distros
+  that support it
@@ -6 +35,4 @@
-- Detect SUSE installation sources and use as default when found
+- Use the host as the default guest os until detection can occur
+  virtman-default-guest-from-host-os.patch
+- Look for a 'content' file in an installation source for determining
+  the type of distro
@@ -8 +40 @@
-- Include additional SUSE disto versions in pop up menu
+- Add additional suse distros to list of selectable distros
@@ -9,0 +42,2 @@
+- Fix no arch error in virt-manager.log
+  virtinst-none-arch-fix.patch

Old:

  virtinst-s390x-media-paths.patch

New:

  virt-install.desktop
  virt-install.ycp
  virtinst-allow-ide-hdb.patch
  virtinst-none-arch-fix.patch
  virtinst-use-qemu-driver-cdrom.patch



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.C5IxKT/_old  2013-07-27 15:53:28.0 +0200
+++ /var/tmp/diff_new_pack.C5IxKT/_new  2013-07-27 15:53:28.0 +0200
@@ -40,16 +40,20 @@
 Version:0.600.4
 Release:0
 Source0:%{appname}-%{version}.tar.bz2
+Source1:virt-install.ycp
+Source2:virt-install.desktop
 Patch10:virtinst-cdrom.patch
 Patch12:virtinst-storage-ocfs2.patch
 Patch13:virtinst-qed.patch
 Patch14:virtinst-add-cache-modes.patch
-Patch15:virtinst-xen-drive-type.patch
-Patch16:virtinst-s390x-media-paths.patch
-Patch17:virtinst-clone-disks.patch
-Patch18:virtinst-allow-pv-iso-install.patch
-Patch19:virtinst-support-suse-distros.patch
-Patch20:virtinst-detect-suse-distros.patch
+Patch15:virtinst-none-arch-fix.patch
+Patch16:virtinst-allow-pv-iso-install.patch
+Patch17:virtinst-support-suse-distros.patch
+Patch18:virtinst-detect-suse-distros.patch
+Patch19:virtinst-allow-ide-hdb.patch
+Patch20:virtinst-xen-drive-type.patch
+Patch21:virtinst-clone-disks.patch
+Patch22:virtinst-use-qemu-driver-cdrom.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
@@ -91,6 +95,8 @@
 %patch18 -p1
 %patch19 -p1
 %patch20 -p1
+%patch21 -p1
+%patch22 -p1
 
 %build
 python setup.py build
@@ -100,6 +106,10 @@
 # Back compat in case people hardcoded old /usr/sbin/virt-install location
 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
 ln -s ../bin/virt-install $RPM_BUILD_ROOT/%{_sbindir}/virt-install
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/YaST2/clients/
+install -m644 %SOURCE1 
$RPM_BUILD_ROOT/%{_datadir}/YaST2/clients/virt-install.ycp
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications/YaST2/
+install -m644 %SOURCE2 
$RPM_BUILD_ROOT/%{_datadir}/applications/YaST2/virt-install.desktop
 
 %find_lang %{appname} || echo 0
 
@@ -125,5 +135,9 @@
 %{_bindir}/virt-clone
 %{_bindir}/virt-image
 %{_bindir}/virt-convert
+%dir %{_datadir}/*
+%dir %{_datadir}/*/*
+%{_datadir}/YaST2/clients/virt-install.ycp
+%{_datadir}/applications/YaST2/virt-install.desktop
 
 %changelog

++ 

commit python-virtinst for openSUSE:Factory

2013-07-05 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2013-07-05 15:11:10

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2013-06-07 10:08:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2013-07-05 15:11:12.0 +0200
@@ -1,0 +2,10 @@
+Wed Jul  3 14:52:48 MDT 2013 - carn...@suse.com
+
+- Allow virt-install to install Xen PV guests from ISO media
+  virtinst-allow-pv-iso-install.patch
+- Detect SUSE installation sources and use as default when found
+  virtinst-detect-suse-distros.patch
+- Include additional SUSE disto versions in pop up menu
+  virtinst-support-suse-distros.patch
+
+---

New:

  virtinst-allow-pv-iso-install.patch
  virtinst-detect-suse-distros.patch
  virtinst-support-suse-distros.patch



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.KHuork/_old  2013-07-05 15:11:13.0 +0200
+++ /var/tmp/diff_new_pack.KHuork/_new  2013-07-05 15:11:13.0 +0200
@@ -47,6 +47,9 @@
 Patch15:virtinst-xen-drive-type.patch
 Patch16:virtinst-s390x-media-paths.patch
 Patch17:virtinst-clone-disks.patch
+Patch18:virtinst-allow-pv-iso-install.patch
+Patch19:virtinst-support-suse-distros.patch
+Patch20:virtinst-detect-suse-distros.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
@@ -85,6 +88,9 @@
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%patch20 -p1
 
 %build
 python setup.py build

++ virtinst-allow-pv-iso-install.patch ++
Index: virtinst-0.600.4/virtinst/DistroInstaller.py
===
--- virtinst-0.600.4.orig/virtinst/DistroInstaller.py
+++ virtinst-0.600.4/virtinst/DistroInstaller.py
@@ -431,7 +431,7 @@ class DistroInstaller(Installer.Installe
 return False
 
 is_url = not self._location_is_path
-mount_dvd = self._location_is_path and not self.cdrom
+mount_dvd = self._location_is_path and self.cdrom
 
 return bool(is_url or mount_dvd)
 
@@ -440,11 +440,14 @@ class DistroInstaller(Installer.Installe
 
 dev = None
 if self.cdrom:
-if self.location:
-dev = self._prepare_cdrom(guest, meter)
+if self.is_xenpv() and 
guest._lookup_osdict_key('pv_cdrom_install'):
+dev = self._prepare_kernel_and_initrd(guest, meter)
 else:
-# Booting from a cdrom directly allocated to the guest
-pass
+if self.location:
+dev = self._prepare_cdrom(guest, meter)
+else:
+# Booting from a cdrom directly allocated to the guest
+pass
 else:
 dev = self._prepare_kernel_and_initrd(guest, meter)
 
++ virtinst-detect-suse-distros.patch ++
Index: virtinst-0.600.4/virtinst/OSDistro.py
===
--- virtinst-0.600.4.orig/virtinst/OSDistro.py
+++ virtinst-0.600.4/virtinst/OSDistro.py
@@ -68,8 +68,15 @@ def _storeForDistro(fetcher, baseuri, ty
 arch, typ, scratchdir)
 if dist:
 return dist
+else:
+dist = virtinst.OSDistro.distroFromContent(fetcher, progresscb, 
baseuri,
+arch, typ, scratchdir)
+
 skip_treeinfo = True
 
+if dist:
+return dist
+
 # FIXME: This 'distro ==' doesn't cut it. 'distro' is from our os
 # dictionary, so would look like 'fedora9' or 'rhel5', so this needs
 # to be a bit more intelligent
@@ -225,6 +232,55 @@ def distroFromTreeinfo(fetcher, progress
 
 return ob
 
+def distroFromContent(fetcher, progresscb, uri, arch, vmtype=None,
+   scratchdir=None):
+# Parse content file for the 'LABEL' field containing the distribution name
+# None if no content, GenericDistro if unknown label type.
+if not fetcher.hasFile(content):
+return None
+
+distribution = None
+filename = fetcher.acquireFile(content, progresscb)
+cbuf = f = None
+try:
+f = open(filename, r)
+cbuf = f.read()
+except:
+if f:
+f.close()
+os.unlink(filename)
+return None
+f.close()
+os.unlink(filename)
+
+lines = cbuf.splitlines()[1:]
+for line 

commit python-virtinst for openSUSE:Factory

2013-06-07 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2013-06-07 10:08:29

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2013-02-05 11:20:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2013-06-07 10:08:30.0 +0200
@@ -1,0 +2,34 @@
+Fri May 31 15:01:12 MDT 2013 - carn...@suse.com
+
+- Renamed all patches ending with '.diff' to '.patch'.
+
+---
+Sat May 25 15:47:39 MDT 2013 - carn...@suse.com
+
+- bnc#821331 - virt-manager doesn't create correct cloned qcow2 or
+  vmdk image configuration when cloning a domu
+  virtinst-clone-disks.diff
+
+---
+Tue May  7 17:53:14 MDT 2013 - carn...@suse.com
+
+- bnc#811831 - s390x KVM Unable to complete install: 'Couldn't find
+  hvm kernel for SUSE tree.
+  virtinst-s390x-media-paths.diff
+
+---
+Fri May  3 17:43:27 MDT 2013 - carn...@suse.com
+
+- bnc#813082 - virt-manager doesn't create correct XML for the new
+  qcow2 or vmdk disk on xen host - Revisited for Xen HVM guests
+  virtinst-xen-drive-type.diff
+
+---
+Tue Apr  2 15:03:36 MDT 2013 - carn...@suse.com
+
+- Update to virtinst 0.600.4
+  * virt-install: New convenience option --controller usb2
+  * API support for disk iotune properties (David Shane Holden)
+  * Bug fixes and minor improvements
+
+---

Old:

  virtinst-0.600.3.tar.bz2
  virtinst-add-cache-modes.diff
  virtinst-cdrom.diff
  virtinst-git-lun.diff
  virtinst-qed.diff
  virtinst-storage-ocfs2.diff

New:

  virtinst-0.600.4.tar.bz2
  virtinst-add-cache-modes.patch
  virtinst-cdrom.patch
  virtinst-clone-disks.patch
  virtinst-qed.patch
  virtinst-s390x-media-paths.patch
  virtinst-storage-ocfs2.patch
  virtinst-xen-drive-type.patch



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.0hJ0TY/_old  2013-06-07 10:08:31.0 +0200
+++ /var/tmp/diff_new_pack.0hJ0TY/_new  2013-06-07 10:08:31.0 +0200
@@ -37,14 +37,16 @@
 Group:  System/Monitoring
 
 Name:   python-%{appname}
-Version:0.600.3
+Version:0.600.4
 Release:0
 Source0:%{appname}-%{version}.tar.bz2
-Patch0: virtinst-git-lun.diff
-Patch10:virtinst-cdrom.diff
-Patch12:virtinst-storage-ocfs2.diff
-Patch13:virtinst-qed.diff
-Patch14:virtinst-add-cache-modes.diff
+Patch10:virtinst-cdrom.patch
+Patch12:virtinst-storage-ocfs2.patch
+Patch13:virtinst-qed.patch
+Patch14:virtinst-add-cache-modes.patch
+Patch15:virtinst-xen-drive-type.patch
+Patch16:virtinst-s390x-media-paths.patch
+Patch17:virtinst-clone-disks.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
@@ -76,11 +78,13 @@
 
 %prep
 %setup -q -n %{appname}-%{version}
-%patch0 -p1
 %patch10 -p1
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
 
 %build
 python setup.py build

++ virtinst-0.600.3.tar.bz2 - virtinst-0.600.4.tar.bz2 ++
/work/SRC/openSUSE:Factory/python-virtinst/virtinst-0.600.3.tar.bz2 
/work/SRC/openSUSE:Factory/.python-virtinst.new/virtinst-0.600.4.tar.bz2 
differ: char 11, line 1

++ virtinst-add-cache-modes.patch ++
Index: virtinst-0.600.4/virtinst/VirtualDisk.py
===
--- virtinst-0.600.4.orig/virtinst/VirtualDisk.py
+++ virtinst-0.600.4/virtinst/VirtualDisk.py
@@ -301,10 +301,13 @@ class VirtualDisk(VirtualDevice):
 driver_types = [DRIVER_TAP_RAW, DRIVER_TAP_QCOW,
 DRIVER_TAP_QED, DRIVER_TAP_VMDK, DRIVER_TAP_VDISK]
 
+CACHE_MODE_DIRECTSYNC = directsync
 CACHE_MODE_NONE = none
+CACHE_MODE_UNSAFE = unsafe
 CACHE_MODE_WRITETHROUGH = writethrough
 CACHE_MODE_WRITEBACK = writeback
-cache_types = [CACHE_MODE_NONE, CACHE_MODE_WRITETHROUGH,
+cache_types = [CACHE_MODE_DIRECTSYNC, CACHE_MODE_NONE,
+CACHE_MODE_UNSAFE, CACHE_MODE_WRITETHROUGH,
 CACHE_MODE_WRITEBACK]
 
 DEVICE_DISK = disk
@@ -588,7 +591,7 @@ class VirtualDisk(VirtualDevice):
 @type bus: C{str}
 @param shareable: If disk can be shared among VMs
 @type shareable: C{bool}
-@param driverCache: Disk cache 

commit python-virtinst for openSUSE:Factory

2013-02-05 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2013-02-05 11:19:59

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2012-08-14 14:27:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2013-02-05 11:20:01.0 +0100
@@ -1,0 +2,8 @@
+Thu Jan 31 15:32:00 MST 2013 - carn...@suse.com
+
+- fate##314135: Support PVSCSI on XEN and VirtioSCSI on KVM -
+  Implement pass through block device
+- fate##313076: HBA passthrough for kvm
+  virtinst-git-lun.diff
+
+---

New:

  virtinst-git-lun.diff



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.OO54nL/_old  2013-02-05 11:20:02.0 +0100
+++ /var/tmp/diff_new_pack.OO54nL/_new  2013-02-05 11:20:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-virtinst
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -40,6 +40,7 @@
 Version:0.600.3
 Release:0
 Source0:%{appname}-%{version}.tar.bz2
+Patch0: virtinst-git-lun.diff
 Patch10:virtinst-cdrom.diff
 Patch12:virtinst-storage-ocfs2.diff
 Patch13:virtinst-qed.diff
@@ -75,6 +76,7 @@
 
 %prep
 %setup -q -n %{appname}-%{version}
+%patch0 -p1
 %patch10 -p1
 %patch12 -p1
 %patch13 -p1

++ virtinst-add-cache-modes.diff ++
--- /var/tmp/diff_new_pack.OO54nL/_old  2013-02-05 11:20:02.0 +0100
+++ /var/tmp/diff_new_pack.OO54nL/_new  2013-02-05 11:20:02.0 +0100
@@ -1,7 +1,7 @@
-Index: virtinst-0.600.2/virtinst/VirtualDisk.py
+Index: virtinst-0.600.3/virtinst/VirtualDisk.py
 ===
 virtinst-0.600.2.orig/virtinst/VirtualDisk.py
-+++ virtinst-0.600.2/virtinst/VirtualDisk.py
+--- virtinst-0.600.3.orig/virtinst/VirtualDisk.py
 virtinst-0.600.3/virtinst/VirtualDisk.py
 @@ -301,10 +301,13 @@ class VirtualDisk(VirtualDevice):
  driver_types = [DRIVER_TAP_RAW, DRIVER_TAP_QCOW,
  DRIVER_TAP_QED, DRIVER_TAP_VMDK, DRIVER_TAP_VDISK]
@@ -17,7 +17,7 @@
  CACHE_MODE_WRITEBACK]
  
  DEVICE_DISK = disk
-@@ -585,7 +588,7 @@ class VirtualDisk(VirtualDevice):
+@@ -586,7 +589,7 @@ class VirtualDisk(VirtualDevice):
  @type bus: C{str}
  @param shareable: If disk can be shared among VMs
  @type shareable: C{bool}

++ virtinst-cdrom.diff ++
--- /var/tmp/diff_new_pack.OO54nL/_old  2013-02-05 11:20:02.0 +0100
+++ /var/tmp/diff_new_pack.OO54nL/_new  2013-02-05 11:20:02.0 +0100
@@ -1,8 +1,8 @@
-Index: virtinst-0.600.2/virtinst/VirtualDisk.py
+Index: virtinst-0.600.3/virtinst/VirtualDisk.py
 ===
 virtinst-0.600.2.orig/virtinst/VirtualDisk.py
-+++ virtinst-0.600.2/virtinst/VirtualDisk.py
-@@ -1735,7 +1735,7 @@ class VirtualDisk(VirtualDevice):
+--- virtinst-0.600.3.orig/virtinst/VirtualDisk.py
 virtinst-0.600.3/virtinst/VirtualDisk.py
+@@ -1736,7 +1736,7 @@ class VirtualDisk(VirtualDevice):
  if maxnode  (26 * 26 * 26):
  raise RuntimeError(maxnode value is too high)
  
@@ -11,7 +11,7 @@
  for i in range(1, maxnode + 1):
  gen_t = prefix
  
-@@ -1761,8 +1761,14 @@ class VirtualDisk(VirtualDevice):
+@@ -1762,8 +1762,14 @@ class VirtualDisk(VirtualDevice):
  if gen_t in except_targets:
  continue
  if gen_t not in skip_targets:

++ virtinst-git-lun.diff ++

Subject: Introduce device type 'lun'
From: Chen Hanxiao chenhanx...@cn.fujitsu.com Tue Dec 11 17:07:59 2012 +0800
Date: Fri Dec 14 19:23:01 2012 -0500:
Git: a52591410065db25617c4de2e722896b644cd8ef

 Supporting SG_IO commands pass though,
 introduce a new device type 'lun'
 to keep pace with libvirt.

(crobinso: Add Chen to AUTHORS, whitespace tweak)

Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com

Index: virtinst-0.600.3/AUTHORS
===
--- virtinst-0.600.3.orig/AUTHORS
+++ virtinst-0.600.3/AUTHORS
@@ -65,6 +65,7 @@ Patches also received from
 Guannan Ren gren-at-redhat-dot-com
 Qing Lin qinglbj-at-linux-dot-vnet-dot-ibm-dot-com
 

commit python-virtinst for openSUSE:Factory

2012-08-14 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2012-08-14 14:27:04

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2012-07-14 13:14:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2012-08-14 14:27:08.0 +0200
@@ -1,0 +2,12 @@
+Tue Aug  7 09:23:52 MDT 2012 - carn...@novell.com
+
+- Update to virtinst 0.600.3
+  0.600.3 is a bugfix release, fixing virt-install --cpuset=auto, 
+  and cloning to an existing managed block device. 0.600.2
+  changelog:
+  * virt-install: New --memballoon option (Eiichi Tsukata)
+  * virt-install: Improved qemu/kvm pseries support (Li Zhang, Qing Lin)
+  * virt-install: Support setting BIOS path using -boot loader=PATH
+  * Various bug fixes and improvements
+
+---

Old:

  virtinst-0.600.2.tar.bz2

New:

  virtinst-0.600.3.tar.bz2



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.EYyIFQ/_old  2012-08-14 14:27:10.0 +0200
+++ /var/tmp/diff_new_pack.EYyIFQ/_new  2012-08-14 14:27:10.0 +0200
@@ -37,7 +37,7 @@
 Group:  System/Monitoring
 
 Name:   python-%{appname}
-Version:0.600.2
+Version:0.600.3
 Release:0
 Source0:%{appname}-%{version}.tar.bz2
 Patch10:virtinst-cdrom.diff

++ virtinst-0.600.2.tar.bz2 - virtinst-0.600.3.tar.bz2 ++
/work/SRC/openSUSE:Factory/python-virtinst/virtinst-0.600.2.tar.bz2 
/work/SRC/openSUSE:Factory/.python-virtinst.new/virtinst-0.600.3.tar.bz2 
differ: char 11, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-virtinst for openSUSE:Factory

2012-07-14 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2012-07-14 13:14:50

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2012-05-08 12:29:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2012-07-14 13:14:51.0 +0200
@@ -1,0 +2,9 @@
+Fri Jul 13 12:08:17 MDT 2012 - carn...@novell.com
+
+- Update to virtinst 0.600.2
+  * virt-install: New --memballoon option (Eiichi Tsukata)
+  * virt-install: Improved qemu/kvm pseries support (Li Zhang, Qing Lin)
+  * virt-install: Support setting BIOS path using -boot loader=PATH
+  * Various bug fixes and improvements
+
+---

Old:

  virtinst-0.600.1.tar.bz2
  virtinst-fix-qcow2-clone.patch
  virtinst-git-suse-url.diff

New:

  virtinst-0.600.2.tar.bz2



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.wSqDme/_old  2012-07-14 13:14:54.0 +0200
+++ /var/tmp/diff_new_pack.wSqDme/_new  2012-07-14 13:14:54.0 +0200
@@ -37,15 +37,13 @@
 Group:  System/Monitoring
 
 Name:   python-%{appname}
-Version:0.600.1
+Version:0.600.2
 Release:0
 Source0:%{appname}-%{version}.tar.bz2
-Patch0: virtinst-git-suse-url.diff
 Patch10:virtinst-cdrom.diff
 Patch12:virtinst-storage-ocfs2.diff
 Patch13:virtinst-qed.diff
 Patch14:virtinst-add-cache-modes.diff
-Patch15:virtinst-fix-qcow2-clone.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
@@ -77,12 +75,10 @@
 
 %prep
 %setup -q -n %{appname}-%{version}
-%patch0 -p1
 %patch10 -p1
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
-%patch15 -p1
 
 %build
 python setup.py build

++ virtinst-0.600.1.tar.bz2 - virtinst-0.600.2.tar.bz2 ++
/work/SRC/openSUSE:Factory/python-virtinst/virtinst-0.600.1.tar.bz2 
/work/SRC/openSUSE:Factory/.python-virtinst.new/virtinst-0.600.2.tar.bz2 
differ: char 11, line 1

++ virtinst-add-cache-modes.diff ++
--- /var/tmp/diff_new_pack.wSqDme/_old  2012-07-14 13:14:54.0 +0200
+++ /var/tmp/diff_new_pack.wSqDme/_new  2012-07-14 13:14:54.0 +0200
@@ -1,7 +1,7 @@
-Index: virtinst-0.600.1/virtinst/VirtualDisk.py
+Index: virtinst-0.600.2/virtinst/VirtualDisk.py
 ===
 virtinst-0.600.1.orig/virtinst/VirtualDisk.py
-+++ virtinst-0.600.1/virtinst/VirtualDisk.py
+--- virtinst-0.600.2.orig/virtinst/VirtualDisk.py
 virtinst-0.600.2/virtinst/VirtualDisk.py
 @@ -301,10 +301,13 @@ class VirtualDisk(VirtualDevice):
  driver_types = [DRIVER_TAP_RAW, DRIVER_TAP_QCOW,
  DRIVER_TAP_QED, DRIVER_TAP_VMDK, DRIVER_TAP_VDISK]

++ virtinst-cdrom.diff ++
--- /var/tmp/diff_new_pack.wSqDme/_old  2012-07-14 13:14:54.0 +0200
+++ /var/tmp/diff_new_pack.wSqDme/_new  2012-07-14 13:14:54.0 +0200
@@ -1,7 +1,7 @@
-Index: virtinst-0.600.1/virtinst/VirtualDisk.py
+Index: virtinst-0.600.2/virtinst/VirtualDisk.py
 ===
 virtinst-0.600.1.orig/virtinst/VirtualDisk.py
-+++ virtinst-0.600.1/virtinst/VirtualDisk.py
+--- virtinst-0.600.2.orig/virtinst/VirtualDisk.py
 virtinst-0.600.2/virtinst/VirtualDisk.py
 @@ -1735,7 +1735,7 @@ class VirtualDisk(VirtualDevice):
  if maxnode  (26 * 26 * 26):
  raise RuntimeError(maxnode value is too high)

++ virtinst-qed.diff ++
--- /var/tmp/diff_new_pack.wSqDme/_old  2012-07-14 13:14:54.0 +0200
+++ /var/tmp/diff_new_pack.wSqDme/_new  2012-07-14 13:14:54.0 +0200
@@ -1,7 +1,7 @@
-Index: virtinst-0.600.1/virtinst/VirtualDisk.py
+Index: virtinst-0.600.2/virtinst/VirtualDisk.py
 ===
 virtinst-0.600.1.orig/virtinst/VirtualDisk.py
-+++ virtinst-0.600.1/virtinst/VirtualDisk.py
+--- virtinst-0.600.2.orig/virtinst/VirtualDisk.py
 virtinst-0.600.2/virtinst/VirtualDisk.py
 @@ -295,10 +295,11 @@ class VirtualDisk(VirtualDevice):
  
  DRIVER_TAP_RAW = aio
@@ -15,10 +15,10 @@
  
  CACHE_MODE_NONE = none
  CACHE_MODE_WRITETHROUGH = writethrough
-Index: virtinst-0.600.1/virtinst/ImageParser.py
+Index: virtinst-0.600.2/virtinst/ImageParser.py
 ===
 virtinst-0.600.1.orig/virtinst/ImageParser.py
-+++ virtinst-0.600.1/virtinst/ImageParser.py
+--- 

commit python-virtinst for openSUSE:Factory

2012-05-08 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2012-05-08 12:28:59

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2012-03-16 13:23:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2012-05-08 12:29:01.0 +0200
@@ -1,0 +2,6 @@
+Sun May  6 11:46:48 UTC 2012 - vmik...@suse.com
+
+- Backport patch from git:
+  * virt-install: fix cloning of qcow2 disks
+
+---

New:

  virtinst-fix-qcow2-clone.patch



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.RrgJJz/_old  2012-05-08 12:29:02.0 +0200
+++ /var/tmp/diff_new_pack.RrgJJz/_new  2012-05-08 12:29:02.0 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %{!?python_sitelib: %define python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
 
 # This macro is used for the continuous automated builds. It just
@@ -44,15 +45,16 @@
 Patch12:virtinst-storage-ocfs2.diff
 Patch13:virtinst-qed.diff
 Patch14:virtinst-add-cache-modes.diff
+Patch15:virtinst-fix-qcow2-clone.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
 Url:http://virt-manager.org
-Provides:   virt-install
 Provides:   virt-clone
+Provides:   virt-convert
 Provides:   virt-image
+Provides:   virt-install
 Provides:   virt-pack
-Provides:   virt-convert
 Requires:   libvirt-python = 0.4.5
 Requires:   libxml2-python
 Requires:   python-urlgrabber
@@ -80,6 +82,7 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 
 %build
 python setup.py build

++ virtinst-fix-qcow2-clone.patch ++
From f0195e95d57deda83daed5231582ca86bde519ae Mon Sep 17 00:00:00 2001
From: Cole Robinson crobi...@redhat.com
Date: Thu, 1 Mar 2012 17:31:40 -0500
Subject: [PATCH] virt-clone: fix guest booting when cloning a qcow2 image

We weren't syncing the driver type value in the XML
---

diff --git a/virtinst/CloneManager.py b/virtinst/CloneManager.py
index f4af695..aa5e3f5 100644
--- a/virtinst/CloneManager.py
+++ b/virtinst/CloneManager.py
@@ -473,11 +473,6 @@ class CloneDesign(object):
 _(Clone onto existing storage volume is not 
   supported: '%s') % clone_disk.path)
 
-# Change the XML
-xmldisk.path = None
-xmldisk.type = clone_disk.type
-xmldisk.path = clone_disk.path
-
 # Sync 'size' between the two
 if orig_disk.size:
 clone_disk.size = orig_disk.size
@@ -500,6 +495,12 @@ class CloneDesign(object):
 elif not self.preserve_dest_disks:
 clone_disk.clone_path = orig_disk.path
 
+# Change the XML
+xmldisk.path = None
+xmldisk.type = clone_disk.type
+xmldisk.path = clone_disk.path
+xmldisk.driver_type = clone_disk.driver_type
+
 # Save altered clone xml
 self._clone_xml = self._guest.get_xml_config()
 
From c9ae2ac4668213c03614842d92327737a25cf9ec Mon Sep 17 00:00:00 2001
From: Wanlong Gao gaowanl...@cn.fujitsu.com
Date: Thu, 29 Mar 2012 10:58:15 -0400
Subject: [PATCH] virt-clone: further fix guest booting when cloning a qcow2
 image

commit f0195e95d5 didn't fix the problem completely,
we should get the orig_disk's driver_type when setup
cloning.

Signed-off-by: Wanlong Gao gaowanlong cn fujitsu com
---

diff --git a/virtinst/CloneManager.py b/virtinst/CloneManager.py
index 88e4209..24bbb50 100644
--- a/virtinst/CloneManager.py
+++ b/virtinst/CloneManager.py
@@ -499,7 +499,7 @@ class CloneDesign(object):
 xmldisk.path = None
 xmldisk.type = clone_disk.type
 xmldisk.path = clone_disk.path
-xmldisk.driver_type = clone_disk.driver_type
+xmldisk.driver_type = orig_disk.driver_type
 
 # Save altered clone xml
 self._clone_xml = self._guest.get_xml_config()
@@ -551,7 +551,8 @@ class CloneDesign(object):
 device = VirtualDisk.DEVICE_CDROM
 
 d = VirtualDisk(disk.path, conn=self._hyper_conn,
-device=device, validate=validate)
+device=device, driverType=disk.driver_type,
+validate=validate)

commit python-virtinst for openSUSE:Factory

2012-03-16 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2012-03-16 13:23:49

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2012-03-06 13:41:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2012-03-16 13:23:51.0 +0100
@@ -1,0 +2,8 @@
+Wed Mar 14 10:19:58 MDT 2012 - carn...@novell.com
+
+- bnc#752138 - python-virtinst causes virt-manager uninstall 
+  python-virtinst.spec
+- SUSE URL installs want install= rather than method=
+  virtinst-git-suse-url.diff
+
+---

New:

  virtinst-git-suse-url.diff



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.xcgjaG/_old  2012-03-16 13:23:53.0 +0100
+++ /var/tmp/diff_new_pack.xcgjaG/_new  2012-03-16 13:23:53.0 +0100
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 %{!?python_sitelib: %define python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
 
 # This macro is used for the continuous automated builds. It just
@@ -40,6 +39,7 @@
 Version:0.600.1
 Release:0
 Source0:%{appname}-%{version}.tar.bz2
+Patch0: virtinst-git-suse-url.diff
 Patch10:virtinst-cdrom.diff
 Patch12:virtinst-storage-ocfs2.diff
 Patch13:virtinst-qed.diff
@@ -53,7 +53,7 @@
 Provides:   virt-image
 Provides:   virt-pack
 Provides:   virt-convert
-Requires:   libvirt-python = 0.4.5-2.fc10
+Requires:   libvirt-python = 0.4.5
 Requires:   libxml2-python
 Requires:   python-urlgrabber
 %if 0%{suse_version} == 0
@@ -62,7 +62,7 @@
 %endif
 BuildRequires:  gettext
 BuildRequires:  python-devel
-Obsoletes:  virt-manager = 0.9.0
+Conflicts:  virt-manager = 0.9.0
 
 %description
 pyhon-virtinst contains python modules and tools (virt-install,
@@ -75,6 +75,7 @@
 
 %prep
 %setup -q -n %{appname}-%{version}
+%patch0 -p1
 %patch10 -p1
 %patch12 -p1
 %patch13 -p1

++ virtinst-git-suse-url.diff ++

Subject: SUSE URL installs want install= rather than method=
From: Cole Robinson crobi...@redhat.com Thu Feb 9 10:41:18 2012 -0500
Date: Thu Feb 9 10:41:18 2012 -0500:
Git: 8f02eecd41130dd8b20a80f589d0f67f718484d2


Index: virtinst-0.600.1/virtinst/OSDistro.py
===
--- virtinst-0.600.1.orig/virtinst/OSDistro.py
+++ virtinst-0.600.1/virtinst/OSDistro.py
@@ -240,6 +240,7 @@ class Distro:
 _hvm_kernel_paths = []
 _xen_kernel_paths = []
 uses_treeinfo = False
+method_arg = method
 
 def __init__(self, uri, arch, vmtype=None, scratchdir=None):
 self.uri = uri
@@ -373,7 +374,7 @@ class Distro:
 args = ''
 
 if not fetcher.location.startswith(/):
-args += method= + fetcher.location
+args += %s=%s % (self.method_arg, fetcher.location)
 
 if guest.extraargs:
 args +=   + guest.extraargs
@@ -655,6 +656,7 @@ class SuseDistro(Distro):
 
 name = SUSE
 os_type = linux
+method_arg = install
 _boot_iso_paths   = [ boot/boot.iso ]
 
 def __init__(self, uri, arch, vmtype=None, scratchdir=None):
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-virtinst for openSUSE:Factory

2012-03-06 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2012-03-06 13:41:37

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2012-02-22 15:54:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2012-03-06 13:41:38.0 +0100
@@ -1,0 +2,5 @@
+Wed Feb 29 15:02:02 MST 2012 - carn...@novell.com
+
+- KVM: Add cache mode support for directsync and unsafe
+
+---

New:

  virtinst-add-cache-modes.diff



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.gmsZRl/_old  2012-03-06 13:41:39.0 +0100
+++ /var/tmp/diff_new_pack.gmsZRl/_new  2012-03-06 13:41:39.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %{!?python_sitelib: %define python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
 
 # This macro is used for the continuous automated builds. It just
@@ -42,6 +43,7 @@
 Patch10:virtinst-cdrom.diff
 Patch12:virtinst-storage-ocfs2.diff
 Patch13:virtinst-qed.diff
+Patch14:virtinst-add-cache-modes.diff
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
@@ -60,6 +62,7 @@
 %endif
 BuildRequires:  gettext
 BuildRequires:  python-devel
+Obsoletes:  virt-manager = 0.9.0
 
 %description
 pyhon-virtinst contains python modules and tools (virt-install,
@@ -75,13 +78,13 @@
 %patch10 -p1
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 %build
 python setup.py build
 
 %install
-#rm -rf $RPM_BUILD_ROOT
-python setup.py install -O1 --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
+python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
 # Back compat in case people hardcoded old /usr/sbin/virt-install location
 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
 ln -s ../bin/virt-install $RPM_BUILD_ROOT/%{_sbindir}/virt-install

++ virtinst-add-cache-modes.diff ++
Index: virtinst-0.600.1/virtinst/VirtualDisk.py
===
--- virtinst-0.600.1.orig/virtinst/VirtualDisk.py
+++ virtinst-0.600.1/virtinst/VirtualDisk.py
@@ -301,10 +301,13 @@ class VirtualDisk(VirtualDevice):
 driver_types = [DRIVER_TAP_RAW, DRIVER_TAP_QCOW,
 DRIVER_TAP_QED, DRIVER_TAP_VMDK, DRIVER_TAP_VDISK]
 
+CACHE_MODE_DIRECTSYNC = directsync
 CACHE_MODE_NONE = none
+CACHE_MODE_UNSAFE = unsafe
 CACHE_MODE_WRITETHROUGH = writethrough
 CACHE_MODE_WRITEBACK = writeback
-cache_types = [CACHE_MODE_NONE, CACHE_MODE_WRITETHROUGH,
+cache_types = [CACHE_MODE_DIRECTSYNC, CACHE_MODE_NONE,
+CACHE_MODE_UNSAFE, CACHE_MODE_WRITETHROUGH,
 CACHE_MODE_WRITEBACK]
 
 DEVICE_DISK = disk
@@ -585,7 +588,7 @@ class VirtualDisk(VirtualDevice):
 @type bus: C{str}
 @param shareable: If disk can be shared among VMs
 @type shareable: C{bool}
-@param driverCache: Disk cache mode (none, writethrough, writeback)
+@param driverCache: Disk cache mode (none, directsync, unsafe, 
writethrough, writeback)
 @type driverCache: member of cache_types
 @param selinuxLabel: Used for labelling new or relabel existing storage
 @type selinuxLabel: C{str}
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-virtinst for openSUSE:Factory

2012-02-22 Thread h_root
Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2012-02-22 15:54:56

Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and  /work/SRC/openSUSE:Factory/.python-virtinst.new (New)


Package is python-virtinst, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2011-09-23 12:43:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes 
2012-02-22 15:54:58.0 +0100
@@ -1,0 +2,31 @@
+Fri Feb  3 08:37:05 MST 2012 - carn...@novell.com
+
+- Update to virtinst 0.600.1
+  * virt-install: --redir option for usb redirection (Marc-André Lureau)
+  * virt-install: Advanced --controller support for usb2 (Marc-André Lureau)
+  * Many bug fixes and minor improvments.
+
+---
+Thu Jan  5 17:06:07 MST 2012 - carn...@novell.com
+
+- Include patches from the virtinst contained in the virt-manager
+  package. 
+
+---
+Mon Nov 28 16:14:18 MST 2011 - carn...@novell.com
+
+- Update to upstream git version for various bug fixes
+  virtinst: 15d4901a3c8b855838931976e023158b8cda1c37
+- Compatibility update to virtinst 0.600.0 for virt-manager in os12.1
+  * virt-install: Various improvements to enable LXC/container guests:
+  * New --filesystem option for filesystem devices
+  * New --init option for container init path
+  * New --container option (similar to --paravirt or --hvm)
+  * virt-install: Make --location remotely (with latest libvirt)
+  * virt-install: New --smartcard option for smartcard devices
+  * (Marc-André Lureau)
+  * virt-install: New --numatune option for building guest numatune XML
+  * virt-install: option to set --disk error_policy=
+  * virt-install: option to set --disk serial=
+
+---

Old:

  virtinst-0.500.6.tar.gz

New:

  virtinst-0.600.1.tar.bz2
  virtinst-cdrom.diff
  virtinst-qed.diff
  virtinst-storage-ocfs2.diff



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.daymAs/_old  2012-02-22 15:55:00.0 +0100
+++ /var/tmp/diff_new_pack.daymAs/_new  2012-02-22 15:55:00.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-virtinst
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 %{!?python_sitelib: %define python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
 
 # This macro is used for the continuous automated builds. It just
@@ -33,17 +32,20 @@
 %endif
 
 Summary:Python modules and tools for creating virtual machines with 
libvirt
+License:GPL-2.0+
+Group:  System/Monitoring
 
 Name:   python-%{appname}
-Version:0.500.6
-Release:1
-Source0:
http://virt-manager.org/download/sources/%{appname}/%{appname}-%{version}.tar.gz
+Version:0.600.1
+Release:0
+Source0:%{appname}-%{version}.tar.bz2
+Patch10:virtinst-cdrom.diff
+Patch12:virtinst-storage-ocfs2.diff
+Patch13:virtinst-qed.diff
 
-License:GPLv2+
-Group:  System/Monitoring
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
-Url:http://virt-manager.et.redhat.com/download.html
+Url:http://virt-manager.org
 Provides:   virt-install
 Provides:   virt-clone
 Provides:   virt-image
@@ -70,6 +72,9 @@
 
 %prep
 %setup -q -n %{appname}-%{version}
+%patch10 -p1
+%patch12 -p1
+%patch13 -p1
 
 %build
 python setup.py build

++ virtinst-0.500.6.tar.gz - virtinst-0.600.1.tar.bz2 ++
/work/SRC/openSUSE:Factory/python-virtinst/virtinst-0.500.6.tar.gz 
/work/SRC/openSUSE:Factory/.python-virtinst.new/virtinst-0.600.1.tar.bz2 
differ: char 1, line 1

++ virtinst-cdrom.diff ++
Index: virtinst-0.600.1/virtinst/VirtualDisk.py
===
--- virtinst-0.600.1.orig/virtinst/VirtualDisk.py
+++ virtinst-0.600.1/virtinst/VirtualDisk.py
@@ -1735,7 +1735,7 @@ class VirtualDisk(VirtualDevice):
 if maxnode  (26 * 26 * 26):
 raise RuntimeError(maxnode value is too high)
 
-# Regular scanning
+# Start cdrom at 'c' and skip 'c' for non-cdrom
 for i in 

commit python-virtinst for openSUSE:Factory

2011-09-05 Thread h_root

Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory
checked in at Mon Sep 5 17:08:29 CEST 2011.




--- python-virtinst/python-virtinst.changes 2011-02-15 17:50:34.0 
+0100
+++ python-virtinst/python-virtinst.changes 2011-04-16 19:03:04.0 
+0200
@@ -1,0 +2,7 @@
+Sat Apr 16 19:03:44 CEST 2011 - bere...@b1-systems.de
+
+- push to version 0.500.6
+  - --graphics spice now enables spicevmc and qxl 
+  - New --disk parameter io=native|threads
+
+---

calling whatdependson for head-i586


Old:

  suse_fix_for_kvm.diff
  virtinst-0.500.4.tar.gz

New:

  virtinst-0.500.6.tar.gz



Other differences:
--
++ python-virtinst.spec ++
--- /var/tmp/diff_new_pack.2VAcXP/_old  2011-09-05 17:04:10.0 +0200
+++ /var/tmp/diff_new_pack.2VAcXP/_new  2011-09-05 17:04:10.0 +0200
@@ -35,10 +35,9 @@
 Summary:Python modules and tools for creating virtual machines with 
libvirt
 
 Name:   python-%{appname}
-Version:0.500.4
+Version:0.500.6
 Release:1
 Source0:
http://virt-manager.org/download/sources/%{appname}/%{appname}-%{version}.tar.gz
-Patch100:   suse_fix_for_kvm.diff
 
 License:GPLv2+
 Group:  System/Monitoring
@@ -71,7 +70,6 @@
 
 %prep
 %setup -q -n %{appname}-%{version}
-%patch100
 
 %build
 python setup.py build

++ virtinst-0.500.4.tar.gz - virtinst-0.500.6.tar.gz ++
 65124 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org