commit virt-manager for openSUSE:Factory

2020-11-06 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-11-06 23:45:41

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.11331 (New)


Package is "virt-manager"

Fri Nov  6 23:45:41 2020 rev:214 rq:846538 version:3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-10-29 09:22:50.894718933 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.11331/virt-manager.changes 
2020-11-06 23:46:40.695081627 +0100
@@ -1,0 +2,7 @@
+Fri Oct 30 14:03:50 MDT 2020 - carn...@suse.com
+
+- jsc#SLE-12902 virt-manager: Display information about nvram file
+  used instead of the path to the Nvram
+  virtman-add-tooltip-to-firmware.patch
+
+---

New:

  virtman-add-tooltip-to-firmware.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.Qkxbav/_old  2020-11-06 23:46:42.435078284 +0100
+++ /var/tmp/diff_new_pack.Qkxbav/_new  2020-11-06 23:46:42.435078284 +0100
@@ -42,6 +42,7 @@
 Patch76:virtinst-set-qemu-emulator.patch
 # Features or Enhancements
 Patch103:   virtman-load-stored-uris.patch
+Patch104:   virtman-add-tooltip-to-firmware.patch
 Patch120:   virtinst-default-xen-to-qcow2-format.patch
 Patch121:   virtinst-detect-oes-distros.patch
 Patch122:   virtinst-modify-gui-defaults.patch
@@ -166,6 +167,7 @@
 %patch76 -p1
 # Enhancements
 %patch103 -p1
+%patch104 -p1
 %patch120 -p1
 %patch121 -p1
 %patch122 -p1

++ virtman-add-tooltip-to-firmware.patch ++
References: 
When a particular firmware is selected, read the json file for a description.
Add a tooltip of the json description when the mouse move overs the selected 
firmware.

--- virt-manager-3.1.0/virtManager/details/details.py.orig  2020-10-30 
13:56:26.748245557 -0600
+++ virt-manager-3.1.0/virtManager/details/details.py   2020-10-30 
13:56:48.952246534 -0600
@@ -5,6 +5,9 @@
 # See the COPYING file in the top-level directory.
 
 import re
+import os
+import json
+import textwrap
 
 from gi.repository import Gtk
 
@@ -424,7 +427,7 @@ class vmmDetails(vmmGObjectUI):
 "on_overview_name_changed": _e(EDIT_NAME),
 "on_overview_title_changed": _e(EDIT_TITLE),
 "on_machine_type_changed": _e(EDIT_MACHTYPE),
-"on_overview_firmware_changed": _e(EDIT_FIRMWARE),
+"on_overview_firmware_changed": self._uefi_combobox_changed_cb,
 "on_overview_chipset_changed": _e(EDIT_MACHTYPE),
 
 "on_details_inspection_refresh_clicked": 
self._inspection_refresh_clicked_cb,
@@ -1125,6 +1128,49 @@ class vmmDetails(vmmGObjectUI):
 self.storage_browser.set_browse_reason(reason)
 self.storage_browser.show(self.topwin)
 
+def _uefi_combobox_changed_cb(self, src):
+def get_firmware_description(firmware_file):
+json_description = ""
+firmware_json_path = "/usr/share/qemu/firmware"
+if os.path.isdir(firmware_json_path):
+json_files = [f for f in os.listdir(firmware_json_path) if 
os.path.isfile(os.path.join(firmware_json_path, f))]
+for jf in json_files:
+full_path = firmware_json_path + '/' + jf
+if not full_path.endswith(".json"):
+continue
+try:
+if os.stat(full_path).st_size > 65536:
+continue
+except OSError:
+continue
+with open(full_path, 'r') as json_file:
+data = json_file.read()
+try:
+json_obj = json.loads(data)
+except Exception as e:
+continue
+if 'mapping' in json_obj and 'executable' in 
json_obj['mapping']:
+json_exec = 
str(json_obj['mapping']['executable']['filename'])
+if json_exec == firmware_file:
+json_description = str(json_obj['description'])
+wrapper = textwrap.TextWrapper(width=60)
+json_list = wrapper.wrap(text=json_description)
+json_description = "\n".join(json_list)
+break
+return json_description
+
+combo = self.widget("overview-firmware")
+tree_iter = combo.get_active_iter()
+if tree_iter is not None:
+model = combo.get_model()
+tooltip_text = ""
+firmware = 

commit virt-manager for openSUSE:Factory

2020-10-29 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-10-29 09:22:43

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.3463 (New)


Package is "virt-manager"

Thu Oct 29 09:22:43 2020 rev:213 rq:844628 version:3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-10-27 19:01:08.430839088 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.3463/virt-manager.changes  
2020-10-29 09:22:50.894718933 +0100
@@ -1,0 +2,7 @@
+Tue Oct 27 14:16:41 MDT 2020 - carn...@suse.com
+
+- bsc#1177620 - [xen] deployed WIN2K19 guest system could not find
+  a driver for network adapter
+  virtinst-set-default-nic.patch
+
+---



Other differences:
--
++ virtinst-set-default-nic.patch ++
--- /var/tmp/diff_new_pack.0Tdpiy/_old  2020-10-29 09:22:51.870719868 +0100
+++ /var/tmp/diff_new_pack.0Tdpiy/_new  2020-10-29 09:22:51.870719868 +0100
@@ -1,16 +1,17 @@
-References: bsc#1172356
+References: bsc#1172356, bsc#1177620
 Libvirt doesn't accept "Hypervisor default" as a model name
 
-Index: virt-manager-3.0.0/virtinst/devices/interface.py
+Index: virt-manager-3.1.0/virtinst/devices/interface.py
 ===
 virt-manager-3.0.0.orig/virtinst/devices/interface.py
-+++ virt-manager-3.0.0/virtinst/devices/interface.py
-@@ -284,6 +284,8 @@ class DeviceInterface(Device):
+--- virt-manager-3.1.0.orig/virtinst/devices/interface.py
 virt-manager-3.1.0/virtinst/devices/interface.py
+@@ -284,6 +284,9 @@ class DeviceInterface(Device):
  return "e1000e"
  if not guest.os.is_x86():
  return None
 +if guest.conn.is_xen() and guest.os.is_hvm():
-+return "netfront"
++# Let libvirt decide the default
++return None
  
  prefs = ["e1000", "rtl8139", "ne2k_pci", "pcnet"]
  supported_models = guest.osinfo.supported_netmodels()




commit virt-manager for openSUSE:Factory

2020-10-27 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-10-27 19:00:14

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.3463 (New)


Package is "virt-manager"

Tue Oct 27 19:00:14 2020 rev:212 rq:844154 version:3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-10-02 17:39:29.870817139 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.3463/virt-manager.changes  
2020-10-27 19:01:08.430839088 +0100
@@ -1,0 +2,16 @@
+Sun Oct 25 02:34:44 UTC 2020 - Bruce Rogers 
+
+- boo#1178141 - Accomodate qemu modularization with respect to
+  spice and spice related optional modules. If full spice support
+  is not detected due to missing qemu modules (v5.1 qemu and newer),
+  use vnc as the default install-time graphics type used
+  virtinst-graphics-add-check-for-qemu-modules-in-spice-graphic.patch
+
+---
+Fri Oct 23 13:25:38 MDT 2020 - carn...@suse.com
+
+- bsc#1177763 - Cannot install an existing virtual machine two
+  error messages with Virtual Machine Manager
+  virtman-append-usr-sbin-to-search-path.patch
+
+---

New:

  virtinst-graphics-add-check-for-qemu-modules-in-spice-graphic.patch
  virtman-append-usr-sbin-to-search-path.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.WpI1Yc/_old  2020-10-27 19:01:15.078843925 +0100
+++ /var/tmp/diff_new_pack.WpI1Yc/_new  2020-10-27 19:01:15.082843928 +0100
@@ -52,6 +52,7 @@
 Patch127:   virtinst-add-sle15-detection-support.patch
 Patch128:   virtinst-add-pvh-support.patch
 Patch129:   virtinst-media-detection.patch
+Patch130:   
virtinst-graphics-add-check-for-qemu-modules-in-spice-graphic.patch
 # Bug Fixes
 Patch151:   virtman-increase-setKeepAlive-count.patch
 Patch152:   virtman-allow-destroy-from-shutdown-menu-of-crashed-vm.patch
@@ -62,6 +63,7 @@
 Patch157:   virtman-fix-restore-vm-menu-selection.patch
 Patch158:   virtman-disallow-adding-floppy-disk.patch
 Patch159:   virtman-register-delete-event-for-details-dialog.patch
+Patch160:   virtman-append-usr-sbin-to-search-path.patch
 Patch170:   virtinst-xen-drive-type.patch
 Patch171:   virtinst-xenbus-disk-index-fix.patch
 Patch172:   virtinst-refresh_before_fetch_pool.patch
@@ -174,6 +176,7 @@
 %patch127 -p1
 %patch128 -p1
 %patch129 -p1
+%patch130 -p1
 # Bug Fixes
 %patch151 -p1
 %patch152 -p1
@@ -184,6 +187,7 @@
 %patch157 -p1
 %patch158 -p1
 %patch159 -p1
+%patch160 -p1
 %patch170 -p1
 %patch171 -p1
 %patch172 -p1

++ virtinst-graphics-add-check-for-qemu-modules-in-spice-graphic.patch 
++
>From 2919f40ac931dce5dedf326f84e83e8c04e1fabe Mon Sep 17 00:00:00 2001
From: Bruce Rogers 
Date: Sat, 24 Oct 2020 08:10:29 -0600
Subject: [PATCH] graphics: add check for qemu modules in spice graphics
 detection

For SLE and openSUSE qemu, starting with v5.1, spice and spice related
qemu modules have been split away from the main system emulator and
are packaged as Recommends, meaning that they may not be present.
Up to now virt-manager has assumed spice is available for x86 qemu, but
that is no longer the case. Unfortunately the standard libvirt feature
detection can't yet help us out here, so we leapfrog libvirt by doing
our own detection of whether the qemu modules needed to support the
default guest install using spice, usb redirection, and qxl video are
present.

Signed-off-by: Bruce Rogers 
---
 virtinst/devices/graphics.py | 9 +
 virtinst/support.py  | 1 +
 2 files changed, 10 insertions(+)

diff --git a/virtinst/devices/graphics.py b/virtinst/devices/graphics.py
index a514b455..f5083e68 100644
--- a/virtinst/devices/graphics.py
+++ b/virtinst/devices/graphics.py
@@ -135,6 +135,15 @@ class DeviceGraphics(Device):
 # Spice has issues on some host arches, like ppc, so allow it
 if self.conn.caps.host.cpu.arch not in ["i686", "x86_64"]:
 return False
+if self.conn.support.conn_spice_modular():
+if self.conn.caps.host.cpu.arch in ["x86_64"]:
+if not (os.path.exists("/usr/lib64/qemu/hw-usb-redirect.so") 
and
+os.path.exists("/usr/lib64/qemu/hw-display-qxl.so")):
+return False
+else:
+if not (os.path.exists("/usr/lib/qemu/hw-usb-redirect.so") and
+os.path.exists("/usr/lib/qemu/hw-display-qxl.so")):
+return False
 return True
 
 def _listen_need_port(self):
diff --git 

commit virt-manager for openSUSE:Factory

2020-10-02 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-10-02 17:38:45

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.4249 (New)


Package is "virt-manager"

Fri Oct  2 17:38:45 2020 rev:211 rq:839026 version:3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-09-29 19:02:53.489852795 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.4249/virt-manager.changes  
2020-10-02 17:39:29.870817139 +0200
@@ -1,0 +2,21 @@
+Wed Sep 30 17:07:44 MDT 2020 - carn...@suse.com
+
+- jsc#SLE-16582, Upgrade virt-manager >= 3.x
+  * Return to using qcow2 sparse by default with libvirt 5.0.0+
+  * Make VM window shortcuts less likely to conflict with guest
+usage
+  * Fix 3.0.0 regression with spice audio
+  * createvol: Add explicit option for qcow2 non-sparse
+  * Unconditionally add USB redirdev to new VMs when using SPICE
+  * Unconditionally add sound devices to new VMs
+  * Translation string improvements (Pino Toscano)
+- bsc#1176881 - No audio in virt-manager after upgrade
+  virt-manager-3.1.0.tar.bz2
+- Drop patches contained in new tarball
+  ba08f84b-addstorage-Return-to-using-qcow2-sparse-by-default.patch
+  a010c49b-cli-Fix-os-variant-help-introspection.patch
+  79ebcbcb-viewers-Fix-spice-audio.patch
+  e5a51f63-details-Change-Close-accelerator-to-ctrl+shift+w.patch
+  9c13d2f8-Remove-use-of-problematic-terminology.patch
+
+---

Old:

  79ebcbcb-viewers-Fix-spice-audio.patch
  9c13d2f8-Remove-use-of-problematic-terminology.patch
  a010c49b-cli-Fix-os-variant-help-introspection.patch
  ba08f84b-addstorage-Return-to-using-qcow2-sparse-by-default.patch
  e5a51f63-details-Change-Close-accelerator-to-ctrl+shift+w.patch
  virt-manager-3.0.0.tar.bz2

New:

  virt-manager-3.1.0.tar.bz2



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.nK7yJy/_old  2020-10-02 17:39:52.810830819 +0200
+++ /var/tmp/diff_new_pack.nK7yJy/_new  2020-10-02 17:39:52.814830821 +0200
@@ -21,7 +21,7 @@
 %global default_hvs"qemu,xen,lxc"
 
 Name:   virt-manager
-Version:3.0.0
+Version:3.1.0
 Release:0
 Summary:Virtual Machine Manager
 License:GPL-2.0-or-later
@@ -32,11 +32,6 @@
 Source2:virt-install.desktop
 Source3:virt-manager-supportconfig
 # Upstream Patches
-Patch1: 
ba08f84b-addstorage-Return-to-using-qcow2-sparse-by-default.patch
-Patch2: a010c49b-cli-Fix-os-variant-help-introspection.patch
-Patch3: 79ebcbcb-viewers-Fix-spice-audio.patch
-Patch4: e5a51f63-details-Change-Close-accelerator-to-ctrl+shift+w.patch
-Patch5: 9c13d2f8-Remove-use-of-problematic-terminology.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -159,11 +154,6 @@
 %prep
 %setup -q
 # Upstream Patches
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ virt-manager-3.0.0.tar.bz2 -> virt-manager-3.1.0.tar.bz2 ++
 246637 lines of diff (skipped)

++ virtinst-add-pvh-support.patch ++
--- /var/tmp/diff_new_pack.nK7yJy/_old  2020-10-02 17:39:54.298831706 +0200
+++ /var/tmp/diff_new_pack.nK7yJy/_new  2020-10-02 17:39:54.298831706 +0200
@@ -1,11 +1,11 @@
 References: fate#326698 - Add pvh support to virt-manager
 At this time support is disabled in this patch.
 
-Index: virt-manager-3.0.0/virtManager/createvm.py
+Index: virt-manager-3.1.0/virtManager/createvm.py
 ===
 virt-manager-3.0.0.orig/virtManager/createvm.py
-+++ virt-manager-3.0.0/virtManager/createvm.py
-@@ -837,6 +837,9 @@ class vmmCreateVM(vmmGObjectUI):
+--- virt-manager-3.1.0.orig/virtManager/createvm.py
 virt-manager-3.1.0/virtManager/createvm.py
+@@ -836,6 +836,9 @@ class vmmCreateVM(vmmGObjectUI):
  break
  if label is None:
  continue
@@ -15,10 +15,10 @@
  
  # Determine if this is the default given by guest_lookup
  if (gtype == self._capsinfo.os_type and
-Index: virt-manager-3.0.0/virtinst/domain/os.py
+Index: virt-manager-3.1.0/virtinst/domain/os.py
 ===
 virt-manager-3.0.0.orig/virtinst/domain/os.py
-+++ virt-manager-3.0.0/virtinst/domain/os.py
+--- virt-manager-3.1.0.orig/virtinst/domain/os.py
 virt-manager-3.1.0/virtinst/domain/os.py
 @@ -32,6 +32,8 @@ class DomainOs(XMLBuilder):
  return self.os_type == "hvm"
  def is_xenpv(self):

commit virt-manager for openSUSE:Factory

2020-09-29 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-09-29 19:02:38

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.4249 (New)


Package is "virt-manager"

Tue Sep 29 19:02:38 2020 rev:210 rq:838334 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-09-17 14:56:05.416211031 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.4249/virt-manager.changes  
2020-09-29 19:02:53.489852795 +0200
@@ -1,0 +2,10 @@
+Mon Sep 28 08:17:59 MDT 2020 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  ba08f84b-addstorage-Return-to-using-qcow2-sparse-by-default.patch
+  a010c49b-cli-Fix-os-variant-help-introspection.patch
+  79ebcbcb-viewers-Fix-spice-audio.patch
+  e5a51f63-details-Change-Close-accelerator-to-ctrl+shift+w.patch
+  9c13d2f8-Remove-use-of-problematic-terminology.patch
+
+---
@@ -4 +14 @@
-- Update to virt-manager 3.0.0 (fate#326786)
+- jsc#SLE-16582, Upgrade virt-manager >= 3.x

New:

  79ebcbcb-viewers-Fix-spice-audio.patch
  9c13d2f8-Remove-use-of-problematic-terminology.patch
  a010c49b-cli-Fix-os-variant-help-introspection.patch
  ba08f84b-addstorage-Return-to-using-qcow2-sparse-by-default.patch
  e5a51f63-details-Change-Close-accelerator-to-ctrl+shift+w.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.qv2EuE/_old  2020-09-29 19:02:54.529854058 +0200
+++ /var/tmp/diff_new_pack.qv2EuE/_new  2020-09-29 19:02:54.537854067 +0200
@@ -32,6 +32,11 @@
 Source2:virt-install.desktop
 Source3:virt-manager-supportconfig
 # Upstream Patches
+Patch1: 
ba08f84b-addstorage-Return-to-using-qcow2-sparse-by-default.patch
+Patch2: a010c49b-cli-Fix-os-variant-help-introspection.patch
+Patch3: 79ebcbcb-viewers-Fix-spice-audio.patch
+Patch4: e5a51f63-details-Change-Close-accelerator-to-ctrl+shift+w.patch
+Patch5: 9c13d2f8-Remove-use-of-problematic-terminology.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -154,6 +159,11 @@
 %prep
 %setup -q
 # Upstream Patches
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 79ebcbcb-viewers-Fix-spice-audio.patch ++
Subject: viewers: Fix spice audio
From: Cole Robinson crobi...@redhat.com Mon Sep 21 11:35:51 2020 -0400
Date: Mon Sep 21 11:35:51 2020 -0400:
Git: 79ebcbcb71d77548443b7943d65bacb216c93769

Commit 1689ebb25 removed what I thought was an unused audio
handle in the spice viewer code, but apparently it does
something. Strangely some VMs work fine (linux, windows 7),
but my windows 10 VMs need this to actually get audio.
No clue what that's all about

https://bugzilla.redhat.com/show_bug.cgi?id=1881080

Signed-off-by: Cole Robinson 

diff --git a/virtManager/details/viewers.py b/virtManager/details/viewers.py
index 46ff1431..da9f906d 100644
--- a/virtManager/details/viewers.py
+++ b/virtManager/details/viewers.py
@@ -476,6 +476,7 @@ class SpiceViewer(Viewer):
 Viewer.__init__(self, *args, **kwargs)
 self._spice_session = None
 self._display = None
+self._audio = None
 self._main_channel = None
 self._display_channel = None
 self._usbdev_manager = None
@@ -618,6 +619,14 @@ class SpiceViewer(Viewer):
 self._init_widget()
 self.emit("connected")
 
+elif (type(channel) in [SpiceClientGLib.PlaybackChannel,
+SpiceClientGLib.RecordChannel] and
+not self._audio):
+# It's unclear why we need this audio handle, but it
+# does matter:
+# https://bugzilla.redhat.com/show_bug.cgi?id=1881080
+self._audio = SpiceClientGLib.Audio.get(self._spice_session, None)
+
 def _agent_connected_cb(self, src, val):
 self.emit("agent-connected")  # pragma: no cover
 
@@ -631,6 +640,7 @@ class SpiceViewer(Viewer):
 _SIGS.disconnect_obj_signals(self._spice_session)
 self._spice_session.disconnect()
 self._spice_session = None
+self._audio = None
 if self._display:
 self._display.destroy()
 self._display = None
++ 9c13d2f8-Remove-use-of-problematic-terminology.patch ++
Subject: Remove use of problematic terminology
From: Cole Robinson crobi...@redhat.com Wed Sep 23 14:33:17 2020 -0400
Date: Wed Sep 23 14:33:17 2020 -0400:
Git: 9c13d2f8788414f1ab5b0300ce82b5d9ce277880

Following kernel recommendation here:

commit virt-manager for openSUSE:Factory

2020-09-17 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-09-17 14:50:48

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.4249 (New)


Package is "virt-manager"

Thu Sep 17 14:50:48 2020 rev:209 rq:834972 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-09-12 00:08:02.108957075 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.4249/virt-manager.changes  
2020-09-17 14:56:05.416211031 +0200
@@ -1,0 +2,74 @@
+Wed Sep 16 05:24:21 MDT 2020 - carn...@suse.com
+
+- Update to virt-manager 3.0.0 (fate#326786)
+  virt-manager-3.0.0.tar.bz2
+  * virt-install –cloud-init support (Athina Plaskasoviti, Cole
+Robinson)
+  * The virt-convert tool has been removed. Please use virt-v2v
+instead
+  * A handful of UI XML configuration options have been removed.
+The XML editor can be used instead. For a larger discussion see
+this thread: https://www.redhat.com/archives/virt-tools-list/
+2019-June/msg00117.html
+  * The ‘New VM’ UI now has a ‘Manual Install’ option which creates
+a VM without any required install media
+  * In the ‘New VM’ UI, the network/pxe install option has been
+removed. If you need network boot, choose ‘Manual Install’ and
+set the boot device after initial VM creation
+  * ‘Clone VM’ UI has been reworked and simplified
+  * ‘Migrate VM’ UI now has an XML editor for the destination VM
+  * Global and per-vm option to disable graphical console
+autoconnect. This makes it easier to use virt-manager alongside
+another client like virt-viewer
+  * virt-manager: set guest time after VM restore (Michael Weiser)
+  * virt-manager: option to delete storage when removing disk
+device (Lily Nie)
+  * virt-manager: show warnings if snapshot operation is unsafe
+(Michael Weiser)
+  * Unattended install improvements (Fabiano Fidêncio)
+  * cli: new –xml XPATH=VAL option for making direct XML changes
+  * virt-install: new –reinstall=DOMAIN option
+  * virt-install: new –autoconsole text|graphical|none option
+  * virt-install: new –os-variant detect=on,require=on suboptions
+  * cli: –clock, –keywrap, –blkiotune, –cputune additions (Athina
+Plaskasoviti)
+  * cli: add –features kvm.hint-dedicated.state= (Menno Lageman)
+  * cli:–iommu option (Menno Lageman)
+  * cli: Add –graphics websocket= support (Petr Benes)
+  * cli: Add –disk type=nvme source.* suboptions
+  * cli: Fill in all –filesystem suboptions
+  * Translation string improvements (Pino Toscano)
+  * Convert from .pod to .rst for man pages
+  * Switch to pytest as our test runner
+  * Massively improved unittest and uitest code coverage
+  * Now using github issues as our bug tracker
+- Drop patches contained in new tarball
+  
3c6e8537-guest-fix-warning-message-when-machine-type-is-changed-for-secure-boot.patch
+  0c223ab2-guest-Dont-set-default-uefi-if-firmware-is-set.patch
+  414ffa5e-virt-install-Use-minutes-instead-of-seconds-on-get_time_string.patch
+  53245827-urlfetcher-Force-a-flush-after-writing-to-a-file.patch
+  3009888a-urlfetcher-Dont-override-fullurl-when-its-explicitly-set.patch
+  9465da41-urlfetcher-Deal-with-file-in-_LocalURLFetcher.patch
+  651e5b6d-devices-video-Simplify-model-hvm-check.patch
+  1547e16d-domcapabilities-Get-video-devices.patch
+  2e20b128-domcapabilities-Add-supports_video_bochs.patch
+  d9736db9-addhardware-Add-bochs-display-to-the-video-list.patch
+  8f4c53ea-video-Prefer-bochs-when-its-supported..patch
+  ae19d6d6-fix-resizing-of-spice-clients-with-guest-resizing-enabled.patch
+  51d84c54-connection-Avoid-repeated-default-pool-creation-attempts.patch
+  d934d6f2-domcaps-Fix-check-for-uncached-security-features.patch
+  29f9f5f2-virt-xml-fix-defined_xml_is_unchanged.patch
+  
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch
+  5573aeb4-createnet-Fix-XML-editor-error-when-dhcp-fields-are-empty.patch
+  e8bf16b9-details-fix-detection-of-firmware-auto-selection.patch
+  7e3fb3f2-graphics-Default-to-vga-instead-of-qxl-for-non-spice.patch
+- Drop deprecated patches
+  virtman-fix-env-script-interpreter.patch
+  virtinst-osdict-get_supported.patch
+  virtconv-python2-to-python3-conversion.patch
+  virtinst-python2-to-python3-conversion.patch
+  virtman-python2-to-python3-conversion.patch
+  virttests-python2-to-python3-conversion.patch
+  0002-virtinst-python3-avoid-comparison-of-None-and-int.patch
+
+---

Old:

  0002-virtinst-python3-avoid-comparison-of-None-and-int.patch
  0c223ab2-guest-Dont-set-default-uefi-if-firmware-is-set.patch
  1547e16d-domcapabilities-Get-video-devices.patch
  

commit virt-manager for openSUSE:Factory

2020-09-11 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-09-12 00:07:48

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.4249 (New)


Package is "virt-manager"

Sat Sep 12 00:07:48 2020 rev:208 rq:833580 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-08-06 10:39:38.466045539 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.4249/virt-manager.changes  
2020-09-12 00:08:02.108957075 +0200
@@ -1,0 +2,18 @@
+Thu Sep  3 13:59:39 MDT 2020 - carn...@suse.com
+
+- bsc#1176080 - selecting one UEFI firmware in install wizard
+  resets UI to BIOS
+  e8bf16b9-details-fix-detection-of-firmware-auto-selection.patch
+- Upstream bug fix (bsc#1027942)
+  5573aeb4-createnet-Fix-XML-editor-error-when-dhcp-fields-are-empty.patch
+  7e3fb3f2-graphics-Default-to-vga-instead-of-qxl-for-non-spice.patch
+
+---
+Wed Sep  2 11:42:02 MDT 2020 - carn...@suse.com
+
+- jsc#SLE-11773, Dev: virt-manager: AppIndicator3
+  virt-manager.spec
+- jsc#SLE-15926 - Dev: XEN: drop netware support
+  Drop virtman-keycombo.patch
+
+---

Old:

  virtman-keycombo.patch

New:

  5573aeb4-createnet-Fix-XML-editor-error-when-dhcp-fields-are-empty.patch
  7e3fb3f2-graphics-Default-to-vga-instead-of-qxl-for-non-spice.patch
  e8bf16b9-details-fix-detection-of-firmware-auto-selection.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.u0Qgaf/_old  2020-09-12 00:08:05.544960363 +0200
+++ /var/tmp/diff_new_pack.u0Qgaf/_new  2020-09-12 00:08:05.548960367 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,7 +26,7 @@
 Summary:Virtual Machine Manager
 License:GPL-2.0-or-later
 Group:  System/Monitoring
-Url:http://virt-manager.org/
+URL:http://virt-manager.org/
 Source0:%{name}-%{version}.tar.bz2
 Source1:virt-install.rb
 Source2:virt-install.desktop
@@ -48,16 +48,18 @@
 Patch14:d934d6f2-domcaps-Fix-check-for-uncached-security-features.patch
 Patch15:29f9f5f2-virt-xml-fix-defined_xml_is_unchanged.patch
 Patch16:
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch
+Patch17:
5573aeb4-createnet-Fix-XML-editor-error-when-dhcp-fields-are-empty.patch
+Patch18:e8bf16b9-details-fix-detection-of-firmware-auto-selection.patch
+Patch19:
7e3fb3f2-graphics-Default-to-vga-instead-of-qxl-for-non-spice.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
-Patch72:virtman-keycombo.patch
-Patch73:virtman-show-suse-install-repos.patch
-Patch74:virtman-dont-allow-grub.xen-to-be-deleted.patch
-Patch75:virtinst-pvgrub2-bootloader.patch
-Patch76:virtinst-change-location-for-grub_xen.patch
-Patch77:virtman-fix-env-script-interpreter.patch
-Patch78:virtinst-set-qemu-emulator.patch
+Patch72:virtman-show-suse-install-repos.patch
+Patch73:virtman-dont-allow-grub.xen-to-be-deleted.patch
+Patch74:virtinst-pvgrub2-bootloader.patch
+Patch75:virtinst-change-location-for-grub_xen.patch
+Patch76:virtman-fix-env-script-interpreter.patch
+Patch77:virtinst-set-qemu-emulator.patch
 # Features or Enhancements
 Patch103:   virtman-load-stored-uris.patch
 Patch120:   virtinst-default-xen-to-qcow2-format.patch
@@ -147,13 +149,10 @@
 Requires:   python3-libvirt-python >= 0.7.0
 Requires:   python3-libxml2-python
 Requires:   python3-pycurl
+Requires:   typelib(AppIndicator3)
 Requires:   typelib(LibvirtGLib)
 Suggests:   python3-virt-bootstrap
 BuildRequires:  gobject-introspection
-# No AppIndicator package on SLE
-%if 0%{?is_opensuse} == 0
-%define __requires_exclude typelib\\(AppIndicator3\\)
-%endif
 
 %description common
 Common files used by the different virt-manager interfaces, as well as
@@ -198,6 +197,9 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 

commit virt-manager for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-08-06 10:39:23

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.3399 (New)


Package is "virt-manager"

Thu Aug  6 10:39:23 2020 rev:207 rq:824560 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-03-24 22:39:21.597294040 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.3399/virt-manager.changes  
2020-08-06 10:39:38.466045539 +0200
@@ -1,0 +2,20 @@
+Wed Jul 29 13:22:53 MDT 2020 - carn...@suse.com
+
+- bsc#1174176 - IDE: "Only 2 disks for bus 'NONE' are supported"
+  virtman-disallow-adding-floppy-disk.patch
+
+---
+Thu Jul 23 17:20:03 MDT 2020 - carn...@suse.com
+
+- bsc#1172356 - Not able to hot-plug NIC via virt-manager, asks to
+  attach on next reboot while it should be live attached
+  virtinst-set-default-nic.patch
+
+---
+Mon Jul 13 14:43:35 MDT 2020 - carn...@suse.com
+
+- bsc#1169708 - Virtualization/virt-manager: Bug yast2 virt-install
+  internal error
+  virt-install.rb
+
+---

New:

  virtinst-set-default-nic.patch
  virtman-disallow-adding-floppy-disk.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.vpgylV/_old  2020-08-06 10:39:50.166051399 +0200
+++ /var/tmp/diff_new_pack.vpgylV/_new  2020-08-06 10:39:50.170051400 +0200
@@ -78,6 +78,7 @@
 Patch155:   virtman-dont-specify-vte-version.patch
 Patch156:   virtman-dont-specify-gtksource-version.patch
 Patch157:   virtman-fix-restore-vm-menu-selection.patch
+Patch158:   virtman-disallow-adding-floppy-disk.patch
 Patch160:   virtinst-xen-drive-type.patch
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
@@ -86,6 +87,7 @@
 Patch165:   virtinst-keep-install-iso-attached.patch
 Patch166:   virtinst-osdict-get_supported.patch
 Patch167:   virtinst-dont-use-special-copy-cpu-features.patch
+Patch168:   virtinst-set-default-nic.patch
 # Python2 to Python3 patches
 Patch200:   virtconv-python2-to-python3-conversion.patch
 Patch201:   virtinst-python2-to-python3-conversion.patch
@@ -226,6 +228,7 @@
 %patch155 -p1
 %patch156 -p1
 %patch157 -p1
+%patch158 -p1
 %patch160 -p1
 %patch161 -p1
 %patch162 -p1
@@ -234,6 +237,7 @@
 %patch165 -p1
 %patch166 -p1
 %patch167 -p1
+%patch168 -p1
 # Python2 to Python3 patches
 %patch200 -p1
 %patch201 -p1

++ virt-install.rb ++
--- /var/tmp/diff_new_pack.vpgylV/_old  2020-08-06 10:39:50.310051471 +0200
+++ /var/tmp/diff_new_pack.vpgylV/_new  2020-08-06 10:39:50.310051471 +0200
@@ -48,7 +48,7 @@
 status = UI.RunInTerminal("/usr/bin/vm-install")
   else
 Builtins.y2milestone("Launching virt-manager to run virt-install in 
GUI mode.")
-if Arch.is_xen == false
+if Arch.is_xen0 == false
   details = Convert.to_map(SCR.Execute(path(".target.bash_output"), 
"/usr/bin/virt-manager --connect=qemu:///system --show-domain-creator"))
 else
   details = Convert.to_map(SCR.Execute(path(".target.bash_output"), 
"/usr/bin/virt-manager --connect=xen:/// --show-domain-creator"))

++ virtinst-set-default-nic.patch ++
References: bsc#1172356
Libvirt doesn't accept "Hypervisor default" as a model name

Index: virt-manager-2.2.1/virtinst/devices/interface.py
===
--- virt-manager-2.2.1.orig/virtinst/devices/interface.py
+++ virt-manager-2.2.1/virtinst/devices/interface.py
@@ -256,6 +256,8 @@ class DeviceInterface(Device):
 return "e1000e"
 if not guest.os.is_x86():
 return None
+if guest.conn.is_xen() and guest.os.is_hvm():
+return "netfront"
 
 prefs = ["e1000", "rtl8139", "ne2k_pci", "pcnet"]
 supported_models = guest.osinfo.supported_netmodels()
++ virtman-disallow-adding-floppy-disk.patch ++
References: bsc#1174176, bsc#1174139
Current libxl does not support adding a floppy. Code is included
in this patch anyways to correctly set up a bus if a floppy were
added.


Index: virt-manager-2.2.1/virtManager/addhardware.py
===
--- virt-manager-2.2.1.orig/virtManager/addhardware.py
+++ virt-manager-2.2.1/virtManager/addhardware.py
@@ -528,6 +528,9 @@ class vmmAddHardware(vmmGObjectUI):
 buses = domcaps.devices.disk.get_enum("bus").get_values()
 

commit virt-manager for openSUSE:Factory

2020-03-24 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-03-24 22:38:01

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.3160 (New)


Package is "virt-manager"

Tue Mar 24 22:38:01 2020 rev:206 rq:787931 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2020-03-11 18:54:32.987653511 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.3160/virt-manager.changes  
2020-03-24 22:39:21.597294040 +0100
@@ -1,0 +2,14 @@
+Tue Mar 24 14:00:39 MDT 2020 - carn...@suse.com
+
+- bsc#1167569 - SLES 15 SP2 RC1 - virt-install: cache=none is
+  ignored (kvm)
+  virtinst-set-cache-mode-unsafe-for-install.patch
+
+---
+Fri Mar 20 15:03:40 MDT 2020 - carn...@suse.com
+
+- bsc#1167202 - SLES 15 SP2 Snapshot8 - virt-install misses module
+  gi
+  virt-manager.spec
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.SZxMPI/_old  2020-03-24 22:39:22.537294497 +0100
+++ /var/tmp/diff_new_pack.SZxMPI/_new  2020-03-24 22:39:22.537294497 +0100
@@ -140,6 +140,7 @@
 # This version not strictly required: virt-manager should work with older,
 # however varying amounts of functionality will not be enabled.
 Requires:   libosinfo >= 0.2.10
+Requires:   python3-gobject
 Requires:   python3-ipaddr
 Requires:   python3-libvirt-python >= 0.7.0
 Requires:   python3-libxml2-python

++ virtinst-set-cache-mode-unsafe-for-install.patch ++
--- /var/tmp/diff_new_pack.SZxMPI/_old  2020-03-24 22:39:22.725294588 +0100
+++ /var/tmp/diff_new_pack.SZxMPI/_new  2020-03-24 22:39:22.725294588 +0100
@@ -14,7 +14,7 @@
 +if guest.devices.disk:
 +target_disk = guest.devices.disk[0]
 +saved_cache = target_disk.driver_cache
-+if target_disk.type != DeviceDisk.TYPE_BLOCK:
++if target_disk.type != DeviceDisk.TYPE_BLOCK and 
target_disk.driver_io != "native":
 +target_disk.driver_cache = DeviceDisk.CACHE_MODE_UNSAFE
 +
  data = self._prepare_get_install_xml(guest)




commit virt-manager for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2020-03-11 18:51:05

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.3160 (New)


Package is "virt-manager"

Wed Mar 11 18:51:05 2020 rev:205 rq:783539 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-12-10 22:46:59.713707347 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.3160/virt-manager.changes  
2020-03-11 18:54:32.987653511 +0100
@@ -1,0 +2,6 @@
+Mon Mar  9 13:46:48 MDT 2020 - carn...@suse.com
+
+- Upstream bug fix (bsc#1027942)
+  
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch
+
+---

New:

  
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.s7mEco/_old  2020-03-11 18:54:33.943653939 +0100
+++ /var/tmp/diff_new_pack.s7mEco/_new  2020-03-11 18:54:33.943653939 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -47,6 +47,7 @@
 Patch13:
51d84c54-connection-Avoid-repeated-default-pool-creation-attempts.patch
 Patch14:d934d6f2-domcaps-Fix-check-for-uncached-security-features.patch
 Patch15:29f9f5f2-virt-xml-fix-defined_xml_is_unchanged.patch
+Patch16:
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -193,6 +194,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 
15a9502b-Fix-showing-the-firmware-type-in-case-of-firmware-auto-selection.patch 
++
Subject: details: Fix showing the firmware type in case of firmware auto 
selection
From: Lin Ma l...@suse.com Wed Jan 15 10:34:12 2020 +0800
Date: Wed Jan 15 10:21:46 2020 -0500:
Git: 15a9502b7b7a263c4d66ff2b3f31c209f58fe0b4

For a shutoff VM, If user select uefi firmware auto selection, e.g.

...


Its firmware information is set to 'BIOS' in details, This is incorrect.
This fixes it.

Reviewed-by: Cole Robinson 
Signed-off-by: Lin Ma 

Index: virt-manager-2.2.1/virtManager/details/details.py
===
--- virt-manager-2.2.1.orig/virtManager/details/details.py
+++ virt-manager-2.2.1/virtManager/details/details.py
@@ -2017,8 +2017,11 @@ class vmmDetails(vmmGObjectUI):
 
 # Firmware
 domcaps = self.vm.get_domain_capabilities()
-firmware = domcaps.label_for_firmware_path(
-self.vm.get_xmlobj().os.loader)
+if self.vm.get_xmlobj().is_uefi():
+firmware = 'UEFI'
+else:
+firmware = domcaps.label_for_firmware_path(
+self.vm.get_xmlobj().os.loader)
 if self.widget("overview-firmware").is_visible():
 uiutil.set_list_selection(
 self.widget("overview-firmware"), firmware)



commit virt-manager for openSUSE:Factory

2019-12-10 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-12-10 22:46:41

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.4691 (New)


Package is "virt-manager"

Tue Dec 10 22:46:41 2019 rev:204 rq:755653 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-11-28 10:17:11.659639035 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.4691/virt-manager.changes  
2019-12-10 22:46:59.713707347 +0100
@@ -1,0 +2,20 @@
+Mon Dec  2 14:03:00 MST 2019 - carn...@suse.com
+
+- bsc#1157144 - [s390][virt-manager] There was the black screen
+  from guest graphical console during guest installation
+  virtinst-s390x-disable-graphics.patch
+- bsc#1158227 - virt-manager: Fix duplicate entries in the
+  operating system URL drop down menu
+  virtman-show-suse-install-repos.patch
+- Upstream bug fix (bsc#1027942)
+  29f9f5f2-virt-xml-fix-defined_xml_is_unchanged.patch
+- Drop virtman-default-to-xen-pv.patch
+- Refreshed
+  virtinst-add-pvh-support.patch
+  virtinst-modify-gui-defaults.patch
+  virt-manager.changes
+  virt-manager.spec
+  virtman-allow-creating-i686-vm.patch
+  virtman-python2-to-python3-conversion.patch
+
+---

Old:

  virtman-default-to-xen-pv.patch

New:

  29f9f5f2-virt-xml-fix-defined_xml_is_unchanged.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.Z8LzDW/_old  2019-12-10 22:47:02.757706218 +0100
+++ /var/tmp/diff_new_pack.Z8LzDW/_new  2019-12-10 22:47:02.761706217 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -46,6 +46,7 @@
 Patch12:
ae19d6d6-fix-resizing-of-spice-clients-with-guest-resizing-enabled.patch
 Patch13:
51d84c54-connection-Avoid-repeated-default-pool-creation-attempts.patch
 Patch14:d934d6f2-domcaps-Fix-check-for-uncached-security-features.patch
+Patch15:29f9f5f2-virt-xml-fix-defined_xml_is_unchanged.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -57,7 +58,6 @@
 Patch77:virtman-fix-env-script-interpreter.patch
 Patch78:virtinst-set-qemu-emulator.patch
 # Features or Enhancements
-Patch102:   virtman-default-to-xen-pv.patch
 Patch103:   virtman-load-stored-uris.patch
 Patch120:   virtinst-default-xen-to-qcow2-format.patch
 Patch121:   virtinst-detect-oes-distros.patch
@@ -192,6 +192,7 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -203,7 +204,6 @@
 %patch77 -p1
 %patch78 -p1
 # Enhancements
-%patch102 -p1
 %patch103 -p1
 %patch120 -p1
 %patch121 -p1

++ 29f9f5f2-virt-xml-fix-defined_xml_is_unchanged.patch ++
Subject: virt-xml: fix defined_xml_is_unchanged
From: Pavel Hrdina phrd...@redhat.com Tue Dec 3 13:02:21 2019 +0100
Date: Tue Dec 3 13:04:37 2019 +0100:
Git: 29f9f5f2d7f47fe6ccf2a9e6c6209db5a8f3

Commit <53f075ab76e1c372474ae0d88f202e487d9f213f> added a warning if the
VM XML is not changed after removing default devices but the code was
incorrect.  We have to compare strings instead of string vs Guest object
and also the condition was inverted.

Signed-off-by: Pavel Hrdina 

diff --git a/virt-xml b/virt-xml
index 71445c9f..7b0174c9 100755
--- a/virt-xml
+++ b/virt-xml
@@ -105,8 +105,8 @@ def get_domain_and_guest(conn, domstr):
 
 def defined_xml_is_unchanged(conn, domain, original_xml):
 rawxml = get_xmldesc(domain, inactive=True)
-new_xml = virtinst.Guest(conn, parsexml=rawxml)
-return new_xml != original_xml
+new_xml = virtinst.Guest(conn, parsexml=rawxml).get_xml()
+return new_xml == original_xml
 
 
 
++ virtinst-add-pvh-support.patch ++
--- /var/tmp/diff_new_pack.Z8LzDW/_old  2019-12-10 22:47:02.949706147 +0100
+++ /var/tmp/diff_new_pack.Z8LzDW/_new  2019-12-10 22:47:02.949706147 +0100
@@ -5,7 +5,7 @@
 ===
 --- virt-manager-2.2.1.orig/virtManager/createvm.py
 +++ virt-manager-2.2.1/virtManager/createvm.py
-@@ -796,6 +796,9 @@ class vmmCreateVM(vmmGObjectUI):
+@@ -792,6 +792,9 @@ class vmmCreateVM(vmmGObjectUI):
  for guest in guests:
  if not guest.domains:
  continue

++ virtinst-modify-gui-defaults.patch ++
--- /var/tmp/diff_new_pack.Z8LzDW/_old  2019-12-10 22:47:03.177706063 +0100
+++ 

commit virt-manager for openSUSE:Factory

2019-11-28 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-11-28 10:17:09

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.26869 (New)


Package is "virt-manager"

Thu Nov 28 10:17:09 2019 rev:203 rq:751466 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-11-24 00:39:35.491275666 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.26869/virt-manager.changes 
2019-11-28 10:17:11.659639035 +0100
@@ -1,0 +2,9 @@
+Wed Nov 27 14:53:06 MST 2019 - carn...@suse.com
+
+- bsc#1156964 - import a exist disk for creating PV guest failed
+  virtinst-pvgrub2-bootloader.patch
+- Refreshed patches
+  virtinst-change-location-for-grub_xen.patch
+  virtinst-set-cache-mode-unsafe-for-install.patch
+
+---



Other differences:
--
++ virtinst-change-location-for-grub_xen.patch ++
--- /var/tmp/diff_new_pack.BxHxqC/_old  2019-11-28 10:17:13.107639050 +0100
+++ /var/tmp/diff_new_pack.BxHxqC/_new  2019-11-28 10:17:13.111639050 +0100
@@ -4,7 +4,7 @@
 ===
 --- virt-manager-2.2.1.orig/virtinst/install/installer.py
 +++ virt-manager-2.2.1/virtinst/install/installer.py
-@@ -445,7 +445,10 @@ class Installer(object):
+@@ -446,7 +446,10 @@ class Installer(object):
  guest.bootloader = "pygrub"
  else:
  guest.bootloader = None

++ virtinst-pvgrub2-bootloader.patch ++
--- /var/tmp/diff_new_pack.BxHxqC/_old  2019-11-28 10:17:13.163639051 +0100
+++ /var/tmp/diff_new_pack.BxHxqC/_new  2019-11-28 10:17:13.163639051 +0100
@@ -6,7 +6,17 @@
 ===
 --- virt-manager-2.2.1.orig/virtinst/install/installer.py
 +++ virt-manager-2.2.1/virtinst/install/installer.py
-@@ -436,6 +436,20 @@ class Installer(object):
+@@ -167,7 +167,8 @@ class Installer(object):
+ 
+ def _alter_treemedia_bootconfig(self, guest):
+ if not self._treemedia:
+-return
++if not self._treemedia_bootconfig or "grub.xen" not in 
self._treemedia_bootconfig[0]:
++return
+ 
+ kernel, initrd, kernel_args = self._treemedia_bootconfig
+ if kernel:
+@@ -436,6 +437,20 @@ class Installer(object):
  install_xml = None
  if self.has_install_phase():
  install_xml = self._get_install_xml(guest, meter)

++ virtinst-set-cache-mode-unsafe-for-install.patch ++
--- /var/tmp/diff_new_pack.BxHxqC/_old  2019-11-28 10:17:13.187639051 +0100
+++ /var/tmp/diff_new_pack.BxHxqC/_new  2019-11-28 10:17:13.187639051 +0100
@@ -1,10 +1,10 @@
 Set cache mode for target installation disk to unsafe for better
 performance.
-Index: virt-manager-2.2.0/virtinst/install/installer.py
+Index: virt-manager-2.2.1/virtinst/install/installer.py
 ===
 virt-manager-2.2.0.orig/virtinst/install/installer.py
-+++ virt-manager-2.2.0/virtinst/install/installer.py
-@@ -421,11 +421,22 @@ class Installer(object):
+--- virt-manager-2.2.1.orig/virtinst/install/installer.py
 virt-manager-2.2.1/virtinst/install/installer.py
+@@ -422,11 +422,22 @@ class Installer(object):
  guest.memory) = data
  
  def _get_install_xml(self, guest, meter):




commit virt-manager for openSUSE:Factory

2019-11-23 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-11-24 00:39:34

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.26869 (New)


Package is "virt-manager"

Sun Nov 24 00:39:34 2019 rev:202 rq:750393 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-11-15 00:02:03.856336712 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.26869/virt-manager.changes 
2019-11-24 00:39:35.491275666 +0100
@@ -1,0 +2,10 @@
+Fri Nov 22 13:50:11 MST 2019 - carn...@suse.com
+
+- bsc#1157097 - PV guest on_reboot event be set to 'destroy' by
+  default
+  virtinst-pvgrub2-bootloader.patch
+- Rebased patches
+  virtinst-change-location-for-grub_xen.patch
+  virtman-increase-setKeepAlive-count.patch
+
+---



Other differences:
--
++ virtinst-change-location-for-grub_xen.patch ++
--- /var/tmp/diff_new_pack.h3UL7F/_old  2019-11-24 00:39:36.971275749 +0100
+++ /var/tmp/diff_new_pack.h3UL7F/_new  2019-11-24 00:39:36.987275750 +0100
@@ -14,8 +14,8 @@
 +else:
 +self._treemedia_bootconfig = 
("/usr/lib/grub2/x86_64-xen/grub.xen", "", "")
  log.debug("Using grub.xen to boot guest")
+ on_reboot_value = guest.on_reboot
  self._alter_bootconfig(guest)
- final_xml = guest.get_xml()
 Index: virt-manager-2.2.1/virtManager/delete.py
 ===
 --- virt-manager-2.2.1.orig/virtManager/delete.py

++ virtinst-pvgrub2-bootloader.patch ++
--- /var/tmp/diff_new_pack.h3UL7F/_old  2019-11-24 00:39:37.339275770 +0100
+++ /var/tmp/diff_new_pack.h3UL7F/_new  2019-11-24 00:39:37.355275771 +0100
@@ -6,7 +6,7 @@
 ===
 --- virt-manager-2.2.1.orig/virtinst/install/installer.py
 +++ virt-manager-2.2.1/virtinst/install/installer.py
-@@ -436,6 +436,18 @@ class Installer(object):
+@@ -436,6 +436,20 @@ class Installer(object):
  install_xml = None
  if self.has_install_phase():
  install_xml = self._get_install_xml(guest, meter)
@@ -21,7 +21,9 @@
 +guest.bootloader = None
 +self._treemedia_bootconfig = 
("/usr/lib/grub2/x86_64-xen/grub.xen", "", "")
 +log.debug("Using grub.xen to boot guest")
++on_reboot_value = guest.on_reboot
 +self._alter_bootconfig(guest)
++guest.on_reboot = on_reboot_value
  final_xml = guest.get_xml()
  
  log.debug("Generated install XML: %s",

++ virtman-increase-setKeepAlive-count.patch ++
--- /var/tmp/diff_new_pack.h3UL7F/_old  2019-11-24 00:39:38.219275821 +0100
+++ /var/tmp/diff_new_pack.h3UL7F/_new  2019-11-24 00:39:38.243275822 +0100
@@ -6,7 +6,7 @@
 ===
 --- virt-manager-2.2.1.orig/virtManager/connection.py
 +++ virt-manager-2.2.1/virtManager/connection.py
-@@ -1002,7 +1002,7 @@ class vmmConnection(vmmGObject):
+@@ -995,7 +995,7 @@ class vmmConnection(vmmGObject):
  self._add_conn_events()
  
  try:




commit virt-manager for openSUSE:Factory

2019-11-14 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-11-15 00:02:02

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.26869 (New)


Package is "virt-manager"

Fri Nov 15 00:02:02 2019 rev:201 rq:748497 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-10-30 14:43:17.513893521 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.26869/virt-manager.changes 
2019-11-15 00:02:03.856336712 +0100
@@ -1,0 +2,10 @@
+Tue Nov 12 10:17:56 MST 2019 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  1547e16d-domcapabilities-Get-video-devices.patch
+  2e20b128-domcapabilities-Add-supports_video_bochs.patch
+  ae19d6d6-fix-resizing-of-spice-clients-with-guest-resizing-enabled.patch
+  51d84c54-connection-Avoid-repeated-default-pool-creation-attempts.patch
+  d934d6f2-domcaps-Fix-check-for-uncached-security-features.patch
+
+---

New:

  1547e16d-domcapabilities-Get-video-devices.patch
  2e20b128-domcapabilities-Add-supports_video_bochs.patch
  51d84c54-connection-Avoid-repeated-default-pool-creation-attempts.patch
  ae19d6d6-fix-resizing-of-spice-clients-with-guest-resizing-enabled.patch
  d934d6f2-domcaps-Fix-check-for-uncached-security-features.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.hYQsSr/_old  2019-11-15 00:02:06.136335899 +0100
+++ /var/tmp/diff_new_pack.hYQsSr/_new  2019-11-15 00:02:06.140335898 +0100
@@ -39,8 +39,13 @@
 Patch5: 
3009888a-urlfetcher-Dont-override-fullurl-when-its-explicitly-set.patch
 Patch6: 9465da41-urlfetcher-Deal-with-file-in-_LocalURLFetcher.patch
 Patch7: 651e5b6d-devices-video-Simplify-model-hvm-check.patch
-Patch8: d9736db9-addhardware-Add-bochs-display-to-the-video-list.patch
-Patch9: 8f4c53ea-video-Prefer-bochs-when-its-supported..patch
+Patch8: 1547e16d-domcapabilities-Get-video-devices.patch
+Patch9: 2e20b128-domcapabilities-Add-supports_video_bochs.patch
+Patch10:d9736db9-addhardware-Add-bochs-display-to-the-video-list.patch
+Patch11:8f4c53ea-video-Prefer-bochs-when-its-supported..patch
+Patch12:
ae19d6d6-fix-resizing-of-spice-clients-with-guest-resizing-enabled.patch
+Patch13:
51d84c54-connection-Avoid-repeated-default-pool-creation-attempts.patch
+Patch14:d934d6f2-domcaps-Fix-check-for-uncached-security-features.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -182,6 +187,11 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 1547e16d-domcapabilities-Get-video-devices.patch ++
Subject: domcapabilities: Get video devices
From: Fabiano Fidêncio fiden...@redhat.com Thu Oct 3 10:44:52 2019 +0200
Date: Fri Oct 4 11:15:09 2019 -0400:
Git: 1547e16d62736c861a0e4dadeb86ef372d2698bd

domcapabilities already handles disk and hostdev. Let's add support for
getting video devices as well.

Signed-off-by: Fabiano Fidêncio 

diff --git a/virtinst/domcapabilities.py b/virtinst/domcapabilities.py
index f11f18aa..9cc27bc2 100644
--- a/virtinst/domcapabilities.py
+++ b/virtinst/domcapabilities.py
@@ -95,6 +95,7 @@ class _Devices(_CapsBlock):
 XML_NAME = "devices"
 hostdev = XMLChildProperty(_make_capsblock("hostdev"), is_single=True)
 disk = XMLChildProperty(_make_capsblock("disk"), is_single=True)
+video = XMLChildProperty(_make_capsblock("video"), is_single=True)
 
 
 class _Features(_CapsBlock):
++ 2e20b128-domcapabilities-Add-supports_video_bochs.patch ++
Subject: domcapabilities: Add supports_video_bochs()
From: Fabiano Fidêncio fiden...@redhat.com Thu Oct 3 10:47:15 2019 +0200
Date: Fri Oct 4 11:15:09 2019 -0400:
Git: 2e20b128a1a1f064c5036d3d3d0cf5b09117b9da

Returns whether bochs display is supported, according to the domain
capabilities.

Signed-off-by: Fabiano Fidêncio 

Index: virt-manager-2.2.1/virtinst/domcapabilities.py
===
--- virt-manager-2.2.1.orig/virtinst/domcapabilities.py
+++ virt-manager-2.2.1/virtinst/domcapabilities.py
@@ -325,6 +325,14 @@ class DomainCapabilities(XMLBuilder):
 """
 return bool(self.features.sev.supported)
 
+def supports_video_bochs(self):
+"""
+Returns False if either libvirt or qemu do not have support to bochs
+video type.
+"""
+models = self.devices.video.get_enum("modelType").get_values()
+return bool("bochs" in 

commit virt-manager for openSUSE:Factory

2019-10-30 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-10-30 14:43:13

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.2990 (New)


Package is "virt-manager"

Wed Oct 30 14:43:13 2019 rev:200 rq:743607 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-09-05 12:41:59.635483116 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.2990/virt-manager.changes  
2019-10-30 14:43:17.513893521 +0100
@@ -1,0 +2,13 @@
+Mon Oct 28 07:35:25 MDT 2019 - carn...@suse.com
+
+- bsc#1155197 - [xen][virt-manager] Fail to boot up installed
+  sles15sp2 PV guest
+  virtinst-pvgrub2-bootloader.patch
+  virtinst-change-location-for-grub_xen.patch
+- Upstream bug fixes (bsc#1027942)
+  9465da41-urlfetcher-Deal-with-file-in-_LocalURLFetcher.patch
+  651e5b6d-devices-video-Simplify-model-hvm-check.patch
+  d9736db9-addhardware-Add-bochs-display-to-the-video-list.patch
+  8f4c53ea-video-Prefer-bochs-when-its-supported..patch
+
+---

New:

  651e5b6d-devices-video-Simplify-model-hvm-check.patch
  8f4c53ea-video-Prefer-bochs-when-its-supported..patch
  9465da41-urlfetcher-Deal-with-file-in-_LocalURLFetcher.patch
  d9736db9-addhardware-Add-bochs-display-to-the-video-list.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.EVWZku/_old  2019-10-30 14:43:18.417894482 +0100
+++ /var/tmp/diff_new_pack.EVWZku/_new  2019-10-30 14:43:18.417894482 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -37,6 +37,10 @@
 Patch3: 
414ffa5e-virt-install-Use-minutes-instead-of-seconds-on-get_time_string.patch
 Patch4: 53245827-urlfetcher-Force-a-flush-after-writing-to-a-file.patch
 Patch5: 
3009888a-urlfetcher-Dont-override-fullurl-when-its-explicitly-set.patch
+Patch6: 9465da41-urlfetcher-Deal-with-file-in-_LocalURLFetcher.patch
+Patch7: 651e5b6d-devices-video-Simplify-model-hvm-check.patch
+Patch8: d9736db9-addhardware-Add-bochs-display-to-the-video-list.patch
+Patch9: 8f4c53ea-video-Prefer-bochs-when-its-supported..patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -174,6 +178,10 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 651e5b6d-devices-video-Simplify-model-hvm-check.patch ++
Subject: devices: video: Simplify model hvm check
From: Cole Robinson crobi...@redhat.com Thu Oct 3 15:41:44 2019 -0400
Date: Thu Oct 3 15:41:44 2019 -0400:
Git: 651e5b6d753930a2e7536efa4e6d20f57b038e80

Signed-off-by: Cole Robinson 

diff --git a/virtinst/devices/video.py b/virtinst/devices/video.py
index 3d8ab939..3ebc561f 100644
--- a/virtinst/devices/video.py
+++ b/virtinst/devices/video.py
@@ -27,6 +27,8 @@ class DeviceVideo(Device):
 
 @staticmethod
 def default_model(guest):
+if not guest.os.is_hvm():
+return None
 if guest.os.is_pseries():
 return "vga"
 if guest.os.is_arm_machvirt() or guest.os.is_riscv_virt():
@@ -37,11 +39,9 @@ class DeviceVideo(Device):
 if guest.has_gl():
 return "virtio"
 return "qxl"
-if guest.os.is_hvm():
-if guest.conn.is_qemu():
-return "qxl"
-return "vga"
-return None
+if guest.conn.is_qemu():
+return "qxl"
+return "vga"
 
 def set_defaults(self, guest):
 if not self.model:
++ 8f4c53ea-video-Prefer-bochs-when-its-supported..patch ++
Subject: video: Prefer "bochs" when it's supported.
From: Fabiano Fidêncio fiden...@redhat.com Thu Oct 3 10:50:34 2019 +0200
Date: Fri Oct 4 11:17:10 2019 -0400:
Git: 8f4c53ea960459516794ba533060a176cc26f121

Preferring "bochs" display device is the way to go when dealing with a
Linux guest using UEFI and that's quite well described here:
https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/

https://bugzilla.redhat.com/show_bug.cgi?id=1753644

Signed-off-by: Fabiano Fidêncio 

diff --git a/virtinst/devices/video.py b/virtinst/devices/video.py
index 3ebc561f..fcca91b6 100644
--- a/virtinst/devices/video.py
+++ b/virtinst/devices/video.py
@@ -39,6 +39,9 @@ class DeviceVideo(Device):
 if guest.has_gl():
 return "virtio"
 

commit virt-manager for openSUSE:Factory

2019-09-05 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-09-05 12:41:52

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.7948 (New)


Package is "virt-manager"

Thu Sep  5 12:41:52 2019 rev:199 rq:728085 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-07-31 14:31:03.894008573 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.7948/virt-manager.changes  
2019-09-05 12:41:59.635483116 +0200
@@ -1,0 +2,9 @@
+Tue Aug 27 13:54:23 MDT 2019 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  0c223ab2-guest-Dont-set-default-uefi-if-firmware-is-set.patch
+  414ffa5e-virt-install-Use-minutes-instead-of-seconds-on-get_time_string.patch
+  53245827-urlfetcher-Force-a-flush-after-writing-to-a-file.patch
+  3009888a-urlfetcher-Dont-override-fullurl-when-its-explicitly-set.patch
+
+---

New:

  0c223ab2-guest-Dont-set-default-uefi-if-firmware-is-set.patch
  3009888a-urlfetcher-Dont-override-fullurl-when-its-explicitly-set.patch
  414ffa5e-virt-install-Use-minutes-instead-of-seconds-on-get_time_string.patch
  53245827-urlfetcher-Force-a-flush-after-writing-to-a-file.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.crwUGe/_old  2019-09-05 12:42:00.591482928 +0200
+++ /var/tmp/diff_new_pack.crwUGe/_new  2019-09-05 12:42:00.591482928 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -33,6 +33,10 @@
 Source3:virt-manager-supportconfig
 # Upstream Patches
 Patch1: 
3c6e8537-guest-fix-warning-message-when-machine-type-is-changed-for-secure-boot.patch
+Patch2: 0c223ab2-guest-Dont-set-default-uefi-if-firmware-is-set.patch
+Patch3: 
414ffa5e-virt-install-Use-minutes-instead-of-seconds-on-get_time_string.patch
+Patch4: 53245827-urlfetcher-Force-a-flush-after-writing-to-a-file.patch
+Patch5: 
3009888a-urlfetcher-Dont-override-fullurl-when-its-explicitly-set.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -166,6 +170,10 @@
 %setup -q
 # Upstream Patches
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 0c223ab2-guest-Dont-set-default-uefi-if-firmware-is-set.patch ++
Subject: guest: Don't set default uefi if firmware= is set
From: Cole Robinson crobi...@redhat.com Fri Jul 12 15:58:22 2019 -0400
Date: Fri Jul 12 16:01:21 2019 -0400:
Git: 0c223ab21f0cff216b4a1ab2070a43f0e943d308


diff --git 
a/tests/cli-test-xml/compare/virt-install-aarch64-firmware-no-override.xml 
b/tests/cli-test-xml/compare/virt-install-aarch64-firmware-no-override.xml
new file mode 100644
index ..b062e805
--- /dev/null
+++ b/tests/cli-test-xml/compare/virt-install-aarch64-firmware-no-override.xml
@@ -0,0 +1,55 @@
+
+  vm1
+  ----
+  65536
+  65536
+  1
+  
+hvm
+
+  
+  
+  
+  destroy
+  
+/usr/bin/qemu-system-aarch64
+
+
+  
+  
+  
+
+
+
+  
+  
+
+  
+
+
+  vm1
+  ----
+  65536
+  65536
+  1
+  
+hvm
+
+  
+  
+  
+  
+/usr/bin/qemu-system-aarch64
+
+
+  
+  
+  
+
+
+
+  
+  
+
+  
+
diff --git a/tests/clitest.py b/tests/clitest.py
index 7ef324bc..a309f937 100644
--- a/tests/clitest.py
+++ b/tests/clitest.py
@@ -990,6 +990,7 @@ c.add_compare("--arch aarch64 --boot 
kernel=/f19-arm.kernel,initrd=/f19-arm.init
 c.add_compare("--arch aarch64 --cdrom %(EXISTIMG2)s --boot 
loader=CODE.fd,nvram.template=VARS.fd --disk %(EXISTIMG1)s --cpu none --events 
on_crash=preserve,on_reboot=destroy,on_poweroff=restart", "aarch64-cdrom")
 c.add_compare("--connect %(URI-KVM-AARCH64)s --disk %(EXISTIMG1)s --import 
--os-variant fedora21 --panic default", "aarch64-kvm-import")  # the --panic is 
a no-op
 c.add_compare("--connect %(URI-KVM-AARCH64)s --disk size=1 --os-variant 
fedora22 --features gic_version=host --network network=default,address.type=pci 
--controller type=scsi,model=virtio-scsi,address.type=pci", "aarch64-kvm-gic")
+c.add_compare("--connect %(URI-KVM-AARCH64)s --arch aarch64 --disk none --pxe 
--boot firmware=efi", "aarch64-firmware-no-override")
 
 
 # Simple headless guests for various architectures
diff --git a/virtinst/guest.py b/virtinst/guest.py
index 

commit virt-manager for openSUSE:Factory

2019-07-31 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-07-31 14:30:27

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.4126 (New)


Package is "virt-manager"

Wed Jul 31 14:30:27 2019 rev:198 rq:719855 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-07-18 15:22:53.072117672 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.4126/virt-manager.changes  
2019-07-31 14:31:03.894008573 +0200
@@ -1,0 +2,11 @@
+Mon Jul 29 13:22:56 MDT 2019 - carn...@suse.com
+
+- bsc#1143315 - virt-manager: Fix detection for SLE15
+  virtinst-add-sle15-detection-support.patch
+  virtinst-add-caasp-support.patch
+  virtinst-detect-oes-distros.patch
+  virtinst-add-pvh-support.patch
+  virtinst-s390x-disable-graphics.patch
+  virtinst-set-qemu-emulator.patch
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.C6mvWV/_old  2019-07-31 14:31:12.394002728 +0200
+++ /var/tmp/diff_new_pack.C6mvWV/_new  2019-07-31 14:31:12.418002712 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 

++ virtinst-add-caasp-support.patch ++
--- /var/tmp/diff_new_pack.C6mvWV/_old  2019-07-31 14:31:12.770002469 +0200
+++ /var/tmp/diff_new_pack.C6mvWV/_new  2019-07-31 14:31:12.774002466 +0200
@@ -1,9 +1,9 @@
 References: bsc#1010060
 
-Index: virt-manager-2.2.0/virtinst/install/urldetect.py
+Index: virt-manager-2.2.1/virtinst/install/urldetect.py
 ===
 virt-manager-2.2.0.orig/virtinst/install/urldetect.py
-+++ virt-manager-2.2.0/virtinst/install/urldetect.py
+--- virt-manager-2.2.1.orig/virtinst/install/urldetect.py
 virt-manager-2.2.1/virtinst/install/urldetect.py
 @@ -273,6 +273,12 @@ class _SUSEContent(object):
  self.product_name.strip().rsplit(' ')[5][2])
  distro_version = sle_version
@@ -42,3 +42,11 @@
  class _OESDistro(_SuseDistro):
  PRETTY_NAME = "OES"
  matching_distros = ["oes"]
+@@ -838,6 +855,7 @@ def _build_distro_list(osobj):
+ _SLESDistro,
+ _SLEDDistro,
+ _OpensuseDistro,
++_CAASPDistro,
+ _OESDistro,
+ _DebianDistro,
+ _UbuntuDistro,

++ virtinst-add-pvh-support.patch ++
--- /var/tmp/diff_new_pack.C6mvWV/_old  2019-07-31 14:31:12.822002434 +0200
+++ /var/tmp/diff_new_pack.C6mvWV/_new  2019-07-31 14:31:12.822002434 +0200
@@ -32,7 +32,7 @@
 ===
 --- virt-manager-2.2.1.orig/virtinst/guest.py
 +++ virt-manager-2.2.1/virtinst/guest.py
-@@ -820,7 +820,7 @@ class Guest(XMLBuilder):
+@@ -821,7 +821,7 @@ class Guest(XMLBuilder):
  
  usb_tablet = False
  usb_keyboard = False

++ virtinst-add-sle15-detection-support.patch ++
--- /var/tmp/diff_new_pack.C6mvWV/_old  2019-07-31 14:31:12.898002381 +0200
+++ /var/tmp/diff_new_pack.C6mvWV/_new  2019-07-31 14:31:12.898002381 +0200
@@ -1,9 +1,9 @@
 References: bsc#1054986
 
-Index: virt-manager-2.2.0/virtinst/install/urldetect.py
+Index: virt-manager-2.2.1/virtinst/install/urldetect.py
 ===
 virt-manager-2.2.0.orig/virtinst/install/urldetect.py
-+++ virt-manager-2.2.0/virtinst/install/urldetect.py
+--- virt-manager-2.2.1.orig/virtinst/install/urldetect.py
 virt-manager-2.2.1/virtinst/install/urldetect.py
 @@ -586,6 +586,10 @@ class _SuseDistro(_RHELDistro):
  if re.search("openSUSE Tumbleweed", self.cache.treeinfo_name):
  return "opensusetumbleweed"
@@ -42,3 +42,11 @@
  class _SLESDistro(_SuseDistro):
  PRETTY_NAME = "SLES"
  matching_distros = ["sles"]
+@@ -852,6 +867,7 @@ def _build_distro_list(osobj):
+ _FedoraDistro,
+ _RHELDistro,
+ _CentOSDistro,
++_SLEDistro,
+ _SLESDistro,
+ _SLEDDistro,
+ _OpensuseDistro,

++ virtinst-detect-oes-distros.patch ++
--- /var/tmp/diff_new_pack.C6mvWV/_old  2019-07-31 14:31:12.962002337 +0200
+++ /var/tmp/diff_new_pack.C6mvWV/_new  2019-07-31 14:31:12.966002334 +0200
@@ -1,9 +1,9 @@
 Enhancement to correctly detect Open Enterprise Server media is
 selected as the installation source.
-Index: virt-manager-2.2.0/virtinst/install/urldetect.py
+Index: 

commit virt-manager for openSUSE:Factory

2019-06-22 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-06-22 11:24:59

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.4615 (New)


Package is "virt-manager"

Sat Jun 22 11:24:59 2019 rev:196 rq:711380 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-06-12 13:15:54.636715294 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.4615/virt-manager.changes  
2019-06-22 11:25:02.285438930 +0200
@@ -1,0 +2,9 @@
+Thu Jun 13 14:15:44 MDT 2019 - carn...@suse.com
+
+- bsc#1138110 - XEN guest can not be restored from virt-manager
+  after it is saved
+  virtman-fix-restore-vm-menu-selection.patch
+- Upstream bug fix (bsc#1027942)
+  578451fe-urldetect-Dont-run-regex-against-None-SUSE-product-name.patch
+
+---
@@ -5 +14 @@
-  can't handle directl kernel boot. (bsc#1125725)
+  can't handle direct kernel boot. (bsc#1125725)

New:

  578451fe-urldetect-Dont-run-regex-against-None-SUSE-product-name.patch
  virtman-fix-restore-vm-menu-selection.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.xDZtYO/_old  2019-06-22 11:25:04.513441150 +0200
+++ /var/tmp/diff_new_pack.xDZtYO/_new  2019-06-22 11:25:04.513441150 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -62,6 +62,7 @@
 Patch27:7afbb90b-virt-xml-Handle-VM-names-that-look-like-id-uuid.patch
 Patch28:8d9743d6-virt-install-Add-support-for-xenbus-controller.patch
 Patch29:
a0ca387a-cli-Fix-pool-default-when-path-belongs-to-another-pool.patch
+Patch30:
578451fe-urldetect-Dont-run-regex-against-None-SUSE-product-name.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -93,6 +94,7 @@
 Patch153:   virtman-check-for-valid-display.patch
 Patch154:   virtman-allow-creating-i686-vm.patch
 Patch155:   virtman-dont-specify-vte-version.patch
+Patch156:   virtman-fix-restore-vm-menu-selection.patch
 Patch160:   virtinst-xen-drive-type.patch
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
@@ -217,6 +219,7 @@
 %patch27 -p1
 %patch28 -p1
 %patch29 -p1
+%patch30 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -248,6 +251,7 @@
 %patch153 -p1
 %patch154 -p1
 %patch155 -p1
+%patch156 -p1
 %patch160 -p1
 %patch161 -p1
 %patch162 -p1

++ 578451fe-urldetect-Dont-run-regex-against-None-SUSE-product-name.patch 
++
Subject: urldetect: Don't run regex against None SUSE product name
From: Cole Robinson crobi...@redhat.com Mon Jun 10 08:42:39 2019 -0400
Date: Mon Jun 10 08:44:20 2019 -0400:
Git: 578451fe721f8df0cf81c7d510a51af8fbe8179d

We are implicitly depending on random dict ordering for what
order we process Distro matching. Our test suite mocking and
different debian ordering revealed a case we could be trying to
run a regex against None. Fix it. The dict ordering issue will
be fixed separately

Index: virt-manager-2.1.0/virtinst/urldetect.py
===
--- virt-manager-2.1.0.orig/virtinst/urldetect.py
+++ virt-manager-2.1.0/virtinst/urldetect.py
@@ -499,7 +499,7 @@ class _SuseDistro(_RHELDistro):
 if not cache.suse_content:
 return False
 for regex in cls._suse_regex:
-if re.match(regex, cache.suse_content.product_name):
+if re.match(regex, cache.suse_content.product_name or ""):
 return True
 return False
 
++ virtman-fix-restore-vm-menu-selection.patch ++
References: bsc#1138110
virt-manager no longer tracks the saved state but leaves it up to libvirt.
Libvirt returns libvirt.VIR_DOMAIN_PMSUSPENDED after a vm has been 'saved'.


--- virt-manager-2.1.0/virtManager/domain.py.orig   2019-06-13 
13:53:44.915571869 -0600
+++ virt-manager-2.1.0/virtManager/domain.py2019-06-13 14:11:40.413147729 
-0600
@@ -1599,7 +1599,8 @@ class vmmDomain(vmmLibvirtObject):
 return (self.is_stoppable() or
 self.status() in [libvirt.VIR_DOMAIN_CRASHED])
 def is_runable(self):
-return self.is_shutoff()
+return self.status() in [libvirt.VIR_DOMAIN_SHUTOFF,
+ libvirt.VIR_DOMAIN_PMSUSPENDED]
 def is_pauseable(self):
 return self.status() in 

commit virt-manager for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-06-12 13:15:50

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.4811 (New)


Package is "virt-manager"

Wed Jun 12 13:15:50 2019 rev:195 rq:708996 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-06-01 09:57:13.463166055 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.4811/virt-manager.changes  
2019-06-12 13:15:54.636715294 +0200
@@ -1,0 +2,7 @@
+Mon Jun  3 16:03:39 MDT 2019 - carn...@suse.com
+
+- Make sure the old qemu-dm is not used for installing VMs. It
+  can't handle directl kernel boot. (bsc#1125725)
+  virtinst-set-qemu-emulator.patch
+
+---

New:

  virtinst-set-qemu-emulator.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.f0uKGw/_old  2019-06-12 13:15:55.996713868 +0200
+++ /var/tmp/diff_new_pack.f0uKGw/_new  2019-06-12 13:15:56.000713864 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -71,6 +71,7 @@
 Patch75:virtinst-pvgrub2-bootloader.patch
 Patch76:virtinst-change-location-for-grub_xen.patch
 Patch77:virtman-fix-env-script-interpreter.patch
+Patch78:virtinst-set-qemu-emulator.patch
 # Features or Enhancements
 Patch101:   virtman-default-guest-from-host-os.patch
 Patch102:   virtman-default-to-xen-pv.patch
@@ -225,6 +226,7 @@
 %patch75 -p1
 %patch76 -p1
 %patch77 -p1
+%patch78 -p1
 # Enhancements
 %patch101 -p1
 %patch102 -p1

++ virtinst-add-pvh-support.patch ++
--- /var/tmp/diff_new_pack.f0uKGw/_old  2019-06-12 13:15:56.128713730 +0200
+++ /var/tmp/diff_new_pack.f0uKGw/_new  2019-06-12 13:15:56.132713725 +0200
@@ -32,7 +32,7 @@
 ===
 --- virt-manager-2.1.0.orig/virtinst/guest.py
 +++ virt-manager-2.1.0/virtinst/guest.py
-@@ -608,7 +608,7 @@ class Guest(XMLBuilder):
+@@ -612,7 +612,7 @@ class Guest(XMLBuilder):
  
  usb_tablet = False
  usb_keyboard = False

++ virtinst-s390x-disable-graphics.patch ++
--- /var/tmp/diff_new_pack.f0uKGw/_old  2019-06-12 13:15:56.156713700 +0200
+++ /var/tmp/diff_new_pack.f0uKGw/_new  2019-06-12 13:15:56.160713696 +0200
@@ -25,7 +25,7 @@
  return True
  
  return False
-@@ -646,7 +649,7 @@ class Guest(XMLBuilder):
+@@ -650,7 +653,7 @@ class Guest(XMLBuilder):
  self.add_device(dev)
  
  def _add_default_video_device(self):
@@ -34,7 +34,7 @@
  return
  if self.devices.video:
  return
-@@ -710,7 +713,7 @@ class Guest(XMLBuilder):
+@@ -714,7 +717,7 @@ class Guest(XMLBuilder):
  return
  if self.os.is_container() and not self.conn.is_vz():
  return

++ virtinst-set-qemu-emulator.patch ++
Use the correct qemu emulator based on the architecture.
We want to get away from using the old qemu-dm emulator
for Xen HVM guests so default to qemu-system-i386.
Index: virt-manager-2.1.0/virtinst/guest.py
===
--- virt-manager-2.1.0.orig/virtinst/guest.py
+++ virt-manager-2.1.0/virtinst/guest.py
@@ -525,6 +525,10 @@ class Guest(XMLBuilder):
 self._add_default_rng()
 
 self.clock.set_defaults(self)
+if self.os.is_hvm() and self.type == "xen":
+# Force not using Xen's old qemu-dm
+if not self.emulator or "qemu-dm" in self.emulator:
+self.emulator = "/usr/lib/xen/bin/qemu-system-i386"
 self.cpu.set_defaults(self)
 self.features.set_defaults(self)
 for seclabel in self.seclabels:



commit virt-manager for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-06-01 09:57:08

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.5148 (New)


Package is "virt-manager"

Sat Jun  1 09:57:08 2019 rev:194 rq:706525 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-04-04 12:08:15.297392180 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.5148/virt-manager.changes  
2019-06-01 09:57:13.463166055 +0200
@@ -1,0 +2,25 @@
+Thu May 23 08:17:01 MDT 2019 - carn...@suse.com
+
+- jsc#SLE-6262, fate#327048: KVM: Boot Configuration Override
+  001-adf30349-cli-refactor-get_prop.patch
+  002-60c7e778-xmlapi-add-set_prop.patch
+  003-5bad22e8-tests-Use-get-set_prop.patch
+  004-ee5f3eab-support-Add-SUPPORT_CONN_DEVICE_BOOT_ORDER.patch
+  005-7768eb17-cli-Add-check-if-device-boot-order-is-supported.patch
+  
006-ecc0861c-tests-xmlparse-refactor-method-for-generating-out-file-path.patch
+  007-c9d070da-guest-Add-reorder_boot_order-method.patch
+  008-1b535940-tests-Add-test-case-for-reorder_boot_order-method.patch
+  009-b83a0a61-cli-Use-reorder_boot_order-for-setting-the-boot-order.patch
+  010-c896d19d-tests-cli-Add-boot.order-tests.patch
+  011-29f9f2ac-virt-xml-Add-no-define-argument.patch
+  012-c2bff509-tests-cli-Add-test-case-for-no-define-argument.patch
+  013-90b1a3ab-virt-xml-Add-support-for-starting-the-domain.patch
+  014-908b8e8d-tests-virt-xml-Add-test-cases-for-start-option.patch
+
+---
+Tue Apr  9 10:21:29 MDT 2019 - carn...@suse.com
+
+- Drop unneeded 0003-virtinst-python3-avoid-using-long-type.patch
+  Drop Requires on python3-six
+
+---

Old:

  0003-virtinst-python3-avoid-using-long-type.patch

New:

  001-adf30349-cli-refactor-get_prop.patch
  002-60c7e778-xmlapi-add-set_prop.patch
  003-5bad22e8-tests-Use-get-set_prop.patch
  004-ee5f3eab-support-Add-SUPPORT_CONN_DEVICE_BOOT_ORDER.patch
  005-7768eb17-cli-Add-check-if-device-boot-order-is-supported.patch
  006-ecc0861c-tests-xmlparse-refactor-method-for-generating-out-file-path.patch
  007-c9d070da-guest-Add-reorder_boot_order-method.patch
  008-1b535940-tests-Add-test-case-for-reorder_boot_order-method.patch
  009-b83a0a61-cli-Use-reorder_boot_order-for-setting-the-boot-order.patch
  010-c896d19d-tests-cli-Add-boot.order-tests.patch
  011-29f9f2ac-virt-xml-Add-no-define-argument.patch
  012-c2bff509-tests-cli-Add-test-case-for-no-define-argument.patch
  013-90b1a3ab-virt-xml-Add-support-for-starting-the-domain.patch
  014-908b8e8d-tests-virt-xml-Add-test-cases-for-start-option.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.rMCMFx/_old  2019-06-01 09:57:14.759165613 +0200
+++ /var/tmp/diff_new_pack.rMCMFx/_new  2019-06-01 09:57:14.763165611 +0200
@@ -40,13 +40,28 @@
 Patch6: 4f66c423-cloner-Handle-nonsparse-for-qcow2-images.patch
 Patch7: 
a02fc0d0-virtManager-clone-build-default-clone-path-if-we-know-how.patch
 Patch8: 1856c1fa-support-Fix-minimum-version-check.patch
-Patch9: 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch
-Patch10:74bbc3db-urldetect-Check-also-for-treeinfo.patch
-Patch11:708af01c-osdict-Add-supports_virtioinput.patch
-Patch12:
f23b01be-guest-Add-VirtIO-input-devices-to-s390x-guests-with-graphics.patch
-Patch13:7afbb90b-virt-xml-Handle-VM-names-that-look-like-id-uuid.patch
-Patch14:8d9743d6-virt-install-Add-support-for-xenbus-controller.patch
-Patch15:
a0ca387a-cli-Fix-pool-default-when-path-belongs-to-another-pool.patch
+# jsc#SLE-6262 - KVM: Boot Configuration Override (virt-manager)
+Patch9: 001-adf30349-cli-refactor-get_prop.patch
+Patch10:002-60c7e778-xmlapi-add-set_prop.patch
+Patch11:003-5bad22e8-tests-Use-get-set_prop.patch
+Patch12:004-ee5f3eab-support-Add-SUPPORT_CONN_DEVICE_BOOT_ORDER.patch
+Patch13:
005-7768eb17-cli-Add-check-if-device-boot-order-is-supported.patch
+Patch14:
006-ecc0861c-tests-xmlparse-refactor-method-for-generating-out-file-path.patch
+Patch15:007-c9d070da-guest-Add-reorder_boot_order-method.patch
+Patch16:
008-1b535940-tests-Add-test-case-for-reorder_boot_order-method.patch
+Patch17:
009-b83a0a61-cli-Use-reorder_boot_order-for-setting-the-boot-order.patch
+Patch18:010-c896d19d-tests-cli-Add-boot.order-tests.patch
+Patch19:011-29f9f2ac-virt-xml-Add-no-define-argument.patch
+Patch20:

commit virt-manager for openSUSE:Factory

2019-04-04 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-04-04 12:08:05

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.3908 (New)


Package is "virt-manager"

Thu Apr  4 12:08:05 2019 rev:193 rq:691298 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-03-28 22:48:56.351051997 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.3908/virt-manager.changes  
2019-04-04 12:08:15.297392180 +0200
@@ -1,0 +2,15 @@
+Wed Apr  3 11:08:16 MDT 2019 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  57db4185-virt-clone-fix-force-copy-of-empty-cdrom-or-floppy-disk.patch
+  
26a433fc-virtManager-clone-check-which-storage-pools-supports-volume-cloning.patch
+  4f66c423-cloner-Handle-nonsparse-for-qcow2-images.patch
+  a02fc0d0-virtManager-clone-build-default-clone-path-if-we-know-how.patch
+  1856c1fa-support-Fix-minimum-version-check.patch
+  74bbc3db-urldetect-Check-also-for-treeinfo.patch
+  708af01c-osdict-Add-supports_virtioinput.patch
+  f23b01be-guest-Add-VirtIO-input-devices-to-s390x-guests-with-graphics.patch
+  7afbb90b-virt-xml-Handle-VM-names-that-look-like-id-uuid.patch
+  a0ca387a-cli-Fix-pool-default-when-path-belongs-to-another-pool.patch
+
+---

New:

  1856c1fa-support-Fix-minimum-version-check.patch
  
26a433fc-virtManager-clone-check-which-storage-pools-supports-volume-cloning.patch
  4f66c423-cloner-Handle-nonsparse-for-qcow2-images.patch
  57db4185-virt-clone-fix-force-copy-of-empty-cdrom-or-floppy-disk.patch
  708af01c-osdict-Add-supports_virtioinput.patch
  74bbc3db-urldetect-Check-also-for-treeinfo.patch
  7afbb90b-virt-xml-Handle-VM-names-that-look-like-id-uuid.patch
  a02fc0d0-virtManager-clone-build-default-clone-path-if-we-know-how.patch
  a0ca387a-cli-Fix-pool-default-when-path-belongs-to-another-pool.patch
  f23b01be-guest-Add-VirtIO-input-devices-to-s390x-guests-with-graphics.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.AfOP4B/_old  2019-04-04 12:08:17.665389935 +0200
+++ /var/tmp/diff_new_pack.AfOP4B/_new  2019-04-04 12:08:17.669389931 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -35,8 +35,18 @@
 Patch1: 
f7508d02-addhardware-Fix-setting-optimal-default-net-model.patch
 Patch2: 
1018ab44-inspection-handle-failures-in-application-listing.patch
 Patch3: ae8a4f3d-engine-Fix-first-run-startup-error.patch
-Patch4: 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch
-Patch5: 8d9743d6-virt-install-Add-support-for-xenbus-controller.patch
+Patch4: 
57db4185-virt-clone-fix-force-copy-of-empty-cdrom-or-floppy-disk.patch
+Patch5: 
26a433fc-virtManager-clone-check-which-storage-pools-supports-volume-cloning.patch
+Patch6: 4f66c423-cloner-Handle-nonsparse-for-qcow2-images.patch
+Patch7: 
a02fc0d0-virtManager-clone-build-default-clone-path-if-we-know-how.patch
+Patch8: 1856c1fa-support-Fix-minimum-version-check.patch
+Patch9: 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch
+Patch10:74bbc3db-urldetect-Check-also-for-treeinfo.patch
+Patch11:708af01c-osdict-Add-supports_virtioinput.patch
+Patch12:
f23b01be-guest-Add-VirtIO-input-devices-to-s390x-guests-with-graphics.patch
+Patch13:7afbb90b-virt-xml-Handle-VM-names-that-look-like-id-uuid.patch
+Patch14:8d9743d6-virt-install-Add-support-for-xenbus-controller.patch
+Patch15:
a0ca387a-cli-Fix-pool-default-when-path-belongs-to-another-pool.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -170,6 +180,16 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 1856c1fa-support-Fix-minimum-version-check.patch ++
Subject: support: Fix minimum version check
From: Cole Robinson crobi...@redhat.com Wed Mar 6 13:05:47 2019 -0500
Date: Wed Mar 6 13:06:54 2019 -0500:
Git: 1856c1fa6501c7d37d360377937a82cfa2d1cd20

The original code for this was about version 0.7.3, but a refactor
accidentally changed it to 0.7.9 which is a libvirt version that
doesn't exist. Fix it

diff --git a/virtinst/support.py b/virtinst/support.py

commit virt-manager for openSUSE:Factory

2019-03-28 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-03-28 22:48:50

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.25356 (New)


Package is "virt-manager"

Thu Mar 28 22:48:50 2019 rev:192 rq:689168 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-03-06 15:50:54.548439376 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.25356/virt-manager.changes 
2019-03-28 22:48:56.351051997 +0100
@@ -1,0 +2,22 @@
+Mon Mar 25 05:29:39 MDT 2019 - carn...@suse.com
+
+- bsc#1126325 - L3: No way to set max_grant_frames for domUs via
+  libvirt
+  8d9743d6-virt-install-Add-support-for-xenbus-controller.patch
+- bsc#1129176 - SLES 12 SP4 - kvm virt-install using ttyS0 leads to
+  user process fault and interrupts installation (virt-manager) 
+  5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch
+
+---
+Thu Mar 14 13:52:14 MDT 2019 - carn...@suse.com
+
+- bsc#1129309 - Missing .treeinfo file on the media for CaaSP
+  virtinst-add-caasp-support.patch
+
+---
+Wed Mar 13 15:40:14 MDT 2019 - carn...@suse.com
+
+- Add detection for Caasp 4.0
+  virtinst-media-detection.patch
+
+---

New:

  5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch
  8d9743d6-virt-install-Add-support-for-xenbus-controller.patch
  virtinst-media-detection.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.vdE3Ut/_old  2019-03-28 22:48:57.975051702 +0100
+++ /var/tmp/diff_new_pack.vdE3Ut/_new  2019-03-28 22:48:57.979051701 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -35,6 +35,8 @@
 Patch1: 
f7508d02-addhardware-Fix-setting-optimal-default-net-model.patch
 Patch2: 
1018ab44-inspection-handle-failures-in-application-listing.patch
 Patch3: ae8a4f3d-engine-Fix-first-run-startup-error.patch
+Patch4: 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch
+Patch5: 8d9743d6-virt-install-Add-support-for-xenbus-controller.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -57,6 +59,7 @@
 Patch126:   virtinst-add-caasp-support.patch
 Patch127:   virtinst-add-sle15-detection-support.patch
 Patch128:   virtinst-add-pvh-support.patch
+Patch129:   virtinst-media-detection.patch
 # Bug Fixes
 Patch150:   virtman-prevent-double-click-starting-vm-twice.patch
 Patch151:   virtman-increase-setKeepAlive-count.patch
@@ -165,6 +168,8 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -187,6 +192,7 @@
 %patch126 -p1
 %patch127 -p1
 %patch128 -p1
+%patch129 -p1
 # Bug Fixes
 %patch150 -p1
 %patch151 -p1

++ 5bc847eb-virt-install-Do-not-warn-about-consoles-on-s390x.patch ++
Subject: virt-install: Do not warn about consoles on s390x
From: Christian Borntraeger borntrae...@de.ibm.com Thu Mar 14 09:50:11 2019 
+0100
Date: Thu Mar 14 18:21:51 2019 +0100:
Git: 5bc847ebb032864bb20859c98660e85b5a0b50f2

s390x guests usually detect the sclp or virtio console. The current
warning might actually break setups. Let us disable the warning.

Reported-by: Andre Wild 
Signed-off-by: Christian Borntraeger 
Reviewed-by: Marc Hartmayer 
Reviewed-by: Boris Fiuczynski 

Index: virt-manager-2.1.0/virt-install
===
--- virt-manager-2.1.0.orig/virt-install
+++ virt-manager-2.1.0/virt-install
@@ -432,9 +432,9 @@ def _show_nographics_warnings(options, g
 console_type = serial_arm_arg
 if guest.devices.console[0].target_type in ["virtio", "xen"]:
 console_type = hvc_arg
-if guest.os.is_ppc64() or guest.os.is_arm_machvirt():
-# Later arm/ppc kernels figure out console= automatically, so don't
-# warn about it.
+if guest.os.is_ppc64() or guest.os.is_arm_machvirt() or 
guest.os.is_s390x():
+# Later arm/ppc/s390x kernels figure out console= automatically, so
+# don't warn about it.
 return
 
 for args in (options.extra_args or []):
++ 8d9743d6-virt-install-Add-support-for-xenbus-controller.patch ++
Subject: virt-install: Add support for xenbus controller
From: Jim Fehlig 

commit virt-manager for openSUSE:Factory

2019-03-06 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-03-06 15:50:45

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.28833 (New)


Package is "virt-manager"

Wed Mar  6 15:50:45 2019 rev:191 rq:681964 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-02-13 10:09:37.857496580 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.28833/virt-manager.changes 
2019-03-06 15:50:54.548439376 +0100
@@ -1,0 +2,7 @@
+Wed Feb 20 10:10:13 MST 2019 - carn...@suse.com
+
+- Temporarily disable Xen PVH support until feature is more usable
+  (bsc#1125889)
+  virtinst-add-pvh-support.patch
+
+---



Other differences:
--
++ virtinst-add-pvh-support.patch ++
--- /var/tmp/diff_new_pack.Onj4wz/_old  2019-03-06 15:50:56.252439609 +0100
+++ /var/tmp/diff_new_pack.Onj4wz/_new  2019-03-06 15:50:56.252439609 +0100
@@ -1,5 +1,20 @@
 References: fate#326698 - Add pvh support to virt-manager
+At this time support is disabled in this patch.
 
+Index: virt-manager-2.1.0/virtManager/create.py
+===
+--- virt-manager-2.1.0.orig/virtManager/create.py
 virt-manager-2.1.0/virtManager/create.py
+@@ -739,6 +739,9 @@ class vmmCreate(vmmGObjectUI):
+ for guest in guests:
+ if not guest.domains:
+ continue
++# xenpvh is currently unsupported
++if guest.os_type == "xenpvh":
++continue
+ 
+ gtype = guest.os_type
+ dom = guest.domains[0]
 Index: virt-manager-2.1.0/virtinst/domain/os.py
 ===
 --- virt-manager-2.1.0.orig/virtinst/domain/os.py

++ virtman-allow-creating-i686-vm.patch ++
--- /var/tmp/diff_new_pack.Onj4wz/_old  2019-03-06 15:50:56.292439614 +0100
+++ /var/tmp/diff_new_pack.Onj4wz/_new  2019-03-06 15:50:56.292439614 +0100
@@ -1,11 +1,11 @@
 References: bsc#919692
 Because openSUSE repos combine 32 and 64 bit sources we need to
 continue showing the 'Architecture' pop-up.
-Index: virt-manager-2.0.0/virtManager/create.py
+Index: virt-manager-2.1.0/virtManager/create.py
 ===
 virt-manager-2.0.0.orig/virtManager/create.py
-+++ virt-manager-2.0.0/virtManager/create.py
-@@ -774,11 +774,6 @@ class vmmCreate(vmmGObjectUI):
+--- virt-manager-2.1.0.orig/virtManager/create.py
 virt-manager-2.1.0/virtManager/create.py
+@@ -777,11 +777,6 @@ class vmmCreate(vmmGObjectUI):
  for guest in self.conn.caps.guests:
  if guest.os_type == self._capsinfo.os_type:
  archs.append(guest.arch)

++ virtman-python2-to-python3-conversion.patch ++
--- /var/tmp/diff_new_pack.Onj4wz/_old  2019-03-06 15:50:56.320439618 +0100
+++ /var/tmp/diff_new_pack.Onj4wz/_new  2019-03-06 15:50:56.320439618 +0100
@@ -221,7 +221,7 @@
  
  
  #
-@@ -2156,7 +2156,7 @@ class vmmCreate(vmmGObjectUI):
+@@ -2159,7 +2159,7 @@ class vmmCreate(vmmGObjectUI):
  'insecure': self._get_config_oscontainer_isecure,
  'root_password': self._get_config_oscontainer_root_password,
  }




commit virt-manager for openSUSE:Factory

2019-02-13 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-02-13 10:09:00

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.28833 (New)


Package is "virt-manager"

Wed Feb 13 10:09:00 2019 rev:190 rq:674346 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-02-02 21:50:14.603929146 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.28833/virt-manager.changes 
2019-02-13 10:09:37.857496580 +0100
@@ -1,0 +2,28 @@
+Tue Feb 12 13:34:26 MST 2019 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  f7508d02-addhardware-Fix-setting-optimal-default-net-model.patch
+  1018ab44-inspection-handle-failures-in-application-listing.patch
+  ae8a4f3d-engine-Fix-first-run-startup-error.patch
+
+---
+Mon Feb  4 10:16:11 MST 2019 - carn...@suse.com
+
+- Update to virt-manager 2.1.0 (fate#326786)
+  virt-manager-2.1.0.tar.bz2
+  virtman-fix-env-script-interpreter.patch
+  * Bash autocompletion support (Lin Ma, Cole Robinson)
+  * UI and command line –vsock support (Slavomir Kaslev)
+  * virt-xml: Add –os-variant option (Andrea Bolognani)
+  * virt-install: use libosinfo cpu, mem, disk size defaults (Fabiano Fidencio)
+  * virt-install: Better usage of libosinfo -unknown distro IDs (Fabiano 
Fidencio)
+  * virt-install: More usage of libosinfo for ISO –location detection
+  * virt-install: Add –location LOCATION,kernel=X,initrd=Y for pointing to 
kernel/initrd in media that virt-install/libosinfo fails to detect
+- Drop
+  25b88733-urldetect-Dont-overload-suse_content-variable.patch
+  9308bae3-util-Fix-typo-vpcu-vcpu.patch
+  b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch
+  c30b3bc6-increase-timeout-for-vm-to-start.patch
+  virtinst-use-latest-opensuse-version-when-unknown-media.patch
+
+---

Old:

  25b88733-urldetect-Dont-overload-suse_content-variable.patch
  9308bae3-util-Fix-typo-vpcu-vcpu.patch
  b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch
  c30b3bc6-increase-timeout-for-vm-to-start.patch
  virt-manager-2.0.0.tar.bz2
  virtinst-use-latest-opensuse-version-when-unknown-media.patch

New:

  1018ab44-inspection-handle-failures-in-application-listing.patch
  ae8a4f3d-engine-Fix-first-run-startup-error.patch
  f7508d02-addhardware-Fix-setting-optimal-default-net-model.patch
  virt-manager-2.1.0.tar.bz2
  virtman-fix-env-script-interpreter.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.PFB7ss/_old  2019-02-13 10:10:10.113488305 +0100
+++ /var/tmp/diff_new_pack.PFB7ss/_new  2019-02-13 10:10:10.117488304 +0100
@@ -21,7 +21,7 @@
 %global default_hvs"qemu,xen,lxc"
 
 Name:   virt-manager
-Version:2.0.0
+Version:2.1.0
 Release:0
 Summary:Virtual Machine Manager
 License:GPL-2.0-or-later
@@ -32,10 +32,9 @@
 Source2:virt-install.desktop
 Source3:virt-manager-supportconfig
 # Upstream Patches
-Patch1: 
b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch
-Patch2: 25b88733-urldetect-Dont-overload-suse_content-variable.patch
-Patch3: 9308bae3-util-Fix-typo-vpcu-vcpu.patch
-Patch4: c30b3bc6-increase-timeout-for-vm-to-start.patch
+Patch1: 
f7508d02-addhardware-Fix-setting-optimal-default-net-model.patch
+Patch2: 
1018ab44-inspection-handle-failures-in-application-listing.patch
+Patch3: ae8a4f3d-engine-Fix-first-run-startup-error.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -44,6 +43,7 @@
 Patch74:virtman-dont-allow-grub.xen-to-be-deleted.patch
 Patch75:virtinst-pvgrub2-bootloader.patch
 Patch76:virtinst-change-location-for-grub_xen.patch
+Patch77:virtman-fix-env-script-interpreter.patch
 # Features or Enhancements
 Patch101:   virtman-default-guest-from-host-os.patch
 Patch102:   virtman-default-to-xen-pv.patch
@@ -72,7 +72,6 @@
 Patch165:   virtinst-keep-install-iso-attached.patch
 Patch166:   virtinst-osdict-get_supported.patch
 Patch167:   virtinst-dont-use-special-copy-cpu-features.patch
-Patch168:   virtinst-use-latest-opensuse-version-when-unknown-media.patch
 # Python2 to Python3 patches
 Patch200:   virtconv-python2-to-python3-conversion.patch
 Patch201:   virtinst-python2-to-python3-conversion.patch
@@ -166,7 +165,6 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -175,6 

commit virt-manager for openSUSE:Factory

2019-02-02 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-02-02 21:50:13

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.28833 (New)


Package is "virt-manager"

Sat Feb  2 21:50:13 2019 rev:189 rq:670624 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2019-01-10 15:23:48.214301756 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.28833/virt-manager.changes 
2019-02-02 21:50:14.603929146 +0100
@@ -1,0 +2,7 @@
+Fri Feb  1 09:34:31 MST 2019 - carn...@suse.com
+
+- bsc#1123942 - [XEN][Build157.1] failed to open file
+  '/usr/lib/grub2/x86_64-xen/grub.xen during bootup PV guest 
+  virtinst-change-location-for-grub_xen.patch
+
+---
@@ -18,0 +26 @@
+  virt-install.desktop

New:

  virtinst-change-location-for-grub_xen.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.smagti/_old  2019-02-02 21:50:15.427928433 +0100
+++ /var/tmp/diff_new_pack.smagti/_new  2019-02-02 21:50:15.431928429 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -43,6 +43,7 @@
 Patch73:virtman-show-suse-install-repos.patch
 Patch74:virtman-dont-allow-grub.xen-to-be-deleted.patch
 Patch75:virtinst-pvgrub2-bootloader.patch
+Patch76:virtinst-change-location-for-grub_xen.patch
 # Features or Enhancements
 Patch101:   virtman-default-guest-from-host-os.patch
 Patch102:   virtman-default-to-xen-pv.patch
@@ -173,6 +174,7 @@
 %patch73 -p1
 %patch74 -p1
 %patch75 -p1
+%patch76 -p1
 # Enhancements
 %patch101 -p1
 %patch102 -p1

++ virtinst-change-location-for-grub_xen.patch ++
References: fate#326960, bsc#1123942

Index: virt-manager-2.0.0/virtinst/installer.py
===
--- virt-manager-2.0.0.orig/virtinst/installer.py
+++ virt-manager-2.0.0/virtinst/installer.py
@@ -316,7 +316,10 @@ class Installer(object):
 guest.os.bootloader = "pygrub"
 else:
 guest.os.bootloader = None
-self._install_kernel = "/usr/lib/grub2/x86_64-xen/grub.xen"
+if os.path.exists("/usr/share/grub2/x86_64-xen/grub.xen"):
+self._install_kernel = 
"/usr/share/grub2/x86_64-xen/grub.xen"
+else:
+self._install_kernel = "/usr/lib/grub2/x86_64-xen/grub.xen"
 self._install_initrd = None
 self.extraargs = None
 logging.info("Using grub.xen to boot guest")
Index: virt-manager-2.0.0/virtManager/delete.py
===
--- virt-manager-2.0.0.orig/virtManager/delete.py
+++ virt-manager-2.0.0/virtManager/delete.py
@@ -246,7 +246,7 @@ def populate_storage_list(storage_list,
 diskdata.append(("dtb", vm.get_xmlobj().os.dtb, True, False, True))
 
 for target, path, ro, shared, is_media in diskdata:
-if not path or path == "/usr/lib/grub2/x86_64-xen/grub.xen":
+if not path or "grub.xen" in path:
 continue
 
 # There are a few pieces here



commit virt-manager for openSUSE:Factory

2019-01-10 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2019-01-10 15:23:46

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.28833 (New)


Package is "virt-manager"

Thu Jan 10 15:23:46 2019 rev:188 rq:664194 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-12-04 20:55:38.948764704 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.28833/virt-manager.changes 
2019-01-10 15:23:48.214301756 +0100
@@ -1,0 +2,13 @@
+Wed Jan  9 15:55:22 MST 2019 - carn...@suse.com
+
+- Increase the timeout for a vm to start before assuming something
+  is wrong. (bsc#1027942)
+  c30b3bc6-increase-timeout-for-vm-to-start.patch
+
+---
+Mon Dec 17 14:19:11 MST 2018 - carn...@suse.com
+
+- fate#326698: Add support for Xen's PVH guest type
+  virtinst-add-pvh-support.patch
+
+---

New:

  c30b3bc6-increase-timeout-for-vm-to-start.patch
  virtinst-add-pvh-support.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.nTAbOt/_old  2019-01-10 15:23:48.906301041 +0100
+++ /var/tmp/diff_new_pack.nTAbOt/_new  2019-01-10 15:23:48.910301036 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,7 @@
 Patch1: 
b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch
 Patch2: 25b88733-urldetect-Dont-overload-suse_content-variable.patch
 Patch3: 9308bae3-util-Fix-typo-vpcu-vcpu.patch
+Patch4: c30b3bc6-increase-timeout-for-vm-to-start.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -54,6 +55,7 @@
 Patch125:   virtinst-s390x-disable-graphics.patch
 Patch126:   virtinst-add-caasp-support.patch
 Patch127:   virtinst-add-sle15-detection-support.patch
+Patch128:   virtinst-add-pvh-support.patch
 # Bug Fixes
 Patch150:   virtman-prevent-double-click-starting-vm-twice.patch
 Patch151:   virtman-increase-setKeepAlive-count.patch
@@ -163,6 +165,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -182,6 +185,7 @@
 %patch125 -p1
 %patch126 -p1
 %patch127 -p1
+%patch128 -p1
 # Bug Fixes
 %patch150 -p1
 %patch151 -p1

++ c30b3bc6-increase-timeout-for-vm-to-start.patch ++
Subject: Update create.py
From: kalebskeithley kkeit...@redhat.com Thu Nov 1 09:18:34 2018 -0400
Date: Thu Nov 15 12:05:36 2018 -0500:
Git: c30b3bc6119aeb3d32e0e899a581c3cafd7aab8b

100 is a bit too short for managing/creating vms over the corporate VPN. About 
half the time it times out and I have to exit the virtmgr app and restart it to 
see the new vm.
diff --git a/virtManager/create.py b/virtManager/create.py
index a60e9a3f..d3844a52 100644
--- a/virtManager/create.py
+++ b/virtManager/create.py
@@ -2123,7 +2123,7 @@ class vmmCreate(vmmGObjectUI):
 self.conn.schedule_priority_tick(pollvm=True)
 count = 0
 foundvm = None
-while count < 100:
+while count < 200:
 for vm in self.conn.list_vms():
 if vm.get_uuid() == guest.uuid:
 foundvm = vm
++ virtinst-add-pvh-support.patch ++
References: fate#326698 - Add pvh support to virt-manager

Index: virt-manager-2.0.0/virtinst/domain/os.py
===
--- virt-manager-2.0.0.orig/virtinst/domain/os.py
+++ virt-manager-2.0.0/virtinst/domain/os.py
@@ -33,6 +33,8 @@ class DomainOs(XMLBuilder):
 return self.os_type == "hvm"
 def is_xenpv(self):
 return self.os_type in ["xen", "linux"]
+def is_xenpvh(self):
+return self.os_type in ["xenpvh", "linux"]
 def is_container(self):
 return self.os_type == "exe"
 
Index: virt-manager-2.0.0/virtinst/guest.py
===
--- virt-manager-2.0.0.orig/virtinst/guest.py
+++ virt-manager-2.0.0/virtinst/guest.py
@@ -565,7 +565,7 @@ class Guest(XMLBuilder):
 
 usb_tablet = False
 usb_keyboard = False
-if self.os.is_x86() and not self.os.is_xenpv():
+if self.os.is_x86() and not self.os.is_xenpv() and not 
self.os.is_xenpvh():
 usb_tablet = self.osinfo.supports_usbtablet()
 if 

commit virt-manager for openSUSE:Factory

2018-12-04 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-12-04 20:55:28

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.19453 (New)


Package is "virt-manager"

Tue Dec  4 20:55:28 2018 rev:187 rq:653586 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-12-03 10:10:21.535710756 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.19453/virt-manager.changes 
2018-12-04 20:55:38.948764704 +0100
@@ -1,0 +2,6 @@
+Mon Dec  3 13:31:50 UTC 2018 - Stasiek Michalski 
+
+- Change icons to those provided by package
+  (yast2-theme doesn't provide some icons anymore)
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.Y9h13l/_old  2018-12-04 20:55:39.756763804 +0100
+++ /var/tmp/diff_new_pack.Y9h13l/_new  2018-12-04 20:55:39.760763800 +0100
@@ -95,10 +95,6 @@
 Recommends: python3-SpiceClientGtk
 Requires:   virt-install
 Requires:   virt-manager-common = %{verrel}
-%if 0%{?is_opensuse} == 1
-# virtman-desktop.patch changes the icon to be yast-vm-management, which is 
provided by yast2-branding
-Recommends: yast2-branding-openSUSE
-%endif
 
 %if %{with_guestfs}
 Requires:   python3-libguestfs

++ virt-install.desktop ++
--- /var/tmp/diff_new_pack.Y9h13l/_old  2018-12-04 20:55:39.856763693 +0100
+++ /var/tmp/diff_new_pack.Y9h13l/_new  2018-12-04 20:55:39.860763688 +0100
@@ -15,7 +15,7 @@
 X-SuSE-YaST-Geometry=
 X-SuSE-YaST-SortKey=
 
-Icon=yast-create-new-vm
+Icon=virt-manager
 Exec=/sbin/yast2 virt-install
 
 Name=Create Virtual Machines for Xen and KVM

++ virtman-desktop.patch ++
--- /var/tmp/diff_new_pack.Y9h13l/_old  2018-12-04 20:55:39.948763590 +0100
+++ /var/tmp/diff_new_pack.Y9h13l/_new  2018-12-04 20:55:39.948763590 +0100
@@ -6,11 +6,10 @@
  [Desktop Entry]
  _Name=Virtual Machine Manager
 -_Comment=Manage virtual machines
--Icon=virt-manager
--Exec=virt-manager
 +_Comment=Manage Virtual Machines for Xen and KVM
+ Icon=virt-manager
+-Exec=virt-manager
 +Version=1.0
-+Icon=yast-vm-management
 +Exec=/usr/bin/virt-manager
  Type=Application
  Terminal=false




commit virt-manager for openSUSE:Factory

2018-12-03 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-12-03 10:10:08

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.19453 (New)


Package is "virt-manager"

Mon Dec  3 10:10:08 2018 rev:186 rq:653121 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-11-28 11:15:42.486704910 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.19453/virt-manager.changes 
2018-12-03 10:10:21.535710756 +0100
@@ -1,0 +2,7 @@
+Thu Nov 29 11:50:08 MST 2018 - carn...@suse.com
+
+- bsc#1117846 - virt-manager: Checking for virtualization packages
+  error
+  virtman-load-stored-uris.patch
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.yXnNox/_old  2018-12-03 10:10:22.267710079 +0100
+++ /var/tmp/diff_new_pack.yXnNox/_new  2018-12-03 10:10:22.271710076 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 

++ virtman-load-stored-uris.patch ++
--- /var/tmp/diff_new_pack.yXnNox/_old  2018-12-03 10:10:22.431709928 +0100
+++ /var/tmp/diff_new_pack.yXnNox/_new  2018-12-03 10:10:22.431709928 +0100
@@ -5,27 +5,21 @@
 ===
 --- virt-manager-2.0.0.orig/virtManager/connmanager.py
 +++ virt-manager-2.0.0/virtManager/connmanager.py
-@@ -26,12 +26,23 @@ class vmmConnectionManager(vmmGObject):
+@@ -26,11 +26,17 @@ class vmmConnectionManager(vmmGObject):
  
  def __init__(self):
  vmmGObject.__init__(self)
 +from .connect import vmmConnect
-+tryuri = vmmConnect.default_uri()
-+found_uri = False
++default_uri = vmmConnect.default_uri()
  
  self._conns = {}
  
  # Load URIs from gsettings
  for uri in self.config.get_conn_uris():
 +if uri == 'xen:///' or uri == 'qemu:///system':
-+if tryuri and tryuri != uri:
-+logging.debug("Skipping %s because it is incompatible 
with local host", uri)
++if default_uri and default_uri != uri:
++logging.debug("Skipping local connection %s because it is 
incompatible with the host", uri)
 +continue
-+found_uri = True
  self.add_conn(uri)
-+if tryuri and found_uri is False:
-+logging.debug("CEA:: Didn't connect with anything, use default 
%s", tryuri)
-+self.add_conn(tryuri)
  
  def _cleanup(self):
- for conn in self._conns.values():




commit virt-manager for openSUSE:Factory

2018-11-28 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-11-28 11:15:35

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new.19453 (New)


Package is "virt-manager"

Wed Nov 28 11:15:35 2018 rev:185 rq:652243 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-11-10 16:59:40.607731638 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.19453/virt-manager.changes 
2018-11-28 11:15:42.486704910 +0100
@@ -1,0 +2,8 @@
+Tue Nov 27 13:13:15 MST 2018 - carn...@suse.com
+
+- bsc#1116990 - [virt-install] internal error: libxenlight failed
+  to create new domain 'sles-11-sp4-64-pv-def-net'. Fix reversed
+  logic when testing for i386.
+  virtinst-use-xenpae-kernel-for-32bit.patch
+
+---
@@ -69,0 +78,6 @@
+
+---
+Mon Oct 15 06:41:55 UTC 2018 - Klaus Kämpf 
+
+- Remove hard dependency on openSUSE branding by changing it to a
+  recommends



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.BSVw8u/_old  2018-11-28 11:15:43.618703331 +0100
+++ /var/tmp/diff_new_pack.BSVw8u/_new  2018-11-28 11:15:43.618703331 +0100
@@ -97,7 +97,7 @@
 Requires:   virt-manager-common = %{verrel}
 %if 0%{?is_opensuse} == 1
 # virtman-desktop.patch changes the icon to be yast-vm-management, which is 
provided by yast2-branding
-Requires:   yast2-branding-openSUSE
+Recommends: yast2-branding-openSUSE
 %endif
 
 %if %{with_guestfs}

++ virtinst-use-xenpae-kernel-for-32bit.patch ++
--- /var/tmp/diff_new_pack.BSVw8u/_old  2018-11-28 11:15:43.774703113 +0100
+++ /var/tmp/diff_new_pack.BSVw8u/_new  2018-11-28 11:15:43.774703113 +0100
@@ -15,14 +15,14 @@
 -self._kernel_paths.append(
 -("boot/%s/vmlinuz-xen" % tree_arch,
 - "boot/%s/initrd-xen" % tree_arch))
-+if self.arch == "i386":
-+self._kernel_paths.append(
-+("boot/%s/vmlinuz-xen" % tree_arch,
-+ "boot/%s/initrd-xen" % tree_arch))
-+else:
++if tree_arch == "i386":
 +self._kernel_paths.append(
 +("boot/%s/vmlinuz-xenpae" % tree_arch,
 + "boot/%s/initrd-xenpae" % tree_arch))
++else:
++self._kernel_paths.append(
++("boot/%s/vmlinuz-xen" % tree_arch,
++ "boot/%s/initrd-xen" % tree_arch))
  
  if (tree_arch == "s390x" and
  (self._os_variant == "sles11" or self._os_variant == "sled11")):




commit virt-manager for openSUSE:Factory

2018-11-10 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-11-10 16:58:33

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Sat Nov 10 16:58:33 2018 rev:184 rq:645919 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-10-25 09:13:02.654264591 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-11-10 16:59:40.607731638 +0100
@@ -1,0 +2,58 @@
+Tue Oct 30 16:06:51 MDT 2018 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch
+  25b88733-urldetect-Dont-overload-suse_content-variable.patch
+  9308bae3-util-Fix-typo-vpcu-vcpu.patch
+
+---
+Tue Oct 30 15:37:09 MDT 2018 - carn...@suse.com
+
+- Update to virt-manager 2.0.0 (fate#326786)
+  virt-manager-2.0.0.tar.bz2
+  * Finish port to Python 3 (Radostin Stoyanov, Cole Robinson)
+  * Improved VM defaults for supported OS: q35 PCIe, usb3, CPU host-model
+  * Search based OS selection UI for new VMs (Daniel P. Berrangé, Cole 
Robinson)
+  * Track OS name for lifetime of domain in XML
+  * Host interface management UI has been completely removed
+  * Show domain IP on interface details page (Lin Ma, Cole Robinson)
+  * More efficient stats polling with AllDomainStats (Simon Kobyda, Cole 
Robinson)
+  * TPM device model and backend UI (Marc-André Lureau, Stefan Berger)
+  * Show connection state in UI (Lin Ma)
+  * Show attached devices in UI (Lin Ma)
+  * UI option to plug/unplug VM nic link (Simon Kobyda)
+  * UI support for disk discard and detect_zeroes (Povilas Kanapickas, Lin Ma)
+  * Improved SUSE –location URL/ISO detection (Charles Arnold)
+  * cli and UI support for SCSI persistent reservations (Lin Ma)
+  * cli: Add –network mtu.size= option (Anya Harter)
+  * cli: Add –disk driver.copy_on_read (Anya Harter)
+  * cli: Add –disk geometry support (Anya Harter)
+  * cli: Add –sound codec support (Anya Harter)
+  * cli: Add –hostdev net/char/block for LXC (Lubomir Rintel)
+  * cli: Add –memorybacking access_mode and source_type (Marc-André Lureau)
+  * cli: Add –boot rebootTimout (Yossi Ovadia)
+  * cli: Add –boot bootloader=
+  * cli: Add –destroy-on-exit
+- Drop patches contained in new tarball or not required
+  0004-virtinst-python3-use-binary-mode-for-kernel.patch
+  27d4b167-virtinst-update-location-for-opensuse.patch
+  5a7698c7-fix-select-network-vol.patch
+  d15b78ab-virtinst-read-CPU-model-from-domain-capabilities.patch
+  fd6a8154-virtinst-compare-host-and-domain-cpu-models.patch
+  5a7698c7-fix-select-network-vol.patch
+  virtcli-python2-to-python3-conversion.patch
+  virtinst-add-ppc64-arch-support.patch
+  virtinst-check-date-format.patch
+  virtinst-fix-sle-distro-parsing.patch
+  virtinst-handle-tumbleweed-treeinfo-file.patch
+  virtinst-nfs-install-sanitize.patch
+  virtinst-no-usb-tablet-for-xenpv.patch
+  virtinst-set-qemu-emulator.patch
+  virtinst-storage-ocfs2.patch
+  virtman-add-connect-default.patch
+  virtman-fix-missing-translations.patch
+  virtman-libvirtd-not-running.patch
+  virtman-packages.patch
+  virtmisc-python2-to-python3-conversion.patch
+
+---

Old:

  0004-virtinst-python3-use-binary-mode-for-kernel.patch
  27d4b167-virtinst-update-location-for-opensuse.patch
  5a7698c7-fix-select-network-vol.patch
  d15b78ab-virtinst-read-CPU-model-from-domain-capabilities.patch
  fd6a8154-virtinst-compare-host-and-domain-cpu-models.patch
  virt-manager-1.5.1.tar.bz2
  virtcli-python2-to-python3-conversion.patch
  virtinst-add-ppc64-arch-support.patch
  virtinst-check-date-format.patch
  virtinst-fix-sle-distro-parsing.patch
  virtinst-handle-tumbleweed-treeinfo-file.patch
  virtinst-nfs-install-sanitize.patch
  virtinst-no-usb-tablet-for-xenpv.patch
  virtinst-set-qemu-emulator.patch
  virtinst-storage-ocfs2.patch
  virtman-add-connect-default.patch
  virtman-fix-missing-translations.patch
  virtman-libvirtd-not-running.patch
  virtman-packages.patch
  virtmisc-python2-to-python3-conversion.patch

New:

  25b88733-urldetect-Dont-overload-suse_content-variable.patch
  9308bae3-util-Fix-typo-vpcu-vcpu.patch
  b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch
  virt-manager-2.0.0.tar.bz2



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.xxFAMG/_old  2018-11-10 17:00:15.263689281 +0100
+++ /var/tmp/diff_new_pack.xxFAMG/_new  2018-11-10 17:00:15.267689277 +0100
@@ -12,22 +12,16 @@
 # license that conforms to 

commit virt-manager for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-10-25 09:13:00

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Thu Oct 25 09:13:00 2018 rev:183 rq:644405 version:1.5.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-10-23 20:42:05.828421965 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-10-25 09:13:02.654264591 +0200
@@ -1,0 +2,6 @@
+Mon Oct 22 11:33:51 UTC 2018 - Guillaume GARDET 
+
+- boo#1112729 - Add missing python3-six dep introduced by patch 
+  0003-virtinst-python3-avoid-using-long-type.patch
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.UyRb1S/_old  2018-10-25 09:13:04.610263420 +0200
+++ /var/tmp/diff_new_pack.UyRb1S/_new  2018-10-25 09:13:04.614263417 +0200
@@ -109,6 +109,8 @@
 Requires:   dconf
 Requires:   gtk3
 Requires:   python3-gobject-Gdk
+# Patch 0003-virtinst-python3-avoid-using-long-type.patch adds a python3-six 
dependency. Drop it when dropping the patch.
+Requires:   python3-six
 # For console widget
 Requires:   python3-cairo
 Requires:   python3-gobject-cairo




commit virt-manager for openSUSE:Factory

2018-10-23 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-10-23 20:41:09

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Tue Oct 23 20:41:09 2018 rev:182 rq:643838 version:1.5.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-07-25 16:12:46.245882659 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-10-23 20:42:05.828421965 +0200
@@ -1,0 +2,6 @@
+Tue Oct 16 02:24:29 UTC 2018 - James Fehlig 
+
+- Fix selection of network volumes (bsc#1100558)
+  5a7698c7-fix-select-network-vol.patch
+
+---

New:

  5a7698c7-fix-select-network-vol.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.zoo6e9/_old  2018-10-23 20:42:06.860420732 +0200
+++ /var/tmp/diff_new_pack.zoo6e9/_new  2018-10-23 20:42:06.864420727 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -41,6 +41,7 @@
 Patch1: 27d4b167-virtinst-update-location-for-opensuse.patch
 Patch2: d15b78ab-virtinst-read-CPU-model-from-domain-capabilities.patch
 Patch3: fd6a8154-virtinst-compare-host-and-domain-cpu-models.patch
+Patch4: 5a7698c7-fix-select-network-vol.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -186,6 +187,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 5a7698c7-fix-select-network-vol.patch ++
commit 5a7698c7998d673e0742046478630824162966b4
Author: Jim Fehlig 
Date:   Tue Oct 9 14:30:09 2018 -0600

Fix selection of network volumes

When creating a new VM and selecting a volume from a network-based
storage pool such as rbd, the volume is not recognized as network-based
and is treated as a volume from a directory storage pool.

This patch adds a method to check if the volume's path points to a
network-based volume, then uses the method to avoid actions like
setting unix file permissions on the volume, which doesn't make
sense for a network-based volume.

Signed-off-by: Jim Fehlig 

(crobinso: rebase, tweak lookup logic)

Index: virt-manager-1.5.1/virtinst/diskbackend.py
===
--- virt-manager-1.5.1.orig/virtinst/diskbackend.py
+++ virt-manager-1.5.1/virtinst/diskbackend.py
@@ -156,7 +156,7 @@ def manage_path(conn, path):
 if not path:
 return None, None
 
-if not path_is_url(path):
+if not path_is_url(path) and not path_is_network_vol(conn, path):
 path = os.path.abspath(path)
 vol, pool = check_if_path_managed(conn, path)
 if vol or pool or not _can_auto_manage(path):
@@ -188,6 +188,19 @@ def path_is_url(path):
 return bool(re.match("[a-zA-Z]+(\+[a-zA-Z]+)?://.*", path))
 
 
+def path_is_network_vol(conn, path):
+"""
+Detect if path is a network volume such as rbd, gluster, etc
+"""
+if not path:
+return False
+
+for volxml in conn.fetch_all_vols():
+if volxml.target_path == path:
+return volxml.type == "network"
+return False
+
+
 def _get_dev_type(path, vol_xml, vol_object, pool_xml, remote):
 """
 Try to get device type for volume.
Index: virt-manager-1.5.1/virtinst/devicedisk.py
===
--- virt-manager-1.5.1.orig/virtinst/devicedisk.py
+++ virt-manager-1.5.1/virtinst/devicedisk.py
@@ -216,6 +216,8 @@ class VirtualDisk(VirtualDevice):
 return []
 if diskbackend.path_is_url(path):
 return []
+if diskbackend.path_is_network_vol(conn, path):
+return []
 
 try:
 # Get UID for string name
++ virtinst-python2-to-python3-conversion.patch ++
--- /var/tmp/diff_new_pack.zoo6e9/_old  2018-10-23 20:42:06.984420584 +0200
+++ /var/tmp/diff_new_pack.zoo6e9/_new  2018-10-23 20:42:06.984420584 +0200
@@ -325,7 +325,7 @@
  
  
  class _Host(XMLBuilder):
-@@ -453,7 +453,7 @@ class VirtualDisk(VirtualDevice):
+@@ -455,7 +455,7 @@ class VirtualDisk(VirtualDevice):
  digit = 1
  
  seen_valid = True
@@ -334,7 +334,7 @@
  
  return gen_t
  
-@@ -1054,11 +1054,11 @@ class VirtualDisk(VirtualDevice):
+@@ -1056,11 +1056,11 @@ class 

commit virt-manager for openSUSE:Factory

2018-07-25 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-07-25 16:12:38

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Wed Jul 25 16:12:38 2018 rev:181 rq:625099 version:1.5.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-06-22 13:35:18.598813008 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-07-25 16:12:46.245882659 +0200
@@ -1,0 +2,6 @@
+Fri Jul 13 16:03:17 MDT 2018 - carn...@suse.com
+
+- Fix sle15 detection because of changes in osinfo-db (bsc#1054986)
+  virtinst-add-sle15-detection-support.patch
+
+---



Other differences:
--
++ virtinst-add-sle15-detection-support.patch ++
--- /var/tmp/diff_new_pack.cCCNv5/_old  2018-07-25 16:12:47.985886084 +0200
+++ /var/tmp/diff_new_pack.cCCNv5/_new  2018-07-25 16:12:47.985886084 +0200
@@ -82,7 +82,12 @@
  
  def _variantFromVersion(self):
  distro_version = self.version_from_content[1].strip()
-@@ -1079,7 +1102,7 @@ class SuseDistro(Distro):
+@@ -1075,11 +1098,11 @@ class SuseDistro(Distro):
+ self.os_variant = self.urldistro
+ 
+ sp_version = None
+-if self.os_variant.startswith(("sles", "sled")):
++if self.os_variant.startswith(("sle")):
  if len(distro_version.split('.', 1)) == 2:
  sp_version = 'sp' + distro_version.split('.', 1)[1].strip()
  self.os_variant += version
@@ -101,7 +106,7 @@
 +family = self.treeinfo.get("general", "family")
 +if "SUSE Linux Enterprise Server" in family and 'sles' in 
self.urldistro or \
 +   "SUSE Linux Enterprise Desktop" in family and 'sled' in 
self.urldistro or \
-+   "SUSE Linux Enterprise" in family and 'sles' in 
self.urldistro or \
++   "SUSE Linux Enterprise" in family and 'sle' in 
self.urldistro or \
 +   "SUSE Containers" in family and 'caasp' in self.urldistro 
or \
 +   "openSUSE" in family and 'opensuse' in self.urldistro or \
 +   "Open Enterprise" in family and 'oes' in self.urldistro:
@@ -116,7 +121,18 @@
  # self.version_from_content is the VERSION line from the contents file
  if (not self.version_from_content or
  self.version_from_content[1] is None):
-@@ -1154,8 +1195,6 @@ class OESDistro(SuseDistro):
+@@ -1138,6 +1179,10 @@ class SuseDistro(Distro):
+ return self.os_variant
+ 
+ 
++class SLEDistro(SuseDistro):
++urldistro = "sle"
++
++
+ class SLESDistro(SuseDistro):
+ urldistro = "sles"
+ 
+@@ -1154,8 +1199,6 @@ class OESDistro(SuseDistro):
  urldistro = "oes"
  
  

++ virtinst-osdict-get_supported.patch ++
--- /var/tmp/diff_new_pack.cCCNv5/_old  2018-07-25 16:12:48.021886154 +0200
+++ /var/tmp/diff_new_pack.cCCNv5/_new  2018-07-25 16:12:48.021886154 +0200
@@ -3,10 +3,10 @@
 date in the osinfo-db file may be past but we want the distro to
 continue to show up in the list.
 
-Index: virt-manager-1.4.3/virtinst/osdict.py
+Index: virt-manager-1.5.1/virtinst/osdict.py
 ===
 virt-manager-1.4.3.orig/virtinst/osdict.py
-+++ virt-manager-1.4.3/virtinst/osdict.py
+--- virt-manager-1.5.1.orig/virtinst/osdict.py
 virt-manager-1.5.1/virtinst/osdict.py
 @@ -376,8 +376,11 @@ class _OsVariant(object):
  # EOL date. So assume None == EOL, add some manual work arounds.
  # We should fix this in a new libosinfo version, and then drop
@@ -15,7 +15,7 @@
  if self._is_related_to(["fedora24", "rhel7.0", "debian6",
 -"ubuntu13.04", "win8", "win2k12", "mageia5", "centos7.0"],
 +"ubuntu13.04", "win8", "win2k12", "mageia5", "centos7.0",
-+"sles15", "sles12sp3", "sles12sp2", "sles12sp1", "sles11sp4",
++"sle15", "sles12sp3", "sles12sp2", "sles12sp1", "sles11sp4",
 +"tumbleweed", "opensuse15", "opensuse42.3" ],
  check_clones=False, check_derives=False):
  return True

++ virtinst-python2-to-python3-conversion.patch ++
--- /var/tmp/diff_new_pack.cCCNv5/_old  2018-07-25 16:12:48.029886170 +0200
+++ /var/tmp/diff_new_pack.cCCNv5/_new  2018-07-25 16:12:48.029886170 +0200
@@ -541,7 +541,7 @@
  logging.debug(e)
  
  if self.type == "xen":
-@@ -1477,7 +1486,7 @@ class ALTLinuxDistro(Distro):
+@@ -1481,7 +1490,7 @@ class ALTLinuxDistro(Distro):
  # Build list of all *Distro classes
  def _build_distro_list():
  

commit virt-manager for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-06-22 13:35:06

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Jun 22 13:35:06 2018 rev:180 rq:618146 version:1.5.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-06-02 12:14:10.539528193 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-06-22 13:35:18.598813008 +0200
@@ -1,0 +2,14 @@
+Wed Jun 20 11:04:14 MDT 2018 - carn...@suse.com
+
+- bsc#1096819 - virt-install - Couldn't find hvm kernel for SUSE
+  tree
+  virtinst-python2-to-python3-conversion.patch
+
+---
+Tue Jun 19 11:22:52 MDT 2018 - carn...@suse.com
+
+- bsc#1098054 - osinfo-query and virt-install do not detect
+  caasp3.0
+  virtinst-add-caasp-support.patch
+
+---



Other differences:
--
++ virtinst-add-caasp-support.patch ++
--- /var/tmp/diff_new_pack.IsdOAi/_old  2018-06-22 13:35:24.754585449 +0200
+++ /var/tmp/diff_new_pack.IsdOAi/_new  2018-06-22 13:35:24.754585449 +0200
@@ -1,21 +1,23 @@
 References: bsc#1010060
 
-Index: virt-manager-1.5.0/virtinst/urlfetcher.py
+Index: virt-manager-1.5.1/virtinst/urlfetcher.py
 ===
 virt-manager-1.5.0.orig/virtinst/urlfetcher.py
-+++ virt-manager-1.5.0/virtinst/urlfetcher.py
-@@ -490,6 +490,10 @@ def _distroFromSUSEContent(fetcher, arch
+--- virt-manager-1.5.1.orig/virtinst/urlfetcher.py
 virt-manager-1.5.1/virtinst/urlfetcher.py
+@@ -490,6 +490,12 @@ def _distroFromSUSEContent(fetcher, arch
  dclass = OESDistro
  if distro_version is None:
  distro_version = _parse_sle_distribution(distribution)
-+elif re.match(".*SUSE Container as a Service Platform*", 
distribution[1]):
++elif re.match(".*SUSE Container as a Service Platform*", 
distribution[1]) or \
++ re.match(".*SUSE CaaS Platform*", distribution[1]):
 +dclass = CAASPDistro
 +if distro_version is None:
-+distro_version = ['VERSION', distribution[1].strip().rsplit(' 
')[6]]
++dparts = distribution[1].strip().rsplit(' ')
++distro_version = ['VERSION', dparts[len(dparts)-1]]
  elif re.match(".*openSUSE.*", distribution[1]):
  dclass = OpensuseDistro
  if distro_version is None:
-@@ -1076,6 +1080,8 @@ class SuseDistro(Distro):
+@@ -1076,6 +1082,8 @@ class SuseDistro(Distro):
  self.os_variant += major_version + 'sp' + sp_version
  else:
  self.os_variant += major_version
@@ -24,7 +26,7 @@
  else:
  self.os_variant += "9"
  
-@@ -1122,6 +1128,11 @@ class SLESDistro(SuseDistro):
+@@ -1122,6 +1130,11 @@ class SLESDistro(SuseDistro):
  class SLEDDistro(SuseDistro):
  urldistro = "sled"
  

++ virtinst-add-sle15-detection-support.patch ++
--- /var/tmp/diff_new_pack.IsdOAi/_old  2018-06-22 13:35:24.766585006 +0200
+++ /var/tmp/diff_new_pack.IsdOAi/_new  2018-06-22 13:35:24.766585006 +0200
@@ -6,10 +6,10 @@
 As a fallback, detection is also setup to look at the media.1/products and
 media.1/build files.
 
-Index: virt-manager-1.5.0/virtinst/urlfetcher.py
+Index: virt-manager-1.5.1/virtinst/urlfetcher.py
 ===
 virt-manager-1.5.0.orig/virtinst/urlfetcher.py
-+++ virt-manager-1.5.0/virtinst/urlfetcher.py
+--- virt-manager-1.5.1.orig/virtinst/urlfetcher.py
 virt-manager-1.5.1/virtinst/urlfetcher.py
 @@ -416,7 +416,23 @@ def _distroFromSUSEContent(fetcher, arch
  try:
  cbuf = fetcher.acquireFileContent("content")
@@ -44,10 +44,10 @@
  dclass = SLESDistro
  if distro_version is None:
  distro_version = _parse_sle_distribution(distribution)
-@@ -505,10 +521,13 @@ def _distroFromSUSEContent(fetcher, arch
- dclass = CAASPDistro
+@@ -507,10 +523,13 @@ def _distroFromSUSEContent(fetcher, arch
  if distro_version is None:
- distro_version = ['VERSION', distribution[1].strip().rsplit(' 
')[6]]
+ dparts = distribution[1].strip().rsplit(' ')
+ distro_version = ['VERSION', dparts[len(dparts)-1]]
 -elif re.match(".*openSUSE.*", distribution[1]):
 +elif re.match(".*openSUSE.*", distribution[1]) or re.match("openSUSE 
*", distribution[1]):
  dclass = OpensuseDistro
@@ -60,7 +60,7 @@
  

commit virt-manager for openSUSE:Factory

2018-06-02 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-06-02 12:13:42

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Sat Jun  2 12:13:42 2018 rev:179 rq:613360 version:1.5.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-04-27 16:09:37.953608092 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-06-02 12:14:10.539528193 +0200
@@ -1,0 +2,18 @@
+Thu May 31 11:45:17 MDT 2018 - carn...@suse.com
+
+- bsc#1081544 - SLEx_15_LOC : YaST: ALL_LANGS:Untranslated text
+  'Options' in Virtualization/Create a new Virtual Machine/Network
+  Install (HTTP...)/Step 2 of 5 dialog
+- bsc#1081542 - SLEx_15_LOC : YaST: ALL_LANGS:Untranslated text.
+  Translation fix included in new tarball.
+  virtman-fix-missing-translations.patch
+
+---
+Mon May 21 11:35:45 MDT 2018 - carn...@suse.com
+
+- Update to virt-manager 1.5.1 (bsc#1027942). This was a quick bug
+  bugfix release that came out shortly after version 1.5.0
+  virt-manager-1.5.1.tar.bz2
+- Drop 4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch
+
+---

Old:

  4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch
  virt-manager-1.5.0.tar.bz2

New:

  virt-manager-1.5.1.tar.bz2
  virtman-fix-missing-translations.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.mBsrfa/_old  2018-06-02 12:14:12.635451316 +0200
+++ /var/tmp/diff_new_pack.mBsrfa/_new  2018-06-02 12:14:12.639451170 +0200
@@ -23,11 +23,11 @@
 %define libvirt_xen_packages   ""
 %define preferred_distros  "sles15,opensuse15"
 %define kvm_packages   ""
-%define _version   1.5.0
+%define _version   1.5.1
 %define _release   0
 
 Name:   virt-manager
-Version:1.5.0
+Version:1.5.1
 Release:0
 Summary:Virtual Machine Manager
 License:GPL-2.0-or-later
@@ -38,7 +38,6 @@
 Source2:virt-install.desktop
 Source3:virt-manager-supportconfig
 # Upstream Patches
-Patch0: 4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch
 Patch1: 27d4b167-virtinst-update-location-for-opensuse.patch
 Patch2: d15b78ab-virtinst-read-CPU-model-from-domain-capabilities.patch
 Patch3: fd6a8154-virtinst-compare-host-and-domain-cpu-models.patch
@@ -74,6 +73,7 @@
 Patch153:   virtman-check-for-valid-display.patch
 Patch154:   virtman-allow-creating-i686-vm.patch
 Patch155:   virtman-dont-specify-vte-version.patch
+Patch156:   virtman-fix-missing-translations.patch
 Patch160:   virtinst-xen-drive-type.patch
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
@@ -183,7 +183,6 @@
 %prep
 %setup -q
 # Upstream Patches
-%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
@@ -219,6 +218,7 @@
 %patch153 -p1
 %patch154 -p1
 %patch155 -p1
+%patch156 -p1
 %patch160 -p1
 %patch161 -p1
 %patch162 -p1

++ virt-manager-1.5.0.tar.bz2 -> virt-manager-1.5.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-manager-1.5.0/NEWS.md 
new/virt-manager-1.5.1/NEWS.md
--- old/virt-manager-1.5.0/NEWS.md  2018-02-07 00:01:20.0 +0100
+++ new/virt-manager-1.5.1/NEWS.md  2018-02-28 19:42:52.0 +0100
@@ -1,5 +1,10 @@
 # Virtual Machine Manager News
 
+## Release 1.5.1 (February 28, 2018)
+- Bug fix release
+- Fix potential crash with libxml2 error callbacks
+- Fix disk/net/mem VM graphs
+
 ## Release 1.5.0 (February 06, 2018)
 - python3 prep work (Radostin Stoyanov, Cole Robinson, Cédric Bosdonnat)
 - Switch --location ISO to use isoinfo (Andrew Wong)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-manager-1.5.0/PKG-INFO 
new/virt-manager-1.5.1/PKG-INFO
--- old/virt-manager-1.5.0/PKG-INFO 2018-02-07 00:05:55.0 +0100
+++ new/virt-manager-1.5.1/PKG-INFO 2018-02-28 19:45:39.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: virt-manager
-Version: 1.5.0
+Version: 1.5.1
 Summary: UNKNOWN
 Home-page: http://virt-manager.org
 Author: Cole Robinson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-manager-1.5.0/virt-manager.spec 
new/virt-manager-1.5.1/virt-manager.spec
--- old/virt-manager-1.5.0/virt-manager.spec2018-02-07 00:05:55.0 
+0100
+++ new/virt-manager-1.5.1/virt-manager.spec2018-02-28 19:45:39.0 

commit virt-manager for openSUSE:Factory

2018-04-27 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-04-27 16:09:34

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Apr 27 16:09:34 2018 rev:178 rq:601698 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-04-05 15:34:40.385580504 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-04-27 16:09:37.953608092 +0200
@@ -1,0 +2,7 @@
+Thu Apr 26 15:00:36 MDT 2018 - carn...@suse.com
+
+- bsc#1091113 - virt-install errs with: No option 'version' in
+  section: 'general
+  virtinst-handle-tumbleweed-treeinfo-file.patch
+
+---

New:

  virtinst-handle-tumbleweed-treeinfo-file.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.xSUIvE/_old  2018-04-27 16:09:41.285485895 +0200
+++ /var/tmp/diff_new_pack.xSUIvE/_new  2018-04-27 16:09:41.289485748 +0200
@@ -87,6 +87,7 @@
 Patch170:   virtinst-osdict-get_supported.patch
 Patch171:   virtinst-dont-use-special-copy-cpu-features.patch
 Patch172:   virtinst-use-latest-opensuse-version-when-unknown-media.patch
+Patch173:   virtinst-handle-tumbleweed-treeinfo-file.patch
 # Python2 to Python3 patches
 Patch200:   virtmisc-python2-to-python3-conversion.patch
 Patch201:   virtcli-python2-to-python3-conversion.patch
@@ -231,6 +232,7 @@
 %patch170 -p1
 %patch171 -p1
 %patch172 -p1
+%patch173 -p1
 # Python2 to Python3 patches
 %patch200 -p1
 %patch201 -p1

++ virtinst-handle-tumbleweed-treeinfo-file.patch ++
References: bsc#1091113
In Tumbleweed the .treeinfo file has no version as it is mostly meaningless.

Index: virt-manager-1.5.0/virtinst/urlfetcher.py
===
--- virt-manager-1.5.0.orig/virtinst/urlfetcher.py
+++ virt-manager-1.5.0/virtinst/urlfetcher.py
@@ -1136,7 +1136,10 @@ class SuseDistro(Distro):
"Open Enterprise" in family and 'oes' in self.urldistro:
 ret = True
 if ret:
-version = self.treeinfo.get("general", "version")
+if 'Tumbleweed' not in family:
+version = self.treeinfo.get("general", "version")
+else:
+version = "tmblweed"
 distro_version = ['VERSION', version]
 self.version_from_content = distro_version
 self._variantFromVersion()
++ virtinst-python2-to-python3-conversion.patch ++
--- /var/tmp/diff_new_pack.xSUIvE/_old  2018-04-27 16:09:41.513477533 +0200
+++ /var/tmp/diff_new_pack.xSUIvE/_new  2018-04-27 16:09:41.517477386 +0200
@@ -533,7 +533,7 @@
  logging.debug(e)
  
  if self.type == "xen":
-@@ -1472,7 +1480,7 @@ class ALTLinuxDistro(Distro):
+@@ -1475,7 +1483,7 @@ class ALTLinuxDistro(Distro):
  # Build list of all *Distro classes
  def _build_distro_list():
  allstores = []




commit virt-manager for openSUSE:Factory

2018-04-05 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-04-05 15:34:28

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Thu Apr  5 15:34:28 2018 rev:177 rq:593630 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-03-30 12:08:51.866606442 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-04-05 15:34:40.385580504 +0200
@@ -1,0 +2,10 @@
+Tue Apr  3 09:21:41 MDT 2018 - carn...@suse.com
+
+- bsc#1086038 - VM guests cannot be properly installed with
+  virt-install
+  d15b78ab-virtinst-read-CPU-model-from-domain-capabilities.patch
+  fd6a8154-virtinst-compare-host-and-domain-cpu-models.patch
+- Drop virtinst-dont-set-cpu-model-when-caps-mismatch.patch in
+  favor of upstream versions.
+
+---

Old:

  virtinst-dont-set-cpu-model-when-caps-mismatch.patch

New:

  d15b78ab-virtinst-read-CPU-model-from-domain-capabilities.patch
  fd6a8154-virtinst-compare-host-and-domain-cpu-models.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.2Asovg/_old  2018-04-05 15:34:41.977522971 +0200
+++ /var/tmp/diff_new_pack.2Asovg/_new  2018-04-05 15:34:41.981522825 +0200
@@ -40,6 +40,8 @@
 # Upstream Patches
 Patch0: 4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch
 Patch1: 27d4b167-virtinst-update-location-for-opensuse.patch
+Patch2: d15b78ab-virtinst-read-CPU-model-from-domain-capabilities.patch
+Patch3: fd6a8154-virtinst-compare-host-and-domain-cpu-models.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -84,8 +86,7 @@
 Patch169:   virtinst-keep-install-iso-attached.patch
 Patch170:   virtinst-osdict-get_supported.patch
 Patch171:   virtinst-dont-use-special-copy-cpu-features.patch
-Patch172:   virtinst-dont-set-cpu-model-when-caps-mismatch.patch
-Patch173:   virtinst-use-latest-opensuse-version-when-unknown-media.patch
+Patch172:   virtinst-use-latest-opensuse-version-when-unknown-media.patch
 # Python2 to Python3 patches
 Patch200:   virtmisc-python2-to-python3-conversion.patch
 Patch201:   virtcli-python2-to-python3-conversion.patch
@@ -183,6 +184,8 @@
 # Upstream Patches
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -228,7 +231,6 @@
 %patch170 -p1
 %patch171 -p1
 %patch172 -p1
-%patch173 -p1
 # Python2 to Python3 patches
 %patch200 -p1
 %patch201 -p1

++ d15b78ab-virtinst-read-CPU-model-from-domain-capabilities.patch ++
Subject: virtinst: read CPU model from domain capabilities
From: Charles Arnold carn...@suse.com Wed Mar 28 13:45:29 2018 -0600
Date: Tue Apr 3 10:57:15 2018 -0400:
Git: d15b78ab0d7b9e73261a19fafc841a4ee206d413

Add functionality to acquire the CPU model from the
libvirt domain capabilities. This is used to compare
with the host CPU model.

(crobinso: add test coverage, rework domcaps layout a bit)

Index: virt-manager-1.5.0/tests/capabilities-xml/kvm-x86_64-domcaps.xml
===
--- virt-manager-1.5.0.orig/tests/capabilities-xml/kvm-x86_64-domcaps.xml
+++ virt-manager-1.5.0/tests/capabilities-xml/kvm-x86_64-domcaps.xml
@@ -18,6 +18,68 @@
   
 
   
+  
+
+
+  Broadwell
+  Intel
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+  
+
+
+  qemu64
+  qemu32
+  phenom
+  pentium3
+  pentium2
+  pentium
+  n270
+  kvm64
+  kvm32
+  coreduo
+  core2duo
+  athlon
+  Westmere
+  Westmere-IBRS
+  Skylake-Server
+  Skylake-Server-IBRS
+  Skylake-Client
+  Skylake-Client-IBRS
+  SandyBridge
+  SandyBridge-IBRS
+  Penryn
+  Opteron_G5
+  Opteron_G4
+  Opteron_G3
+  Opteron_G2
+  Opteron_G1
+  Nehalem
+  Nehalem-IBRS
+  IvyBridge
+  IvyBridge-IBRS
+  Haswell
+  Haswell-noTSX
+  Haswell-noTSX-IBRS
+  Haswell-IBRS
+  EPYC
+  EPYC-IBPB
+  Conroe
+  Broadwell
+  Broadwell-noTSX
+  Broadwell-noTSX-IBRS
+  Broadwell-IBRS
+  486
+
+  
   
 
   
@@ -32,8 +94,25 @@
 scsi
 virtio
 usb
+sata
   
 
+
+  
+sdl
+vnc
+spice
+  
+
+
+  
+vga
+cirrus
+vmvga
+qxl
+virtio
+  
+
 
   
 subsystem
@@ -50,11 +129,10 @@
 scsi
   
 

commit virt-manager for openSUSE:Factory

2018-03-30 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-03-30 12:08:50

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Mar 30 12:08:50 2018 rev:176 rq:592352 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-03-28 10:34:15.250846327 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-03-30 12:08:51.866606442 +0200
@@ -1,0 +2,7 @@
+Thu Mar 29 09:06:00 MDT 2018 - carn...@suse.com
+
+- Fallback to latest version of openSUSE when opensuse-unknown is
+  detected for the ISO (bsc#1085757)
+  virtinst-use-latest-opensuse-version-when-unknown-media.patch
+
+---

New:

  virtinst-use-latest-opensuse-version-when-unknown-media.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.y7qiWu/_old  2018-03-30 12:08:52.974566384 +0200
+++ /var/tmp/diff_new_pack.y7qiWu/_new  2018-03-30 12:08:52.978566239 +0200
@@ -85,6 +85,7 @@
 Patch170:   virtinst-osdict-get_supported.patch
 Patch171:   virtinst-dont-use-special-copy-cpu-features.patch
 Patch172:   virtinst-dont-set-cpu-model-when-caps-mismatch.patch
+Patch173:   virtinst-use-latest-opensuse-version-when-unknown-media.patch
 # Python2 to Python3 patches
 Patch200:   virtmisc-python2-to-python3-conversion.patch
 Patch201:   virtcli-python2-to-python3-conversion.patch
@@ -227,6 +228,7 @@
 %patch170 -p1
 %patch171 -p1
 %patch172 -p1
+%patch173 -p1
 # Python2 to Python3 patches
 %patch200 -p1
 %patch201 -p1

++ virtinst-python2-to-python3-conversion.patch ++
--- /var/tmp/diff_new_pack.y7qiWu/_old  2018-03-30 12:08:53.102561756 +0200
+++ /var/tmp/diff_new_pack.y7qiWu/_new  2018-03-30 12:08:53.106561612 +0200
@@ -92,7 +92,7 @@
  sorted_distro_list.sort()
  sortpref.reverse()
  for prefer in sortpref:
-@@ -258,7 +258,7 @@ class _OSDB(object):
+@@ -264,7 +264,7 @@ class _OSDB(object):
  """
  sortmap = {}
  

++ virtinst-use-latest-opensuse-version-when-unknown-media.patch ++
References: bsc#1085757

When a version openSUSE is under development, the lookup fails to
detect the version of openSUSE ISO media (it changes with every build).
When 'opensuse-unknown' is detected, look up the most current version
of openSUSE and default to that. This is the same way fedora does it.

Index: virt-manager-1.5.0/virtinst/osdict.py
===
--- virt-manager-1.5.0.orig/virtinst/osdict.py
+++ virt-manager-1.5.0/virtinst/osdict.py
@@ -241,6 +241,12 @@ class _OSDB(object):
 "Converting that to the latest fedora OS version=%s",
 location, osname)
 
+if osname == "opensuse-unknown":
+osname = self.latest_opensuse_version()
+logging.debug("Detected location=%s as os=opensuse-unknown. "
+"Converting that to the latest opensuse OS version=%s",
+location, osname)
+
 return osname
 
 def list_types(self):
@@ -275,6 +281,16 @@ class _OSDB(object):
 # First fedora* occurrence should be the newest
 return osinfo.name
 
+def latest_opensuse_version(self):
+os_info = None
+for osinfo in self.list_os():
+if (osinfo.name.startswith("opensuse") and
+"unknown" not in osinfo.name and
+"tumbleweed" not in osinfo.name and
+"factory" not in osinfo.name and
+"42" not in osinfo.name):
+# openSUSE Leap 42 is not the latest anymore
+return osinfo.name
 
 #
 # OsVariant classes #



commit virt-manager for openSUSE:Factory

2018-03-28 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-03-28 10:34:14

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Wed Mar 28 10:34:14 2018 rev:175 rq:591755 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-03-16 10:44:22.726248654 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-03-28 10:34:15.250846327 +0200
@@ -1,0 +2,7 @@
+Thu Mar 22 15:35:57 MDT 2018 - carn...@suse.com
+
+- bsc#1086038 - VM guests cannot be properly installed with
+  virt-install
+  virtinst-dont-set-cpu-model-when-caps-mismatch.patch
+
+---

New:

  virtinst-dont-set-cpu-model-when-caps-mismatch.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.pD7SZn/_old  2018-03-28 10:34:20.054673546 +0200
+++ /var/tmp/diff_new_pack.pD7SZn/_new  2018-03-28 10:34:20.058673401 +0200
@@ -84,6 +84,7 @@
 Patch169:   virtinst-keep-install-iso-attached.patch
 Patch170:   virtinst-osdict-get_supported.patch
 Patch171:   virtinst-dont-use-special-copy-cpu-features.patch
+Patch172:   virtinst-dont-set-cpu-model-when-caps-mismatch.patch
 # Python2 to Python3 patches
 Patch200:   virtmisc-python2-to-python3-conversion.patch
 Patch201:   virtcli-python2-to-python3-conversion.patch
@@ -225,6 +226,7 @@
 %patch169 -p1
 %patch170 -p1
 %patch171 -p1
+%patch172 -p1
 # Python2 to Python3 patches
 %patch200 -p1
 %patch201 -p1

++ virtinst-dont-set-cpu-model-when-caps-mismatch.patch ++
References: bsc#1086038

The issue is when the host has been updated with microcode for Spectre v2
but qemu has not been updated. In this scenario (as an example),
'virsh capabilities' shows the host cpu model as IvyBridge-IBRS, which is
correct. However, 'virsh domcapabilities' shows IvyBridge as the host-model
and does not show any of the '-IBRS' flavors available under the custom model,
which is also correct since the qemu does not have Spectre patches. Setting
the model to the 'IBRS' version in the installation XML will cause qemu to
fail because of an unknown CPU model.

When the capabilities CPU does not match the domcapabilities CPU,
leave the model unset in the cpu mode XML.

Index: virt-manager-1.5.0/virtinst/domcapabilities.py
===
--- virt-manager-1.5.0.orig/virtinst/domcapabilities.py
+++ virt-manager-1.5.0/virtinst/domcapabilities.py
@@ -41,9 +41,27 @@ class _Enum(_HasValues):
 name = XMLProperty("./@name")
 
 
+class _Model(XMLBuilder):
+_XML_ROOT_NAME = "model"
+model = XMLProperty(".")
+
+
+class _HasModels(XMLBuilder):
+models = XMLChildProperty(_Model)
+
+def get_models(self):
+return [m.model for m in self.models]
+
+
+class _CPUMode(_HasModels):
+_XML_ROOT_NAME = "mode"
+name = XMLProperty("./@name")
+
+
 class _CapsBlock(_HasValues):
 supported = XMLProperty("./@supported", is_yesno=True)
 enums = XMLChildProperty(_Enum)
+modes = XMLChildProperty(_CPUMode)
 
 def enum_names(self):
 return [e.name for e in self.enums]
@@ -52,6 +70,12 @@ class _CapsBlock(_HasValues):
 d = dict((e.name, e) for e in self.enums)
 return d[name]
 
+def mode_names(self):
+return [m.name for m in self.modes]
+
+def get_mode(self, name):
+d = dict((m.name, m) for m in self.modes)
+return d[name]
 
 def _make_capsblock(xml_root_name):
 class TmpClass(_CapsBlock):
@@ -65,6 +89,11 @@ class _OS(_CapsBlock):
 loader = XMLChildProperty(_make_capsblock("loader"), is_single=True)
 
 
+class _CPU(_CapsBlock):
+_XML_ROOT_NAME = "cpu"
+mode = XMLChildProperty(_make_capsblock("mode"), is_single=True)
+
+
 class _Devices(_CapsBlock):
 _XML_ROOT_NAME = "devices"
 hostdev = XMLChildProperty(_make_capsblock("hostdev"), is_single=True)
@@ -163,6 +192,7 @@ class DomainCapabilities(XMLBuilder):
 
 _XML_ROOT_NAME = "domainCapabilities"
 os = XMLChildProperty(_OS, is_single=True)
+cpu = XMLChildProperty(_CPU, is_single=True)
 devices = XMLChildProperty(_Devices, is_single=True)
 
 arch = XMLProperty("./arch")
Index: virt-manager-1.5.0/virtinst/cpu.py
===
--- virt-manager-1.5.0.orig/virtinst/cpu.py
+++ virt-manager-1.5.0/virtinst/cpu.py
@@ -17,7 +17,9 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 # MA 02110-1301 USA.
 
+from .domcapabilities import DomainCapabilities
 from .xmlbuilder import 

commit virt-manager for openSUSE:Factory

2018-03-16 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-03-16 10:42:56

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Mar 16 10:42:56 2018 rev:174 rq:587075 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-03-06 10:47:51.819036352 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-03-16 10:44:22.726248654 +0100
@@ -1,0 +2,9 @@
+Wed Mar  7 15:19:38 MST 2018 - carn...@suse.com
+
+- bsc#1067018 - L3: KVM Guest creation failed - Property .cmt not
+  found
+  virtinst-dont-use-special-copy-cpu-features.patch
+- Upstream bug fix (bsc#1027942)
+  27d4b167-virtinst-update-location-for-opensuse.patch
+
+---

New:

  27d4b167-virtinst-update-location-for-opensuse.patch
  virtinst-dont-use-special-copy-cpu-features.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.leWfaK/_old  2018-03-16 10:44:25.158161085 +0100
+++ /var/tmp/diff_new_pack.leWfaK/_new  2018-03-16 10:44:25.162160941 +0100
@@ -39,6 +39,7 @@
 Source3:virt-manager-supportconfig
 # Upstream Patches
 Patch0: 4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch
+Patch1: 27d4b167-virtinst-update-location-for-opensuse.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -82,6 +83,7 @@
 Patch168:   virtinst-add-sle15-detection-support.patch
 Patch169:   virtinst-keep-install-iso-attached.patch
 Patch170:   virtinst-osdict-get_supported.patch
+Patch171:   virtinst-dont-use-special-copy-cpu-features.patch
 # Python2 to Python3 patches
 Patch200:   virtmisc-python2-to-python3-conversion.patch
 Patch201:   virtcli-python2-to-python3-conversion.patch
@@ -178,6 +180,7 @@
 %setup -q
 # Upstream Patches
 %patch0 -p1
+%patch1 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -221,6 +224,7 @@
 %patch168 -p1
 %patch169 -p1
 %patch170 -p1
+%patch171 -p1
 # Python2 to Python3 patches
 %patch200 -p1
 %patch201 -p1

++ 27d4b167-virtinst-update-location-for-opensuse.patch ++
Subject: Update --location for OpenSUSE
From: Nicolas Bock nicolas.b...@suse.com Tue Mar 6 15:54:23 2018 -0700
Date: Wed Mar 7 09:27:38 2018 +0100:
Git: 27d4b167d5572ade0246cf9340abae88ad5097eb

OpenSUSE is currently at Leap 42.3. This change updates the man page
for virt-install to point to the current repository.

diff --git a/man/virt-install.pod b/man/virt-install.pod
index 00f8d125..712386fc 100644
--- a/man/virt-install.pod
+++ b/man/virt-install.pod
@@ -429,7 +429,7 @@ 
http://us.archive.ubuntu.com/ubuntu/dists/wily/main/installer-amd64/
 
 =item Suse
 
-http://download.opensuse.org/distribution/11.0/repo/oss/
+http://download.opensuse.org/pub/opensuse/distribution/leap/42.3/repo/oss/
 
 =item Mandriva
 
++ virtinst-dont-use-special-copy-cpu-features.patch ++
References: bsc#1067018 - L3: KVM Guest creation failed - Property .cmt not 
found

Some hardware has the .cmt cpu feature but qemu doesn't support it. libvirt
includes it in the cpu capabilities read in by virt-manager. Using 'host-model'
was known to have issues in the past and so a copy method was set up to
manually copy cpu features one at a time (including the unsupported cmt flag).
This patch simply avoids the special copy feature when "Copy host CPU 
definition"
is set in the Preferences -> New VM -> CPU Default pop-up menu and falls
back to using 'host-model'.

It should be noted that selecting "Customize configuration before install"
and "CPUs" -> "Copy host CPU definition" also inserts 'host-model' so
this change mirrors what is already done there.

Index: virt-manager-1.5.0/virtinst/cpu.py
===
--- virt-manager-1.5.0.orig/virtinst/cpu.py
+++ virt-manager-1.5.0/virtinst/cpu.py
@@ -98,12 +98,16 @@ class CPU(XMLBuilder):
  SPECIAL_MODE_HOST_PASSTHROUGH, SPECIAL_MODE_CLEAR]
 def set_special_mode(self, val):
 if (val == self.SPECIAL_MODE_HOST_MODEL or
-val == self.SPECIAL_MODE_HOST_PASSTHROUGH):
+val == self.SPECIAL_MODE_HOST_PASSTHROUGH or
+val == self.SPECIAL_MODE_HOST_COPY):
 self.model = None
 self.vendor = None
 self.model_fallback = None
 for f in self.features:
 self.remove_feature(f)
+if val == self.SPECIAL_MODE_HOST_COPY:
+val = self.SPECIAL_MODE_HOST_MODEL
+self.match = "exact"
 self.mode = 

commit virt-manager for openSUSE:Factory

2018-03-06 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-03-06 10:47:47

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Tue Mar  6 10:47:47 2018 rev:173 rq:583056 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-02-18 11:43:21.467461013 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-03-06 10:47:51.819036352 +0100
@@ -1,0 +2,5 @@
+Mon Mar  5 13:32:19 UTC 2018 - jeng...@inai.de
+
+- Replace old $RPM_* shell vars. Use %_datadir more consistently.
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.95NGLL/_old  2018-03-06 10:47:53.250984624 +0100
+++ /var/tmp/diff_new_pack.95NGLL/_new  2018-03-06 10:47:53.254984480 +0100
@@ -30,7 +30,7 @@
 Version:1.5.0
 Release:0
 Summary:Virtual Machine Manager
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Monitoring
 Url:http://virt-manager.org/
 Source0:%{name}-%{version}.tar.bz2
@@ -274,14 +274,14 @@
 --no-update-icon-cache \
 --no-compile-schemas install \
 --prefix=%{_prefix} \
--O1 --root=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/YaST2/clients/
-install -m644 %SOURCE1 
$RPM_BUILD_ROOT/%{_datadir}/YaST2/clients/virt-install.rb
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications/YaST2/
-install -m644 %SOURCE2 
$RPM_BUILD_ROOT/%{_datadir}/applications/YaST2/virt-install.desktop
+-O1 --root=%{buildroot}
+mkdir -p %{buildroot}/%{_datadir}/YaST2/clients/
+install -m644 %SOURCE1 %{buildroot}/%{_datadir}/YaST2/clients/virt-install.rb
+mkdir -p %{buildroot}/%{_datadir}/applications/YaST2/
+install -m644 %SOURCE2 
%{buildroot}/%{_datadir}/applications/YaST2/virt-install.desktop
 # Oddly, supportconfig doesn't execute plugins with '-' in the name, so use 
'virt_manager'
-mkdir -p $RPM_BUILD_ROOT/usr/lib/supportconfig/plugins
-install -m 755 %SOURCE3 
$RPM_BUILD_ROOT/usr/lib/supportconfig/plugins/virt_manager
+mkdir -p %{buildroot}/usr/lib/supportconfig/plugins
+install -m 755 %SOURCE3 %{buildroot}/usr/lib/supportconfig/plugins/virt_manager
 
 %find_lang %{name}
 
@@ -307,14 +307,14 @@
 
 %{_mandir}/man1/%{name}.1*
 
-%dir /usr/share/virt-manager/ui
+%dir %{_datadir}/virt-manager/ui
 %{_datadir}/%{name}/ui/*.ui
 %{_datadir}/%{name}/virt-manager
 %{_datadir}/%{name}/virtManager
 
-%dir /usr/share/icons/hicolor
-%dir /usr/share/icons/hicolor/*/
-%dir /usr/share/icons/hicolor/*/apps
+%dir %{_datadir}/icons/hicolor
+%dir %{_datadir}/icons/hicolor/*/
+%dir %{_datadir}/icons/hicolor/*/apps
 %{_datadir}/%{name}/icons
 %{_datadir}/icons/hicolor/*/apps/*
 




commit virt-manager for openSUSE:Factory

2018-02-18 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-02-18 11:43:09

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Sun Feb 18 11:43:09 2018 rev:172 rq:577496 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-02-09 15:46:19.854009285 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-02-18 11:43:21.467461013 +0100
@@ -1,0 +2,6 @@
+Fri Feb  9 15:39:31 MST 2018 - carn...@suse.com
+
+- Upstream bug fix (bsc#1027942)
+  4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch
+
+---

New:

  4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.YXN7dy/_old  2018-02-18 11:43:22.667417936 +0100
+++ /var/tmp/diff_new_pack.YXN7dy/_new  2018-02-18 11:43:22.671417793 +0100
@@ -38,6 +38,7 @@
 Source2:virt-install.desktop
 Source3:virt-manager-supportconfig
 # Upstream Patches
+Patch0: 4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -176,6 +177,7 @@
 %prep
 %setup -q
 # Upstream Patches
+%patch0 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch ++
Subject: manager: Fix mem, disk, net stats graphs (bz 1543896)
From: Cole Robinson crobi...@redhat.com Fri Feb 9 14:02:04 2018 -0500
Date: Fri Feb 9 14:02:04 2018 -0500:
Git: 4c7c45908f6afd4e0edae9923218472d353caa3a

python2/3 division compat messed this up

https://bugzilla.redhat.com/show_bug.cgi?id=1543896

diff --git a/virtManager/domain.py b/virtManager/domain.py
index ed94cf1..6d3dac2 100644
--- a/virtManager/domain.py
+++ b/virtManager/domain.py
@@ -1984,7 +1984,7 @@ class vmmDomain(vmmLibvirtObject):
 except libvirt.libvirtError as err:
 logging.error("Error reading mem stats: %s", err)
 
-pcentCurrMem = (curmem // float(totalmem)) * 100
+pcentCurrMem = (curmem / float(totalmem)) * 100
 pcentCurrMem = max(0.0, min(pcentCurrMem, 100.0))
 
 return pcentCurrMem, curmem
diff --git a/virtManager/manager.py b/virtManager/manager.py
index d6640fb..d38fc4e 100644
--- a/virtManager/manager.py
+++ b/virtManager/manager.py
@@ -1068,7 +1068,7 @@ class vmmManager(vmmGObjectUI):
 return
 
 d1, d2 = obj.disk_io_vectors(GRAPH_LEN, self.max_disk_rate)
-data = [(x + y) // 2 for x, y in zip(d1, d2)]
+data = [(x + y) / 2 for x, y in zip(d1, d2)]
 cell.set_property('data_array', data)
 
 def network_traffic_img(self, column_ignore, cell, model, _iter, data):
@@ -1077,5 +1077,5 @@ class vmmManager(vmmGObjectUI):
 return
 
 d1, d2 = obj.network_traffic_vectors(GRAPH_LEN, self.max_net_rate)
-data = [(x + y) // 2 for x, y in zip(d1, d2)]
+data = [(x + y) / 2 for x, y in zip(d1, d2)]
 cell.set_property('data_array', data)



commit virt-manager for openSUSE:Factory

2018-02-09 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-02-09 15:46:19

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Feb  9 15:46:19 2018 rev:171 rq:573846 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-01-25 12:41:22.460328085 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-02-09 15:46:19.854009285 +0100
@@ -1,0 +2,82 @@
+Wed Feb  7 08:58:09 MST 2018 - carn...@suse.com
+
+- Update to virt-manager 1.5.0 (bsc#1027942)
+  virt-manager-1.5.0.tar.bz2
+  * python3 prep work (Radostin Stoyanov, Cole Robinson, Cédric Bosdonnat)
+  * Switch –location ISO to use isoinfo (Andrew Wong)
+  * virt-install: add –cpu numa distance handling (Menno Lageman)
+  * virt-install: fix –disk for rbd volumes with auth (Rauno Väli)
+  * virt-install: add –cputune vcpupin handling (Wim ten Have)
+  * details ui: Showing attached scsi devices per controller (Lin Ma)
+  * network ui: Show details about SR-IOV VF pool (Lin Ma)
+  * Greatly expand UI test suite coverage
+- Dropped patches
+  0001-Improve-container-image-url-example.patch
+  0001-py3-store-exception-variables-for-use-outside-except.patch
+  0002-create-wizard-fix-alignment-in-os-container-page.patch
+  0003-oscontainer-ask-root-password-in-the-wizard.patch
+  0004-Harmonize-invisible_char-values.patch
+  083dfcc8-Show-details-about-the-network-of-SR-IOV-VF-pool.patch
+  08a58d61-pycodestyle-remove-description-of-fixed-errors.patch
+  0c6bcb09-fix-bytes-string-mess-in-serial-console.patch
+  0e812e3c-dont-skip-authentication-for-listen-type-none-with-fixed-QEMU.patch
+  23aaf852-network-Set-bridge-name-to-None-instead-of-blank.patch
+  2d276ebe-progress-dont-overwrite-format.patch
+  2eb455c9-correctly-calculate-virtio-scsi-controller-index.patch
+  374a3779-urlfetcher-write-test-file-as-binary-content.patch
+  37ea5207-replace-StandardError-with-Exception.patch
+  3b769643-dont-add-URI-into-params-for-tunneled-migration.patch
+  3be78d1f-addhardware-dont-allow-panic-option-where-not-supported.patch
+  44de92b7-use-reload-from-imp-module.patch
+  63fce081-pycodestyle-Use-isinstance-for-type-checking.patch
+  67122615-python2to3-division-compatability.patch
+  69c84bea-import-reduce-from-functools-module.patch
+  6dfc4de1-add-support-for-parsing-formatting-SR-IOV-VFs.patch
+  
6e6f59e7-diskbackend-get-a-proper-size-of-existing-block-device-while-cloning.patch
+  73de8285-systray-remove-redundant-variable-assignment.patch
+  75210ed3-replace-StringIO-with-io.patch
+  7f1b4cee-pycodestyle-fix-all-E125-warnings.patch
+  7fc7e94f-fix-virtio-scsi-controller-target-calculation.patch
+  91c0669c-cli-Fix-OrderedDict-mutated-during-iteration-on-python3.patch
+  9617d126-systray-Use-APPLICATION_STATUS-for-appindicator.patch
+  999dbb36-cli-Make-VirtCLIArgument-instantiation-less-crazy.patch
+  9a9f9ecd-ignore-comments-in-keymap-conf-files.patch
+  a2bcd6c4-dont-compare-between-None-and-int.patch
+  b5b2433a-baseclass-Fix-UI-file-loading-on-py3.patch
+  b8fa0c6b-xmlnsqemu-order-XML-output-like-libvirt-does.patch
+  b9bc3b60-undefine-only-persistent-domain.patch
+  bc3c9a9d-progress-remove-unused-import.patch
+  bc8c5b07-append--attach-to-virt-viewer-if-graphics-has-listen-type-none.patch
+  c174b550-connection-Another-py3-exception-variable-fix.patch
+  d1e1cf64-progress-remove-trailing-white-space.patch
+  d2648d81-virtconv-dont-implicitly-depend-on-dict-hash-order.patch
+  d82022bd-manager-drop-python2-only-cmp-usage.patch
+  dff00d4f-remove-deprecated-statvfs-module.patch
+  e2ad4b2f-convert-iteritems-to-items.patch
+  e73abe5a-diskbackend-convert-to-long-the-calculated-size.patch
+  f41aafc7-Use-enumerate-instead-of-range-and-len.patch
+  f7c8cf9f-devicepanic-dont-return-empty-model-list.patch
+  f836e47b-virtinst-Fix-URLFetcher-for-reading-files.patch
+
+---
+Tue Feb  6 11:57:54 MST 2018 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  b5b2433a-baseclass-Fix-UI-file-loading-on-py3.patch
+  0c6bcb09-fix-bytes-string-mess-in-serial-console.patch
+  bc8c5b07-append--attach-to-virt-viewer-if-graphics-has-listen-type-none.patch
+  0e812e3c-dont-skip-authentication-for-listen-type-none-with-fixed-QEMU.patch
+  67122615-python2to3-division-compatability.patch
+- Dropped in favor of upstream version
+  0001-virtinst-python3-terminal-width-should-be-int.patch
+  python3-fix-bytes-string-mess-in-serial-console.patch
+
+---
+Mon Feb  5 16:26:48 MST 2018 - carn...@suse.com
+
+- Default to sles15 and opensuse15 as the 'preferred_distros' for
+  this 

commit virt-manager for openSUSE:Factory

2018-01-25 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-01-25 12:41:09

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Thu Jan 25 12:41:09 2018 rev:170 rq:569390 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-01-17 21:59:00.965231625 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-01-25 12:41:22.460328085 +0100
@@ -1,0 +2,5 @@
+Wed Jan 24 19:08:03 UTC 2018 - bjorn@gmail.com
+
+- Replace conditional gtk2-tools with gtk3-tools BuildRequires.
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.Szgpyc/_old  2018-01-25 12:41:24.256244240 +0100
+++ /var/tmp/diff_new_pack.Szgpyc/_new  2018-01-25 12:41:24.260244053 +0100
@@ -160,7 +160,7 @@
 %endif
 
 BuildRequires:  glib2-devel
-BuildRequires:  gtk2-tools
+BuildRequires:  gtk3-tools
 BuildRequires:  intltool
 BuildRequires:  perl
 BuildRequires:  python3




commit virt-manager for openSUSE:Factory

2018-01-17 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-01-17 21:57:46

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Wed Jan 17 21:57:46 2018 rev:169 rq:566389 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-01-06 18:56:06.791816102 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-01-17 21:59:00.965231625 +0100
@@ -1,0 +2,6 @@
+Tue Jan 16 10:15:04 UTC 2018 - cbosdon...@suse.com
+
+- Fix a python3 UnboundLocalError (bsc#1075622)
+  c174b550-connection-Another-py3-exception-variable-fix.patch
+
+---

New:

  c174b550-connection-Another-py3-exception-variable-fix.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.3ocKAy/_old  2018-01-17 21:59:04.901047144 +0100
+++ /var/tmp/diff_new_pack.3ocKAy/_new  2018-01-17 21:59:04.905046956 +0100
@@ -73,6 +73,7 @@
 Patch33:7fc7e94f-fix-virtio-scsi-controller-target-calculation.patch
 Patch34:2eb455c9-correctly-calculate-virtio-scsi-controller-index.patch
 Patch35:f836e47b-virtinst-Fix-URLFetcher-for-reading-files.patch
+Patch36:c174b550-connection-Another-py3-exception-variable-fix.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -253,6 +254,7 @@
 %patch33 -p1
 %patch34 -p1
 %patch35 -p1
+%patch36 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ c174b550-connection-Another-py3-exception-variable-fix.patch ++
>From c174b5509f5007fb11e095df1c88fd6176789f4f Mon Sep 17 00:00:00 2001
From: Cole Robinson 
Date: Wed, 20 Dec 2017 14:15:56 -0500
Subject: [virt-manager][PATCH] connection: Another py3 exception variable fix

---
 virtManager/connection.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/virtManager/connection.py b/virtManager/connection.py
index f9da6677..43fa3eb5 100644
--- a/virtManager/connection.py
+++ b/virtManager/connection.py
@@ -1030,11 +1030,13 @@ class vmmConnection(vmmGObject):
 warnconsole = False
 libvirt_error_code = None
 libvirt_error_message = None
+exc = None
 
 try:
 self._backend.open(self._do_creds_password)
 return True, None
-except Exception as exc:
+except Exception as e:
+exc = e
 tb = "".join(traceback.format_exc())
 if isinstance(exc, libvirt.libvirtError):
 # pylint: disable=no-member
-- 
2.15.1




commit virt-manager for openSUSE:Factory

2018-01-06 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-01-06 18:55:59

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Sat Jan  6 18:55:59 2018 rev:168 rq:562063 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-01-03 13:40:03.840752916 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-01-06 18:56:06.791816102 +0100
@@ -1,0 +2,9 @@
+Fri Jan  5 14:23:21 MST 2018 - carn...@suse.com
+
+- bsc#1072012 - openSUSE Tumbleweed, virt-manager: Opening VM GUI
+  fails with "ordinal not in range" (bart.vanassche+nov...@gmail.com)
+- bsc#1074808 - [beta4+maintain update][virt-manager] Error
+  launching details:'ascii' codec can't decode byte
+  virtman-python2-to-python3-conversion.patch
+
+---



Other differences:
--
++ virtman-python2-to-python3-conversion.patch ++
--- /var/tmp/diff_new_pack.Fseoyr/_old  2018-01-06 18:56:08.479737191 +0100
+++ /var/tmp/diff_new_pack.Fseoyr/_new  2018-01-06 18:56:08.479737191 +0100
@@ -827,3 +827,25 @@
  
  PAGE_MAX = PAGE_MISC
  
+Index: virt-manager-1.4.3/virtManager/baseclass.py
+===
+--- virt-manager-1.4.3.orig/virtManager/baseclass.py
 virt-manager-1.4.3/virtManager/baseclass.py
+@@ -18,6 +18,7 @@
+ # MA 02110-1301 USA.
+ #
+ 
++import io
+ import logging
+ import os
+ import sys
+@@ -220,7 +221,8 @@ class vmmGObjectUI(vmmGObject):
+ 
+ self.builder = Gtk.Builder()
+ self.builder.set_translation_domain("virt-manager")
+-self.builder.add_from_string(open(uifile).read())
++ui = io.open(uifile, mode="r", encoding="utf-8").read()
++self.builder.add_from_string(ui)
+ 
+ if not topwin:
+ self.topwin = self.widget(windowname)




commit virt-manager for openSUSE:Factory

2018-01-03 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-01-03 13:39:57

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Wed Jan  3 13:39:57 2018 rev:167 rq:561188 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2018-01-02 16:35:43.669666587 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-01-03 13:40:03.840752916 +0100
@@ -1,0 +2,7 @@
+Tue Jan  2 12:45:56 MST 2018 - carn...@suse.com
+
+- bsc#1074056 - [build 408.1]virt-install tool reports "TypeError:
+  must use keyword argument for key function" when parsing vnc
+  virtinst-python2-to-python3-conversion.patch
+
+---



Other differences:
--
++ virtinst-python2-to-python3-conversion.patch ++
--- /var/tmp/diff_new_pack.2w9xsg/_old  2018-01-03 13:40:06.060013950 +0100
+++ /var/tmp/diff_new_pack.2w9xsg/_new  2018-01-03 13:40:06.060013950 +0100
@@ -34,12 +34,20 @@
 ===
 --- virt-manager-1.4.3.orig/virtinst/hostkeymap.py
 +++ virt-manager-1.4.3/virtinst/hostkeymap.py
-@@ -202,7 +202,7 @@ def sanitize_keymap(kt):
+@@ -20,6 +20,7 @@
+ import logging
+ import os
+ import re
++import functools
+ 
+ 
+ _ETC_VCONSOLE = "/etc/vconsole.conf"
+@@ -202,7 +203,7 @@ def sanitize_keymap(kt):
  return len(b) - len(a)
  
  clean_kt = kt.replace("-", "").replace("_", "")
 -sorted_keys = sorted(keytable.keys(), len_cmp)
-+sorted_keys = sorted(list(keytable.keys()), len_cmp)
++sorted_keys = sorted(list(keytable.keys()), 
key=functools.cmp_to_key(len_cmp))
  
  for key in sorted_keys:
  origkey = key




commit virt-manager for openSUSE:Factory

2018-01-02 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2018-01-02 16:35:40

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Tue Jan  2 16:35:40 2018 rev:166 rq:561087 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-12-21 11:30:08.129232596 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2018-01-02 16:35:43.669666587 +0100
@@ -1,0 +2,6 @@
+Tue Jan  2 08:51:45 UTC 2018 - cbosdon...@suse.com
+
+- Downgrade python3-virt-bootstrap Recommends to Suggests to
+  minimize the number of default dependencies. (bsc#1073937)
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.sXcdh2/_old  2018-01-02 16:35:45.289126538 +0100
+++ /var/tmp/diff_new_pack.sXcdh2/_new  2018-01-02 16:35:45.293125205 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -184,7 +184,7 @@
 Requires:   python3-libxml2-python
 Requires:   python3-pycurl
 Requires:   typelib(LibvirtGLib)
-Recommends: python3-virt-bootstrap
+Suggests:   python3-virt-bootstrap
 BuildRequires:  gobject-introspection
 # No AppIndicator package on SLE
 %if 0%{?is_opensuse} == 0




commit virt-manager for openSUSE:Factory

2017-12-21 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-12-21 11:29:56

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Thu Dec 21 11:29:56 2017 rev:165 rq:558884 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-12-20 10:39:53.142898759 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-12-21 11:30:08.129232596 +0100
@@ -1,0 +2,19 @@
+Wed Dec 20 08:31:19 UTC 2017 - cbosdon...@suse.com
+
+- Get rid of "TypeError: Couldn't find foreign struct converter for
+  'cairo.Context'" errors by adding a dependency to python3-cairo.
+  (bsc#1062865)
+- Python3: Fix 'local variable 'e' referenced before assignment'
+  0001-py3-store-exception-variables-for-use-outside-except.patch
+  (bsc#1073594)
+
+---
+Tue Dec 19 10:44:40 MST 2017 - carn...@suse.com
+
+- Fix TypeError in inspection.py (bsc#1070896)
+  virtman-python2-to-python3-conversion.patch
+- Fix openSUSE 15.0 detection. It has no content file or .treeinfo
+  file (bsc#1054986)
+  virtinst-add-sle15-detection-support.patch
+
+---

New:

  0001-py3-store-exception-variables-for-use-outside-except.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.AIazaM/_old  2017-12-21 11:30:12.964996807 +0100
+++ /var/tmp/diff_new_pack.AIazaM/_new  2017-12-21 11:30:12.968996612 +0100
@@ -128,6 +128,7 @@
 Patch209:   0004-virtinst-python3-use-binary-mode-for-kernel.patch
 Patch210:   virtman-register-delete-event-for-details-dialog.patch
 Patch211:   python3-fix-bytes-string-mess-in-serial-console.patch
+Patch212:   0001-py3-store-exception-variables-for-use-outside-except.patch
 # For upstream review
 Patch500:   0001-Improve-container-image-url-example.patch
 Patch501:   0002-create-wizard-fix-alignment-in-os-container-page.patch
@@ -143,6 +144,7 @@
 Requires:   gtk3
 Requires:   python3-gobject-Gdk
 # For console widget
+Requires:   python3-cairo
 Requires:   python3-gobject-cairo
 Recommends: python3-SpiceClientGtk
 Requires:   virt-install
@@ -306,6 +308,7 @@
 %patch209 -p1
 %patch210 -p1
 %patch211 -p1
+%patch212 -p1
 %patch500 -p1
 %patch501 -p1
 %patch502 -p1

++ 0001-py3-store-exception-variables-for-use-outside-except.patch ++
>From d4b7853b17bd24e0d15a6887b877a627da361589 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= 
Date: Wed, 20 Dec 2017 09:38:18 +0100
Subject: [virt-manager][PATCH] py3: store exception variables for use outside
 except

In python3 exceptions aren't defined outside the except block. Leading
to 'UnboundLocalError: local variable 'e' referenced before assignment'
errors.

To work around this, store the local variable into one that will have a
longer life.
---
 virtManager/connection.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/virtManager/connection.py b/virtManager/connection.py
index c98fff3d..f9da6677 100644
--- a/virtManager/connection.py
+++ b/virtManager/connection.py
@@ -1439,7 +1439,8 @@ class vmmConnection(vmmGObject):
 self._tick(*args, **kwargs)
 except KeyboardInterrupt:
 raise
-except Exception as e:
+except Exception as err:
+e = err
 pass
 
 if e is None:
-- 
2.15.1

++ virtinst-add-sle15-detection-support.patch ++
--- /var/tmp/diff_new_pack.AIazaM/_old  2017-12-21 11:30:13.240983350 +0100
+++ /var/tmp/diff_new_pack.AIazaM/_new  2017-12-21 11:30:13.240983350 +0100
@@ -44,7 +44,7 @@
  dclass = SLESDistro
  if distro_version is None:
  distro_version = _parse_sle_distribution(distribution)
-@@ -481,7 +497,7 @@ def _distroFromSUSEContent(fetcher, arch
+@@ -481,10 +497,13 @@ def _distroFromSUSEContent(fetcher, arch
  dclass = CAASPDistro
  if distro_version is None:
  distro_version = ['VERSION', distribution[1].strip().rsplit(' 
')[6]]
@@ -52,8 +52,15 @@
 +elif re.match(".*openSUSE.*", distribution[1]) or re.match("openSUSE 
*", distribution[1]):
  dclass = OpensuseDistro
  if distro_version is None:
- distro_version = ['VERSION', 
distribution[0].strip().rsplit(':')[4]]
-@@ -1003,6 +1019,7 @@ class SLDistro(RHELDistro):
+-distro_version = ['VERSION', 
distribution[0].strip().rsplit(':')[4]]
++if ':' in distribution[0]:
++  

commit virt-manager for openSUSE:Factory

2017-12-20 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-12-20 10:39:50

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Wed Dec 20 10:39:50 2017 rev:164 rq:558211 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-12-13 11:58:52.355218175 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-12-20 10:39:53.142898759 +0100
@@ -1,0 +2,11 @@
+Wed Dec 13 10:50:04 UTC 2017 - cbosdon...@suse.com
+
+- Fix display and input of text in serial console (bsc#1070896)
+  python3-fix-bytes-string-mess-in-serial-console.patch
+- Fix virt-bootstrap UI integration (bsc#1063367)
+  0001-Improve-container-image-url-example.patch
+  0002-create-wizard-fix-alignment-in-os-container-page.patch
+  0003-oscontainer-ask-root-password-in-the-wizard.patch
+  0004-Harmonize-invisible_char-values.patch
+
+---

New:

  0001-Improve-container-image-url-example.patch
  0002-create-wizard-fix-alignment-in-os-container-page.patch
  0003-oscontainer-ask-root-password-in-the-wizard.patch
  0004-Harmonize-invisible_char-values.patch
  python3-fix-bytes-string-mess-in-serial-console.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.TCNkL5/_old  2017-12-20 10:39:55.274743936 +0100
+++ /var/tmp/diff_new_pack.TCNkL5/_new  2017-12-20 10:39:55.278743646 +0100
@@ -127,6 +127,12 @@
 Patch208:   0003-virtinst-python3-avoid-using-long-type.patch
 Patch209:   0004-virtinst-python3-use-binary-mode-for-kernel.patch
 Patch210:   virtman-register-delete-event-for-details-dialog.patch
+Patch211:   python3-fix-bytes-string-mess-in-serial-console.patch
+# For upstream review
+Patch500:   0001-Improve-container-image-url-example.patch
+Patch501:   0002-create-wizard-fix-alignment-in-os-container-page.patch
+Patch502:   0003-oscontainer-ask-root-password-in-the-wizard.patch
+Patch503:   0004-Harmonize-invisible_char-values.patch
 
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -299,6 +305,11 @@
 %patch208 -p1
 %patch209 -p1
 %patch210 -p1
+%patch211 -p1
+%patch500 -p1
+%patch501 -p1
+%patch502 -p1
+%patch503 -p1
 
 %build
 %if %{qemu_user}

++ 0001-Improve-container-image-url-example.patch ++
>From b567947b82bb175c3f6234a3b059a2141c70a805 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= 
Date: Tue, 12 Dec 2017 17:12:34 +0100
Subject: [PATCH 1/3] Improve container image url example

Replace the docker://fedora example by a string that shows more of the
possible values, like how to specify a user or server. While at it,
the image name is no distro agnostic.
---
 ui/create.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/create.ui b/ui/create.ui
index dd50cdf0..142a7356 100644
--- a/ui/create.ui
+++ b/ui/create.ui
@@ -1776,7 +1776,7 @@ connections is not yet supported./small
 
   
 True
-docker://fedora
+docker://srv:1234/myimg:tag
   
 
   
-- 
2.15.1

++ 0002-create-wizard-fix-alignment-in-os-container-page.patch ++
>From 1e5437158dc83069d84cb27503414306a25d7264 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= 
Date: Wed, 13 Dec 2017 15:49:50 +0100
Subject: [PATCH 2/3] create wizard: fix alignment in os container page

The checkbox to create the root FS should be aligned with the label of
the root FS folder.
---
 ui/create.ui | 317 +++
 1 file changed, 166 insertions(+), 151 deletions(-)

diff --git a/ui/create.ui b/ui/create.ui
index 142a7356..ae9d47d3 100644
--- a/ui/create.ui
+++ b/ui/create.ui
@@ -1600,11 +1600,13 @@ User shouldn't see this.
   
 True
 False
+start
 12
 
   
 True
 False
+

commit virt-manager for openSUSE:Factory

2017-12-13 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-12-13 11:58:49

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Wed Dec 13 11:58:49 2017 rev:163 rq:556304 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-12-08 13:02:11.707268513 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-12-13 11:58:52.355218175 +0100
@@ -1,0 +2,7 @@
+Mon Dec 11 14:50:59 MST 2017 - carn...@suse.com
+
+- bsc#1071825 - AttributeError: 'NoneType' object has no attribute
+  'change_run_text'
+  virtman-register-delete-event-for-details-dialog.patch
+
+---
@@ -1178,0 +1186,6 @@
+- Fix GUI failure to display addition of a second disk
+  Dropped virtman-device-flags.patch
+
+---
+Wed Jul  9 09:50:14 MDT 2014 - carn...@suse.com
+
@@ -1543,0 +1557,13 @@
+
+---
+Fri Mar 14 11:33:09 MDT 2014 - carn...@suse.com
+
+- For Xen always have the arch expander expanded.
+- For Xen and KVM default to Network install if host was installed
+  from the network
+- Default to a bridge with an actual inet address if available
+  virtinst-modify-gui-defaults.patch
+- We are not supporting PV ISO installs with virt-install.
+  Drop the following patches
+  virtinst-allow-pv-iso-install.patch
+  virtman-allow-pv-iso-install.patch

New:

  virtman-register-delete-event-for-details-dialog.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.z949Qv/_old  2017-12-13 11:58:54.643107728 +0100
+++ /var/tmp/diff_new_pack.z949Qv/_new  2017-12-13 11:58:54.647107535 +0100
@@ -126,6 +126,7 @@
 Patch207:   0002-virtinst-python3-avoid-comparison-of-None-and-int.patch
 Patch208:   0003-virtinst-python3-avoid-using-long-type.patch
 Patch209:   0004-virtinst-python3-use-binary-mode-for-kernel.patch
+Patch210:   virtman-register-delete-event-for-details-dialog.patch
 
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -297,6 +298,7 @@
 %patch207 -p1
 %patch208 -p1
 %patch209 -p1
+%patch210 -p1
 
 %build
 %if %{qemu_user}

++ virtman-register-delete-event-for-details-dialog.patch ++
References: bsc#1071825
Running under python3 the delete-event as defined in details.ui and connected
in details.py does not get called when the top right (x) button on the dialog
is clicked. It appears that even though this code is unchanged and works on 
python2,
it is not recognized as a top level dialog on python3 and therefore we 
explicitly
need to set the connection event. Not getting the event to cleanup leaves us in 
a
bad state for when the details dialog is reopened.

Index: virt-manager-1.4.3/virtManager/details.py
===
--- virt-manager-1.4.3.orig/virtManager/details.py
+++ virt-manager-1.4.3/virtManager/details.py
@@ -596,6 +596,9 @@ class vmmDetails(vmmGObjectUI):
 self.console.details_auth_login),
 })
 
+# Make sure the delete event is properly registered for the details 
dialog
+self.topwin.connect("delete-event", self._window_delete_event)
+
 # Deliberately keep all this after signal connection
 self.vm.connect("state-changed", self.refresh_vm_state)
 self.vm.connect("resources-sampled", self.refresh_resources)



commit virt-manager for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-12-08 13:02:00

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Dec  8 13:02:00 2017 rev:162 rq:555104 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-12-05 01:30:43.420240141 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-12-08 13:02:11.707268513 +0100
@@ -1,0 +2,16 @@
+Thu Dec  7 12:41:25 UTC 2017 - cbosdon...@suse.com
+
+- bsc#1070896 - virt-manager will not run on a python3 only system
+  remove obsolete python-gconf dependency. This one was also pulling
+  python2.
+
+---
+Thu Dec  7 11:49:29 UTC 2017 - mwi...@suse.com
+
+- More fixes for python3 (bsc#1070896)
+  0001-virtinst-python3-terminal-width-should-be-int.patch
+  0002-virtinst-python3-avoid-comparison-of-None-and-int.patch
+  0003-virtinst-python3-avoid-using-long-type.patch
+  0004-virtinst-python3-use-binary-mode-for-kernel.patch
+
+---
@@ -1163,6 +1178,0 @@
-- Fix GUI failure to display addition of a second disk
-  Dropped virtman-device-flags.patch
-

-Wed Jul  9 09:50:14 MDT 2014 - carn...@suse.com
-
@@ -1534,13 +1543,0 @@
-

-Fri Mar 14 11:33:09 MDT 2014 - carn...@suse.com
-
-- For Xen always have the arch expander expanded.
-- For Xen and KVM default to Network install if host was installed
-  from the network
-- Default to a bridge with an actual inet address if available
-  virtinst-modify-gui-defaults.patch
-- We are not supporting PV ISO installs with virt-install.
-  Drop the following patches
-  virtinst-allow-pv-iso-install.patch
-  virtman-allow-pv-iso-install.patc

New:

  0001-virtinst-python3-terminal-width-should-be-int.patch
  0002-virtinst-python3-avoid-comparison-of-None-and-int.patch
  0003-virtinst-python3-avoid-using-long-type.patch
  0004-virtinst-python3-use-binary-mode-for-kernel.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.SMh2YA/_old  2017-12-08 13:02:13.499203797 +0100
+++ /var/tmp/diff_new_pack.SMh2YA/_new  2017-12-08 13:02:13.503203652 +0100
@@ -122,6 +122,11 @@
 Patch203:   virtinst-python2-to-python3-conversion.patch
 Patch204:   virtman-python2-to-python3-conversion.patch
 Patch205:   virttests-python2-to-python3-conversion.patch
+Patch206:   0001-virtinst-python3-terminal-width-should-be-int.patch
+Patch207:   0002-virtinst-python3-avoid-comparison-of-None-and-int.patch
+Patch208:   0003-virtinst-python3-avoid-using-long-type.patch
+Patch209:   0004-virtinst-python3-use-binary-mode-for-kernel.patch
+
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -129,7 +134,6 @@
 Requires:   dbus-1-x11
 Requires:   dconf
 Requires:   gtk3
-Requires:   python-gconf
 Requires:   python3-gobject-Gdk
 # For console widget
 Requires:   python3-gobject-cairo
@@ -289,6 +293,10 @@
 %patch203 -p1
 %patch204 -p1
 %patch205 -p1
+%patch206 -p1
+%patch207 -p1
+%patch208 -p1
+%patch209 -p1
 
 %build
 %if %{qemu_user}

++ 0001-virtinst-python3-terminal-width-should-be-int.patch ++
>From 79fa0f9de08f766dee6129fdc2c48648bba6fc6e Mon Sep 17 00:00:00 2001
From: Martin Wilck 
Date: Thu, 7 Dec 2017 11:09:02 +0100
Subject: [PATCH 1/4] virtinst: python3: terminal width should be int

This avoids errors like this:

File "/usr/share/virt-manager/virtinst/progress.py", line 224, in _term_add_bar
return tl.add(' [%-*.*s]' % (blen, blen, bar))
  TypeError: * wants int
---
 virtinst/progress.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/progress.py b/virtinst/progress.py
index 868d0f0f0544..e07591a14fa0 100644
--- a/virtinst/progress.py
+++ b/virtinst/progress.py
@@ -79,7 +79,7 @@ class TerminalLine:
 a number of different elements (default=2). """
 if self._llen < fixed:
 return 0
-return (self._llen - fixed) / elements
+return int((self._llen - fixed) / elements)
 
 def add(self, element, full_len=None):
 """ If there is room left in the line, above min_len, add element.
-- 
2.15.1

++ 0002-virtinst-python3-avoid-comparison-of-None-and-int.patch ++
>From cb90bbc8671aa25e23e55341745cc2682547e5f0 Mon Sep 17 00:00:00 2001
From: Martin Wilck 
Date: Thu, 7 Dec 2017 11:17:03 

commit virt-manager for openSUSE:Factory

2017-12-04 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-12-05 01:30:42

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Tue Dec  5 01:30:42 2017 rev:161 rq:548109 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-11-30 12:45:19.546061905 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-12-05 01:30:43.420240141 +0100
@@ -1,0 +2,11 @@
+Sat Dec  2 18:41:22 MST 2017 - carn...@suse.com
+
+- bsc#1070896 - virt-manager will not run on a python3 only system
+  virtcli-python2-to-python3-conversion.patch
+  virtconv-python2-to-python3-conversion.patch
+  virtinst-python2-to-python3-conversion.patch
+  virtman-python2-to-python3-conversion.patch
+  virtmisc-python2-to-python3-conversion.patch
+  virttests-python2-to-python3-conversion.patch
+
+---

New:

  virtcli-python2-to-python3-conversion.patch
  virtconv-python2-to-python3-conversion.patch
  virtinst-python2-to-python3-conversion.patch
  virtman-python2-to-python3-conversion.patch
  virtmisc-python2-to-python3-conversion.patch
  virttests-python2-to-python3-conversion.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.8rJTWU/_old  2017-12-05 01:30:47.300099191 +0100
+++ /var/tmp/diff_new_pack.8rJTWU/_new  2017-12-05 01:30:47.304099046 +0100
@@ -115,6 +115,13 @@
 Patch167:   virtinst-no-usb-tablet-for-xenpv.patch
 Patch168:   virtinst-add-sle15-detection-support.patch
 Patch169:   virtinst-keep-install-iso-attached.patch
+# Python2 to Python3 patches
+Patch200:   virtmisc-python2-to-python3-conversion.patch
+Patch201:   virtcli-python2-to-python3-conversion.patch
+Patch202:   virtconv-python2-to-python3-conversion.patch
+Patch203:   virtinst-python2-to-python3-conversion.patch
+Patch204:   virtman-python2-to-python3-conversion.patch
+Patch205:   virttests-python2-to-python3-conversion.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -123,10 +130,10 @@
 Requires:   dconf
 Requires:   gtk3
 Requires:   python-gconf
-Requires:   python-gobject-Gdk
+Requires:   python3-gobject-Gdk
 # For console widget
-Requires:   python-gobject-cairo
-Recommends: python-SpiceClientGtk
+Requires:   python3-gobject-cairo
+Recommends: python3-SpiceClientGtk
 Requires:   virt-install
 Requires:   virt-manager-common = %{verrel}
 %if 0%{?is_opensuse} == 1
@@ -135,14 +142,14 @@
 %endif
 
 %if %{with_guestfs}
-Requires:   python-libguestfs
+Requires:   python3-libguestfs
 %endif
 
 BuildRequires:  glib2-devel
 BuildRequires:  gtk2-tools
 BuildRequires:  intltool
 BuildRequires:  perl
-BuildRequires:  python
+BuildRequires:  python3
 
 %description
 Virtual Machine Manager provides a graphical tool for administering virtual
@@ -159,10 +166,10 @@
 # This version not strictly required: virt-manager should work with older,
 # however varying amounts of functionality will not be enabled.
 Requires:   libosinfo >= 0.2.10
-Requires:   python-ipaddr
-Requires:   python-libvirt-python >= 0.7.0
-Requires:   python-libxml2
-Requires:   python-urlgrabber
+Requires:   python3-ipaddr
+Requires:   python3-libvirt-python >= 0.7.0
+Requires:   python3-libxml2-python
+Requires:   python3-pycurl
 Requires:   typelib(LibvirtGLib)
 Recommends: python3-virt-bootstrap
 BuildRequires:  gobject-introspection
@@ -182,8 +189,8 @@
 
 Requires:   virt-manager-common = %{verrel}
 
-Requires:   python-requests
-Provides:   python-virtinst
+Requires:   python3-requests
+Provides:   python3-virtinst
 Provides:   virt-clone
 Provides:   virt-convert
 Obsoletes:  python-virtinst <= 0.600.4
@@ -275,6 +282,13 @@
 %patch167 -p1
 %patch168 -p1
 %patch169 -p1
+# Python2 to Python3 patches
+%patch200 -p1
+%patch201 -p1
+%patch202 -p1
+%patch203 -p1
+%patch204 -p1
+%patch205 -p1
 
 %build
 %if %{qemu_user}
@@ -301,7 +315,7 @@
 %define _askpass_package --askpass-package-names=%{askpass_package}
 %endif
 
-python setup.py configure \
+python3 setup.py configure \
 --prefix=%{_prefix} \
 --default-graphics="spice" \
 %{?_qemu_user} \
@@ -313,7 +327,7 @@
 %{?_default_graphics}
 
 %install
-python setup.py \
+python3 setup.py \
 --no-update-icon-cache \
 --no-compile-schemas install \
 --prefix=%{_prefix} \

++ virtcli-python2-to-python3-conversion.patch ++
Index: virt-manager-1.4.3/virtcli/cliconfig.py

commit virt-manager for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-11-30 12:45:17

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Thu Nov 30 12:45:17 2017 rev:160 rq:546320 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-11-10 14:57:24.388058501 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-11-30 12:45:19.546061905 +0100
@@ -1,0 +2,16 @@
+Tue Nov 28 08:24:39 MST 2017 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  b9bc3b60-undefine-only-persistent-domain.patch
+  7fc7e94f-fix-virtio-scsi-controller-target-calculation.patch
+  2eb455c9-correctly-calculate-virtio-scsi-controller-index.patch
+
+---
+Fri Nov 24 09:48:19 MST 2017 - carn...@suse.com
+
+- bsc#1067263 - virt-install: ERROR unicode argument expected, got
+  'str'
+  f836e47b-virtinst-Fix-URLFetcher-for-reading-files.patch
+- Drop virtinst-fix-replace-StringIO-with-io.patch
+
+---

Old:

  virtinst-fix-replace-StringIO-with-io.patch

New:

  2eb455c9-correctly-calculate-virtio-scsi-controller-index.patch
  7fc7e94f-fix-virtio-scsi-controller-target-calculation.patch
  b9bc3b60-undefine-only-persistent-domain.patch
  f836e47b-virtinst-Fix-URLFetcher-for-reading-files.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.zyIffK/_old  2017-11-30 12:45:21.925975386 +0100
+++ /var/tmp/diff_new_pack.zyIffK/_new  2017-11-30 12:45:21.933975095 +0100
@@ -69,6 +69,10 @@
 Patch29:f7c8cf9f-devicepanic-dont-return-empty-model-list.patch
 Patch30:
3be78d1f-addhardware-dont-allow-panic-option-where-not-supported.patch
 Patch31:73de8285-systray-remove-redundant-variable-assignment.patch
+Patch32:b9bc3b60-undefine-only-persistent-domain.patch
+Patch33:7fc7e94f-fix-virtio-scsi-controller-target-calculation.patch
+Patch34:2eb455c9-correctly-calculate-virtio-scsi-controller-index.patch
+Patch35:f836e47b-virtinst-Fix-URLFetcher-for-reading-files.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -111,7 +115,6 @@
 Patch167:   virtinst-no-usb-tablet-for-xenpv.patch
 Patch168:   virtinst-add-sle15-detection-support.patch
 Patch169:   virtinst-keep-install-iso-attached.patch
-Patch170:   virtinst-fix-replace-StringIO-with-io.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -226,6 +229,10 @@
 %patch29 -p1
 %patch30 -p1
 %patch31 -p1
+%patch32 -p1
+%patch33 -p1
+%patch34 -p1
+%patch35 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -268,7 +275,6 @@
 %patch167 -p1
 %patch168 -p1
 %patch169 -p1
-%patch170 -p1
 
 %build
 %if %{qemu_user}

++ 2eb455c9-correctly-calculate-virtio-scsi-controller-index.patch ++
Subject: addhardware: Correctly calculate virtio-scsi controller index
From: Lin Ma l...@suse.com Mon Nov 6 20:52:07 2017 +0800
Date: Wed Nov 22 16:50:33 2017 -0500:
Git: 2eb455c97f1afda33a4b1c87adb2721fac9d9b5f

Because sata, usb and scsi use same device prefix: sd*, They will be
included into occupied list while we add virtio-scsi disks, This is
wrong and may cause adding additional virtio-scsi controller.

How to reproduce:
1. fresh install a qemu guest.
2. add 6 virtual USB disks.
3. add disk A on scsi bus.
   (then a virtio-scsi controller 0 will be added automatically)
4. add disk B on scsi bus.
5. observe.

Expected:
disk A and disk B  should be connected to virtio-scsi controller 0 because
controller 0 has enough available slots.

Actual:
disk A was connected to virtio-scsi controller 0.
An additional virtio-scsi controller 1 was added and disk B was connected
to it because virt-manager thought the virtio-scsi controller 0 doesn't
have available slot.

Signed-off-by: Lin Ma 

diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index 4a962e6..e563fe6 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -1456,7 +1456,8 @@ class vmmAddHardware(vmmGObjectUI):
 # Save occupied places per controller
 occupied = {}
 for d in used_disks:
-if d.get_target_prefix() == disk.get_target_prefix():
+if (d.get_target_prefix() == disk.get_target_prefix() and
+d.bus == "scsi"):
 num = virtinst.VirtualDisk.target_to_num(d.target)
 idx = num // 7
 if idx not in occupied:
++ 

commit virt-manager for openSUSE:Factory

2017-11-10 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-11-10 14:57:08

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Nov 10 14:57:08 2017 rev:159 rq:540042 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-10-31 15:44:36.332457031 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-11-10 14:57:24.388058501 +0100
@@ -1,0 +2,7 @@
+Wed Nov  8 13:59:11 MST 2017 - carn...@suse.com
+
+- bsc#1067263 - virt-install: ERROR unicode argument expected, got
+  'str'
+  virtinst-fix-replace-StringIO-with-io.patch
+
+---

New:

  virtinst-fix-replace-StringIO-with-io.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.mrGS2U/_old  2017-11-10 14:57:26.00197 +0100
+++ /var/tmp/diff_new_pack.mrGS2U/_new  2017-11-10 14:57:26.00452 +0100
@@ -111,6 +111,7 @@
 Patch167:   virtinst-no-usb-tablet-for-xenpv.patch
 Patch168:   virtinst-add-sle15-detection-support.patch
 Patch169:   virtinst-keep-install-iso-attached.patch
+Patch170:   virtinst-fix-replace-StringIO-with-io.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -267,6 +268,7 @@
 %patch167 -p1
 %patch168 -p1
 %patch169 -p1
+%patch170 -p1
 
 %build
 %if %{qemu_user}

++ 75210ed3-replace-StringIO-with-io.patch ++
--- /var/tmp/diff_new_pack.mrGS2U/_old  2017-11-10 14:57:26.135995278 +0100
+++ /var/tmp/diff_new_pack.mrGS2U/_new  2017-11-10 14:57:26.139995133 +0100
@@ -10,10 +10,10 @@
 [2] https://docs.python.org/3/library/io.html#text-i-o
 [3] https://docs.python.org/3/library/io.html#binary-i-o
 
-Index: virt-manager-1.4.3/tests/clitest.py
-===
 virt-manager-1.4.3.orig/tests/clitest.py
-+++ virt-manager-1.4.3/tests/clitest.py
+diff --git a/tests/clitest.py b/tests/clitest.py
+index bdc1b44..cf140a9 100644
+--- a/tests/clitest.py
 b/tests/clitest.py
 @@ -16,6 +16,7 @@
  # MA 02110-1301 USA.
  
@@ -39,10 +39,10 @@
  sys.stdout = out
  sys.stderr = out
  sys.argv = self.argv
-Index: virt-manager-1.4.3/tests/virtconvtest.py
-===
 virt-manager-1.4.3.orig/tests/virtconvtest.py
-+++ virt-manager-1.4.3/tests/virtconvtest.py
+diff --git a/tests/virtconvtest.py b/tests/virtconvtest.py
+index f804883..3afb392 100644
+--- a/tests/virtconvtest.py
 b/tests/virtconvtest.py
 @@ -18,8 +18,8 @@
  from __future__ import print_function
  
@@ -62,10 +62,10 @@
  def print_cb(msg):
  print(msg, file=outbuf)
  
-Index: virt-manager-1.4.3/virtManager/create.py
-===
 virt-manager-1.4.3.orig/virtManager/create.py
-+++ virt-manager-1.4.3/virtManager/create.py
+diff --git a/virtManager/create.py b/virtManager/create.py
+index 8b4d75d..5629396 100644
+--- a/virtManager/create.py
 b/virtManager/create.py
 @@ -18,10 +18,10 @@
  # MA 02110-1301 USA.
  #
@@ -87,10 +87,10 @@
  
  # Get virt-bootstrap logger
  vbLogger = logging.getLogger('virtBootstrap')
-Index: virt-manager-1.4.3/virtManager/snapshots.py
-===
 virt-manager-1.4.3.orig/virtManager/snapshots.py
-+++ virt-manager-1.4.3/virtManager/snapshots.py
+diff --git a/virtManager/snapshots.py b/virtManager/snapshots.py
+index eeb1a9f..0d905e3 100644
+--- a/virtManager/snapshots.py
 b/virtManager/snapshots.py
 @@ -20,9 +20,9 @@
  
  import datetime
@@ -111,10 +111,10 @@
  def _write_cb(_stream, data, userdata):
  ignore = stream
  ignore = userdata
-Index: virt-manager-1.4.3/virtinst/urlfetcher.py
-===
 virt-manager-1.4.3.orig/virtinst/urlfetcher.py
-+++ virt-manager-1.4.3/virtinst/urlfetcher.py
+diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
+index c57c9e1..ebc5c7a 100644
+--- a/virtinst/urlfetcher.py
 b/virtinst/urlfetcher.py
 @@ -21,11 +21,11 @@
  
  import ConfigParser
@@ -128,16 +128,7 @@
  import subprocess
  import tempfile
  import urllib2
-@@ -104,6 +104,8 @@ class _URLFetcher(object):
- buff = urlobj.read(self._block_size)
- if not buff:
- break
-+if isinstance(fileobj, io.StringIO) and type(buff) is str:
-+buff = unicode(buff)
- 

commit virt-manager for openSUSE:Factory

2017-10-31 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-10-31 15:44:34

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Tue Oct 31 15:44:34 2017 rev:158 rq:537741 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-10-13 14:18:52.360881320 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-10-31 15:44:36.332457031 +0100
@@ -1,0 +2,33 @@
+Fri Oct 27 14:19:35 MDT 2017 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  9a9f9ecd-ignore-comments-in-keymap-conf-files.patch
+  9617d126-systray-Use-APPLICATION_STATUS-for-appindicator.patch
+  e73abe5a-diskbackend-convert-to-long-the-calculated-size.patch
+  
6e6f59e7-diskbackend-get-a-proper-size-of-existing-block-device-while-cloning.patch
+  23aaf852-network-Set-bridge-name-to-None-instead-of-blank.patch
+  d1e1cf64-progress-remove-trailing-white-space.patch
+  63fce081-pycodestyle-Use-isinstance-for-type-checking.patch
+  08a58d61-pycodestyle-remove-description-of-fixed-errors.patch
+  bc3c9a9d-progress-remove-unused-import.patch
+  2d276ebe-progress-dont-overwrite-format.patch
+  e2ad4b2f-convert-iteritems-to-items.patch
+  dff00d4f-remove-deprecated-statvfs-module.patch
+  75210ed3-replace-StringIO-with-io.patch
+  a2bcd6c4-dont-compare-between-None-and-int.patch
+  44de92b7-use-reload-from-imp-module.patch
+  69c84bea-import-reduce-from-functools-module.patch
+  37ea5207-replace-StandardError-with-Exception.patch
+  f41aafc7-Use-enumerate-instead-of-range-and-len.patch
+  91c0669c-cli-Fix-OrderedDict-mutated-during-iteration-on-python3.patch
+  b8fa0c6b-xmlnsqemu-order-XML-output-like-libvirt-does.patch
+  d2648d81-virtconv-dont-implicitly-depend-on-dict-hash-order.patch
+  999dbb36-cli-Make-VirtCLIArgument-instantiation-less-crazy.patch
+  7f1b4cee-pycodestyle-fix-all-E125-warnings.patch
+  d82022bd-manager-drop-python2-only-cmp-usage.patch
+  374a3779-urlfetcher-write-test-file-as-binary-content.patch
+  f7c8cf9f-devicepanic-dont-return-empty-model-list.patch
+  3be78d1f-addhardware-dont-allow-panic-option-where-not-supported.patch
+  73de8285-systray-remove-redundant-variable-assignment.patch
+
+---

New:

  08a58d61-pycodestyle-remove-description-of-fixed-errors.patch
  23aaf852-network-Set-bridge-name-to-None-instead-of-blank.patch
  2d276ebe-progress-dont-overwrite-format.patch
  374a3779-urlfetcher-write-test-file-as-binary-content.patch
  37ea5207-replace-StandardError-with-Exception.patch
  3be78d1f-addhardware-dont-allow-panic-option-where-not-supported.patch
  44de92b7-use-reload-from-imp-module.patch
  63fce081-pycodestyle-Use-isinstance-for-type-checking.patch
  69c84bea-import-reduce-from-functools-module.patch
  
6e6f59e7-diskbackend-get-a-proper-size-of-existing-block-device-while-cloning.patch
  73de8285-systray-remove-redundant-variable-assignment.patch
  75210ed3-replace-StringIO-with-io.patch
  7f1b4cee-pycodestyle-fix-all-E125-warnings.patch
  91c0669c-cli-Fix-OrderedDict-mutated-during-iteration-on-python3.patch
  9617d126-systray-Use-APPLICATION_STATUS-for-appindicator.patch
  999dbb36-cli-Make-VirtCLIArgument-instantiation-less-crazy.patch
  9a9f9ecd-ignore-comments-in-keymap-conf-files.patch
  a2bcd6c4-dont-compare-between-None-and-int.patch
  b8fa0c6b-xmlnsqemu-order-XML-output-like-libvirt-does.patch
  bc3c9a9d-progress-remove-unused-import.patch
  d1e1cf64-progress-remove-trailing-white-space.patch
  d2648d81-virtconv-dont-implicitly-depend-on-dict-hash-order.patch
  d82022bd-manager-drop-python2-only-cmp-usage.patch
  dff00d4f-remove-deprecated-statvfs-module.patch
  e2ad4b2f-convert-iteritems-to-items.patch
  e73abe5a-diskbackend-convert-to-long-the-calculated-size.patch
  f41aafc7-Use-enumerate-instead-of-range-and-len.patch
  f7c8cf9f-devicepanic-dont-return-empty-model-list.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.ekR4KC/_old  2017-10-31 15:44:37.360419767 +0100
+++ /var/tmp/diff_new_pack.ekR4KC/_new  2017-10-31 15:44:37.364419622 +0100
@@ -41,6 +41,34 @@
 Patch1: 3b769643-dont-add-URI-into-params-for-tunneled-migration.patch
 Patch2: 6dfc4de1-add-support-for-parsing-formatting-SR-IOV-VFs.patch
 Patch3: 083dfcc8-Show-details-about-the-network-of-SR-IOV-VF-pool.patch
+Patch4: 9a9f9ecd-ignore-comments-in-keymap-conf-files.patch
+Patch5: 9617d126-systray-Use-APPLICATION_STATUS-for-appindicator.patch
+Patch6: e73abe5a-diskbackend-convert-to-long-the-calculated-size.patch
+Patch7:

commit virt-manager for openSUSE:Factory

2017-10-13 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-10-13 14:18:49

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Oct 13 14:18:49 2017 rev:157 rq:533484 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-09-21 12:36:41.835627052 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-10-13 14:18:52.360881320 +0200
@@ -1,0 +2,12 @@
+Wed Oct 11 13:58:55 MDT 2017 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  3b769643-dont-add-URI-into-params-for-tunneled-migration.patch
+  6dfc4de1-add-support-for-parsing-formatting-SR-IOV-VFs.patch
+  083dfcc8-Show-details-about-the-network-of-SR-IOV-VF-pool.patch
+- Add Recommends: python3-virt-bootstrap
+  Change 'Requires: libvirt-python' to 'Requires: python-libvirt-python'
+  virt-manager.spec
+- Add corrections to sle15 detection (bsc#1054986)
+
+---

New:

  083dfcc8-Show-details-about-the-network-of-SR-IOV-VF-pool.patch
  3b769643-dont-add-URI-into-params-for-tunneled-migration.patch
  6dfc4de1-add-support-for-parsing-formatting-SR-IOV-VFs.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.ZVchke/_old  2017-10-13 14:18:53.820817129 +0200
+++ /var/tmp/diff_new_pack.ZVchke/_new  2017-10-13 14:18:53.824816953 +0200
@@ -38,6 +38,9 @@
 Source2:virt-install.desktop
 Source3:virt-manager-supportconfig
 # Upstream Patches
+Patch1: 3b769643-dont-add-URI-into-params-for-tunneled-migration.patch
+Patch2: 6dfc4de1-add-support-for-parsing-formatting-SR-IOV-VFs.patch
+Patch3: 083dfcc8-Show-details-about-the-network-of-SR-IOV-VF-pool.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -124,11 +127,12 @@
 # This version not strictly required: virt-manager should work with older,
 # however varying amounts of functionality will not be enabled.
 Requires:   libosinfo >= 0.2.10
-Requires:   libvirt-python >= 0.7.0
 Requires:   python-ipaddr
+Requires:   python-libvirt-python >= 0.7.0
 Requires:   python-libxml2
 Requires:   python-urlgrabber
 Requires:   typelib(LibvirtGLib)
+Recommends: python3-virt-bootstrap
 BuildRequires:  gobject-introspection
 # No AppIndicator package on SLE
 %if 0%{?is_opensuse} == 0
@@ -162,6 +166,9 @@
 %prep
 %setup -q
 # Upstream Patches
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 083dfcc8-Show-details-about-the-network-of-SR-IOV-VF-pool.patch ++
Subject: host: Show details about the network of SR-IOV VF pool
From: Lin Ma l...@suse.com Fri Sep 22 19:39:10 2017 +0800
Date: Mon Oct 9 10:22:48 2017 +0200:
Git: 083dfcc8ec9e684052c999b79bb3508a5e9d3c03

Signed-off-by: Lin Ma 
Signed-off-by: Pavel Hrdina 

diff --git a/ui/host.ui b/ui/host.ui
index 2e5ea496..f5ea3905 100644
--- a/ui/host.ui
+++ b/ui/host.ui
@@ -1117,6 +1117,108 @@
 3
   
 
+
+  
+True
+True
+
+  
+True
+False
+vertical
+3
+
+  
+True
+False
+5
+6
+
+  
+True
+False
+start
+label
+True
+  
+  
+1
+0
+  
+
+
+  
+  

commit virt-manager for openSUSE:Factory

2017-09-21 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-09-21 12:35:31

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Thu Sep 21 12:35:31 2017 rev:156 rq:527611 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-09-15 22:31:18.855440695 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-09-21 12:36:41.835627052 +0200
@@ -1,0 +2,19 @@
+Wed Sep 20 08:21:01 MDT 2017 - carn...@suse.com
+
+- Update to virt-manager 1.4.3 (bsc#1027942)
+  virt-manager-1.4.3.tar.bz2
+  * Improve install of debian/ubuntu non-x86 media (Viktor Mihajlovski, Andrew 
Wong)
+  * New virt-install –graphics listen.* (Pavel Hrdina)
+  * New virt-install –disk snapshot_policy= (Pavel Hrdina)
+  * New virt-install –cpu cache.* (Lin Ma)
+  * Several bug fixes
+- Dropped the following patch contained in new tarball
+  e902fa55-force-binary-mode-with-FTP-servers.patch
+
+---
+Fri Sep 15 15:13:42 MDT 2017 - carn...@suse.com
+
+- Add .treeinfo detection for SUSE distros (bsc#1054986)
+  virtinst-add-sle15-detection-support.patch
+
+---
@@ -38 +57 @@
-  virt-manager-1.4.1.tar.bz2
+  virt-manager-1.4.2.tar.bz2

Old:

  e902fa55-force-binary-mode-with-FTP-servers.patch
  virt-manager-1.4.2.tar.bz2

New:

  virt-manager-1.4.3.tar.bz2



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.23KnFJ/_old  2017-09-21 12:36:49.726516637 +0200
+++ /var/tmp/diff_new_pack.23KnFJ/_new  2017-09-21 12:36:49.730516074 +0200
@@ -23,11 +23,11 @@
 %define libvirt_xen_packages   ""
 %define preferred_distros  "sles12sp3,opensuse42.3"
 %define kvm_packages   ""
-%define _version   1.4.2
+%define _version   1.4.3
 %define _release   0
 
 Name:   virt-manager
-Version:1.4.2
+Version:1.4.3
 Release:0
 Summary:Virtual Machine Manager
 License:GPL-2.0+
@@ -38,7 +38,6 @@
 Source2:virt-install.desktop
 Source3:virt-manager-supportconfig
 # Upstream Patches
-Patch1: e902fa55-force-binary-mode-with-FTP-servers.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -163,7 +162,6 @@
 %prep
 %setup -q
 # Upstream Patches
-%patch1 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ virt-manager-1.4.2.tar.bz2 -> virt-manager-1.4.3.tar.bz2 ++
 89056 lines of diff (skipped)

++ virtinst-add-caasp-support.patch ++
--- /var/tmp/diff_new_pack.23KnFJ/_old  2017-09-21 12:36:51.758230732 +0200
+++ /var/tmp/diff_new_pack.23KnFJ/_new  2017-09-21 12:36:51.758230732 +0200
@@ -24,13 +24,15 @@
  else:
  self.os_variant += "9"
  
-@@ -1090,6 +1096,9 @@ class SuseDistro(Distro):
- return osobj.name
- return self.os_variant
+@@ -1098,6 +1104,11 @@ class SLESDistro(SuseDistro):
+ class SLEDDistro(SuseDistro):
+ urldistro = "sled"
  
++
 +class CAASPDistro(SuseDistro):
 +urldistro = "caasp"
 +
++
+ class OESDistro(SuseDistro):
+ urldistro = "oes"
  
- class SLESDistro(SuseDistro):
- urldistro = "sles"

++ virtinst-add-sle15-detection-support.patch ++
--- /var/tmp/diff_new_pack.23KnFJ/_old  2017-09-21 12:36:51.770229044 +0200
+++ /var/tmp/diff_new_pack.23KnFJ/_new  2017-09-21 12:36:51.774228481 +0200
@@ -1,17 +1,16 @@
 References: bsc#1054986
 With SLE15 and openSUSE 15 the content file has been removed from the media.
 This file was used for SUSE distro version and arch detection. Now detection
-must be done by parsing the media.1/products file for distro version and the
-media.1/build file for the arch. The media.1/products and media.1/build files
-have always been around so the entire _distroFromSUSEContent could be rewritten
-(and simplified) to only check them. The products file format did change
-between 11-SP4 and 12. SLE10 has no build file.
+must be done by parsing the .treeinfo file.
+We must continue to keep the content parsing code for the older distros.
+As a fallback, detection is also setup to look at the media.1/products and
+media.1/build files.
 
-Index: virt-manager-1.4.2/virtinst/urlfetcher.py
+Index: virt-manager-1.4.3/virtinst/urlfetcher.py
 ===
 virt-manager-1.4.2.orig/virtinst/urlfetcher.py
-+++ virt-manager-1.4.2/virtinst/urlfetcher.py
-@@ -392,7 +392,20 @@ def _distroFromSUSEContent(fetcher, arch
+--- virt-manager-1.4.3.orig/virtinst/urlfetcher.py

commit virt-manager for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-09-15 22:31:18

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Fri Sep 15 22:31:18 2017 rev:155 rq:526207 version:1.4.2

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-08-28 15:18:22.994456837 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-09-15 22:31:18.855440695 +0200
@@ -1,0 +2,13 @@
+Thu Sep 14 11:51:22 MDT 2017 - carn...@suse.com
+
+- bsc#1058666 - virt-manager has a dependency on
+  typelib(AppIndicator3) = 0.1
+  virt-manager.spec
+
+---
+Tue Aug 29 15:47:17 MDT 2017 - carn...@suse.com
+
+- bsc#1056028 - Not able to install OES2018 as guest on Xen
+  virtinst-detect-oes-distros.patch
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.5015Ut/_old  2017-09-15 22:31:21.487069993 +0200
+++ /var/tmp/diff_new_pack.5015Ut/_new  2017-09-15 22:31:21.491069429 +0200
@@ -132,7 +132,7 @@
 Requires:   typelib(LibvirtGLib)
 BuildRequires:  gobject-introspection
 # No AppIndicator package on SLE
-%if %{?is_opensuse:0}%{!?is_opensuse:1}
+%if 0%{?is_opensuse} == 0
 %define __requires_exclude typelib\\(AppIndicator3\\)
 %endif
 

++ virtinst-add-caasp-support.patch ++
--- /var/tmp/diff_new_pack.5015Ut/_old  2017-09-15 22:31:21.643048022 +0200
+++ /var/tmp/diff_new_pack.5015Ut/_new  2017-09-15 22:31:21.647047458 +0200
@@ -5,9 +5,9 @@
 --- virt-manager-1.4.2.orig/virtinst/urlfetcher.py
 +++ virt-manager-1.4.2/virtinst/urlfetcher.py
 @@ -466,6 +466,10 @@ def _distroFromSUSEContent(fetcher, arch
- dclass = SLESDistro
+ dclass = OESDistro
  if distro_version is None:
- distro_version = ['VERSION', distribution[1].strip().rsplit(' 
')[4]]
+ distro_version = _parse_sle_distribution(distribution)
 +elif re.match(".*SUSE Container as a Service Platform*", 
distribution[1]):
 +dclass = CAASPDistro
 +if distro_version is None:
@@ -15,32 +15,22 @@
  elif re.match(".*openSUSE.*", distribution[1]):
  dclass = OpensuseDistro
  if distro_version is None:
-@@ -1028,7 +1032,8 @@ class SuseDistro(Distro):
- distro_version = self.version_from_content[1].strip()
- version = distro_version.split('.', 1)[0].strip()
- self.os_variant = self.urldistro
--if int(version) >= 10:
-+version_int = int(version)
-+if version_int >= 10:
- if self.os_variant.startswith(("sles", "sled")):
- sp_version = None
- if len(distro_version.split('.', 1)) == 2:
-@@ -1042,6 +1047,8 @@ class SuseDistro(Distro):
- self.os_variant += "tumbleweed"
- else:
- self.os_variant += distro_version
-+elif version_int == 1 and self.os_variant.startswith("caasp"):
+@@ -1052,6 +1056,8 @@ class SuseDistro(Distro):
+ self.os_variant += major_version + 'sp' + sp_version
+ else:
+ self.os_variant += major_version
++elif self.os_variant.startswith("caasp"):
 +self.os_variant = "caasp"
  else:
  self.os_variant += "9"
  
-@@ -1088,6 +1095,9 @@ class SLESDistro(SuseDistro):
- class SLEDDistro(SuseDistro):
- urldistro = "sled"
+@@ -1090,6 +1096,9 @@ class SuseDistro(Distro):
+ return osobj.name
+ return self.os_variant
  
 +class CAASPDistro(SuseDistro):
 +urldistro = "caasp"
 +
  
- # Suse  image store is harder - we fetch the kernel RPM and a helper
- # RPM and then munge bits together to generate a initrd
+ class SLESDistro(SuseDistro):
+ urldistro = "sles"

++ virtinst-add-sle15-detection-support.patch ++
--- /var/tmp/diff_new_pack.5015Ut/_old  2017-09-15 22:31:21.671044077 +0200
+++ /var/tmp/diff_new_pack.5015Ut/_new  2017-09-15 22:31:21.671044077 +0200
@@ -22,7 +22,7 @@
 +pbuf = fetcher.acquireFileContent("media.1/products").rsplit('/', 
1)[1].strip()
 +# Older style products format: 
SUSE-Linux-Enterprise-Server-11-SP4 11.4.4-1.109
 +# Newer style products format: SLES12-SP3 12.3-0
-+if pbuf.startswith('SLE'):
++if pbuf.startswith('SLE') or pbuf.startswith('leanos'):
 +pbuf = pbuf.split(' ')[0]
 +pbuf = " ".join(re.split('(\d+)', pbuf, 1))
 +cbuf = "\nDISTRO ," + 

commit virt-manager for openSUSE:Factory

2017-08-28 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-08-28 15:16:51

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Mon Aug 28 15:16:51 2017 rev:154 rq:518819 version:1.4.2

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-08-16 16:13:36.438279506 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-08-28 15:18:22.994456837 +0200
@@ -1,0 +2,20 @@
+Fri Aug 25 15:09:50 MDT 2017 - carn...@suse.com
+
+- bsc#1055787 - virt-install: With PV ISO installs guests will hang
+  on first reboot
+  virtinst-keep-install-iso-attached.patch
+
+---
+Thu Aug 24 15:56:38 MDT 2017 - carn...@suse.com
+
+- bsc#1054986 - Missing /media.1/products file on the ISO media
+  causes virt-install to fail detecting distro type and version
+  virtinst-add-sle15-detection-support.patch
+
+---
+Tue Aug 22 08:05:07 MDT 2017 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  e902fa55-force-binary-mode-with-FTP-servers.patch
+
+---

New:

  e902fa55-force-binary-mode-with-FTP-servers.patch
  virtinst-add-sle15-detection-support.patch
  virtinst-keep-install-iso-attached.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.mKvvly/_old  2017-08-28 15:18:25.534099959 +0200
+++ /var/tmp/diff_new_pack.mKvvly/_new  2017-08-28 15:18:25.546098273 +0200
@@ -38,6 +38,7 @@
 Source2:virt-install.desktop
 Source3:virt-manager-supportconfig
 # Upstream Patches
+Patch1: e902fa55-force-binary-mode-with-FTP-servers.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -78,6 +79,8 @@
 Patch165:   virtinst-fix-sle-distro-parsing.patch
 Patch166:   virtinst-check-date-format.patch
 Patch167:   virtinst-no-usb-tablet-for-xenpv.patch
+Patch168:   virtinst-add-sle15-detection-support.patch
+Patch169:   virtinst-keep-install-iso-attached.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -160,6 +163,7 @@
 %prep
 %setup -q
 # Upstream Patches
+%patch1 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -200,6 +204,8 @@
 %patch165 -p1
 %patch166 -p1
 %patch167 -p1
+%patch168 -p1
+%patch169 -p1
 
 %build
 %if %{qemu_user}

++ e902fa55-force-binary-mode-with-FTP-servers.patch ++
Subject: urlfetcher: force binary mode with FTP servers (bz #1462838)
From: Cole Robinson crobi...@redhat.com Thu Aug 17 16:10:46 2017 -0400
Date: Thu Aug 17 16:10:46 2017 -0400:
Git: e902fa5550cc09538429b0fa828fb31aa2706d01


diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index d04c78f..c60c77d 100644
--- a/virtinst/urlfetcher.py
+++ b/virtinst/urlfetcher.py
@@ -224,6 +224,8 @@ class _FTPURLFetcher(_URLFetcher):
 self._ftp = ftplib.FTP()
 self._ftp.connect(parsed.hostname, parsed.port)
 self._ftp.login()
+# Force binary mode
+self._ftp.voidcmd("TYPE I")
 except Exception as e:
 raise ValueError(_("Opening URL %s failed: %s.") %
   (self.location, str(e)))
++ virtinst-add-caasp-support.patch ++
--- /var/tmp/diff_new_pack.mKvvly/_old  2017-08-28 15:18:25.930044319 +0200
+++ /var/tmp/diff_new_pack.mKvvly/_new  2017-08-28 15:18:25.942042634 +0200
@@ -4,7 +4,7 @@
 ===
 --- virt-manager-1.4.2.orig/virtinst/urlfetcher.py
 +++ virt-manager-1.4.2/virtinst/urlfetcher.py
-@@ -464,6 +464,10 @@ def _distroFromSUSEContent(fetcher, arch
+@@ -466,6 +466,10 @@ def _distroFromSUSEContent(fetcher, arch
  dclass = SLESDistro
  if distro_version is None:
  distro_version = ['VERSION', distribution[1].strip().rsplit(' 
')[4]]
@@ -15,7 +15,7 @@
  elif re.match(".*openSUSE.*", distribution[1]):
  dclass = OpensuseDistro
  if distro_version is None:
-@@ -1026,7 +1030,8 @@ class SuseDistro(Distro):
+@@ -1028,7 +1032,8 @@ class SuseDistro(Distro):
  distro_version = self.version_from_content[1].strip()
  version = distro_version.split('.', 1)[0].strip()
  self.os_variant = self.urldistro
@@ -25,7 +25,7 @@
  if self.os_variant.startswith(("sles", "sled")):
  sp_version = None
  if len(distro_version.split('.', 1)) == 2:
-@@ -1040,6 +1045,8 @@ class 

commit virt-manager for openSUSE:Factory

2017-08-16 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-08-16 16:13:34

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Wed Aug 16 16:13:34 2017 rev:153 rq:515823 version:1.4.2

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-06-15 11:26:06.376420764 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-08-16 16:13:36.438279506 +0200
@@ -1,0 +2,42 @@
+Wed Aug  9 08:27:42 MDT 2017 - carn...@suse.com
+
+- Update to virt-manager 1.4.2 (bsc#1027942)
+  virt-manager-1.4.1.tar.bz2
+  virtinst-check-date-format.patch
+  virtinst-no-usb-tablet-for-xenpv.patch
+  * New VM wixard virt-bootstrap integration (Radostin Stoyanov)
+  * New VM wizard support for virtuozzo containers (Mikhail Feoktistov)
+  * network UI: add support to create SR-IOV VF pool (Lin Ma)
+  * Nicer OS list in New VM wizard (Pino Toscano)
+  * Better defaults for UEFI secureboot builds (Pavel Hrdina)
+  * Fix defaults for aarch64 VMs if graphics are requested
+  * virt-install: new –memdev option (Pavel Hrdina)
+  * virt-install: add –disk logical/physical_block_size (Yuri Arabadji)
+  * virt-install: add –features hyperv_reset=, hyperv_synic= (Venkat Datta N H)
+- Dropped the following patches contained in new tarball
+  f5d709d9-lang-it-1.patch
+  c66098f3-lang-it-2.patch
+  452a693e-lang-update.patch
+  6b5106ea-lang-it-ko-fix.patch
+  9c8ffe51-fix-multiple-warnings-1.patch
+  cb182f7e-skip-authentication-only-for-VNC-with-listen-type-none.patch
+  0610cd6a-ensure-bool-value-used-for-set_sensitive-call.patch
+  f341352c-remove-redundant-error-string.patch
+  ff3b4dc5-dont-overwrite-install-bootorder.patch
+  2099a194-reset-guest-domain-to-none-on-domain-creation-error.patch
+  93085d2b-reset-guest-domain-to-none-on-domain-creation-error.patch
+  7aee124d-fix-multiple-warnings-2.patch
+  f38c56c9-add-support-for-SMM-feature.patch
+  24f9d053-add-support-for-loader-secure-attribute.patch
+  
4f8e795c-if-required-by-UEFI-enable-SMM-feature-and-set-q35-machine-type.patch
+  b690908a-enable-secure-feature-together-with-smm-for-UEFI.patch
+  virtinst-expand-combobox.patch
+
+---
+Tue Aug  1 20:02:58 UTC 2017 - jfeh...@suse.com
+
+- Add a supportconfig plugin
+  virt-manager-supportconfig
+  FATE#323661
+
+---

Old:

  0610cd6a-ensure-bool-value-used-for-set_sensitive-call.patch
  2099a194-reset-guest-domain-to-none-on-domain-creation-error.patch
  24f9d053-add-support-for-loader-secure-attribute.patch
  452a693e-lang-update.patch
  4f8e795c-if-required-by-UEFI-enable-SMM-feature-and-set-q35-machine-type.patch
  6b5106ea-lang-it-ko-fix.patch
  7aee124d-fix-multiple-warnings-2.patch
  93085d2b-reset-guest-domain-to-none-on-domain-creation-error.patch
  9c8ffe51-fix-multiple-warnings-1.patch
  b690908a-enable-secure-feature-together-with-smm-for-UEFI.patch
  c66098f3-lang-it-2.patch
  cb182f7e-skip-authentication-only-for-VNC-with-listen-type-none.patch
  f341352c-remove-redundant-error-string.patch
  f38c56c9-add-support-for-SMM-feature.patch
  f5d709d9-lang-it-1.patch
  ff3b4dc5-dont-overwrite-install-bootorder.patch
  virt-manager-1.4.1.tar.bz2
  virtinst-expand-combobox.patch

New:

  virt-manager-1.4.2.tar.bz2
  virt-manager-supportconfig
  virtinst-check-date-format.patch
  virtinst-no-usb-tablet-for-xenpv.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.biykfn/_old  2017-08-16 16:13:48.124639114 +0200
+++ /var/tmp/diff_new_pack.biykfn/_new  2017-08-16 16:13:48.128638553 +0200
@@ -23,11 +23,11 @@
 %define libvirt_xen_packages   ""
 %define preferred_distros  "sles12sp3,opensuse42.3"
 %define kvm_packages   ""
-%define _version   1.4.1
+%define _version   1.4.2
 %define _release   0
 
 Name:   virt-manager
-Version:1.4.1
+Version:1.4.2
 Release:0
 Summary:Virtual Machine Manager
 License:GPL-2.0+
@@ -36,23 +36,8 @@
 Source0:%{name}-%{version}.tar.bz2
 Source1:virt-install.rb
 Source2:virt-install.desktop
+Source3:virt-manager-supportconfig
 # Upstream Patches
-Patch0: f5d709d9-lang-it-1.patch
-Patch1: c66098f3-lang-it-2.patch
-Patch2: 452a693e-lang-update.patch
-Patch3: 6b5106ea-lang-it-ko-fix.patch
-Patch4: 9c8ffe51-fix-multiple-warnings-1.patch
-Patch5: 
cb182f7e-skip-authentication-only-for-VNC-with-listen-type-none.patch
-Patch6: 

commit virt-manager for openSUSE:Factory

2017-06-15 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-06-15 11:25:38

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Thu Jun 15 11:25:38 2017 rev:152 rq:503738 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-05-16 14:46:31.363600603 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-06-15 11:26:06.376420764 +0200
@@ -1,0 +2,22 @@
+Wed Jun  7 11:29:02 MDT 2017 - carn...@suse.com
+
+- bsc#1042709 - unable to create VM with SLE4SAP SP1 over network
+  install
+  virtinst-fix-sle-distro-parsing.patch
+
+---
+Mon Jun  5 11:38:58 MDT 2017 - carn...@suse.com
+
+- bsc#1027942 - virt-manager: Missing upstream bug fixes
+  f38c56c9-add-support-for-SMM-feature.patch
+  24f9d053-add-support-for-loader-secure-attribute.patch
+  
4f8e795c-if-required-by-UEFI-enable-SMM-feature-and-set-q35-machine-type.patch
+  b690908a-enable-secure-feature-together-with-smm-for-UEFI.patch
+
+---
+Thu May 25 16:31:57 MDT 2017 - carn...@suse.com
+
+- bsc#1027942 - virt-manager: Missing upstream bug fixes
+  93085d2b-reset-guest-domain-to-none-on-domain-creation-error.patch
+
+---

New:

  24f9d053-add-support-for-loader-secure-attribute.patch
  4f8e795c-if-required-by-UEFI-enable-SMM-feature-and-set-q35-machine-type.patch
  93085d2b-reset-guest-domain-to-none-on-domain-creation-error.patch
  b690908a-enable-secure-feature-together-with-smm-for-UEFI.patch
  f38c56c9-add-support-for-SMM-feature.patch
  virtinst-fix-sle-distro-parsing.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.0YGOnV/_old  2017-06-15 11:26:07.620245182 +0200
+++ /var/tmp/diff_new_pack.0YGOnV/_new  2017-06-15 11:26:07.620245182 +0200
@@ -47,7 +47,12 @@
 Patch7: f341352c-remove-redundant-error-string.patch
 Patch8: ff3b4dc5-dont-overwrite-install-bootorder.patch
 Patch9: 
2099a194-reset-guest-domain-to-none-on-domain-creation-error.patch
-Patch10:7aee124d-fix-multiple-warnings-2.patch
+Patch10:
93085d2b-reset-guest-domain-to-none-on-domain-creation-error.patch
+Patch11:7aee124d-fix-multiple-warnings-2.patch
+Patch12:f38c56c9-add-support-for-SMM-feature.patch
+Patch13:24f9d053-add-support-for-loader-secure-attribute.patch
+Patch14:
4f8e795c-if-required-by-UEFI-enable-SMM-feature-and-set-q35-machine-type.patch
+Patch15:b690908a-enable-secure-feature-together-with-smm-for-UEFI.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -86,6 +91,7 @@
 Patch162:   virtinst-refresh_before_fetch_pool.patch
 Patch163:   virtinst-use-xenpae-kernel-for-32bit.patch
 Patch164:   virtinst-use-qemu-for-cdrom-device.patch
+Patch165:   virtinst-fix-sle-distro-parsing.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -179,6 +185,11 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -217,6 +228,7 @@
 %patch162 -p1
 %patch163 -p1
 %patch164 -p1
+%patch165 -p1
 
 %build
 %if %{qemu_user}

++ 2099a194-reset-guest-domain-to-none-on-domain-creation-error.patch ++
--- /var/tmp/diff_new_pack.0YGOnV/_old  2017-06-15 11:26:07.708232761 +0200
+++ /var/tmp/diff_new_pack.0YGOnV/_new  2017-06-15 11:26:07.708232761 +0200
@@ -21,10 +21,10 @@
 
 Signed-off-by: Christophe Fergeau 
 
-diff --git a/virtinst/guest.py b/virtinst/guest.py
-index c8c3d14c..39975199 100644
 a/virtinst/guest.py
-+++ b/virtinst/guest.py
+Index: virt-manager-1.4.1/virtinst/guest.py
+===
+--- virt-manager-1.4.1.orig/virtinst/guest.py
 virt-manager-1.4.1/virtinst/guest.py
 @@ -408,6 +408,7 @@ class Guest(XMLBuilder):
  exc_info = sys.exc_info()
  try:

++ 24f9d053-add-support-for-loader-secure-attribute.patch ++
References: rbz#1387479

Subject: virt-install: add support for loader secure attribute
From: Pavel Hrdina phrd...@redhat.com Thu Jan 26 16:11:31 2017 +0100
Date: Thu Jun 1 09:58:46 2017 +0200:
Git: 24f9d05329a485c21325fc2e93a283b832359d05

Signed-off-by: Pavel Hrdina 

Index: virt-manager-1.4.1/man/virt-install.pod

commit virt-manager for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-05-16 14:45:33

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Tue May 16 14:45:33 2017 rev:151 rq:494844 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-04-29 10:53:25.045133877 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-05-16 14:46:31.363600603 +0200
@@ -1,0 +2,7 @@
+Mon May  8 16:13:38 MDT 2017 - carn...@suse.com
+
+- bsc#1037958 - Guest "sles-11-sp3 32bit PV" is failed to boot up
+  Don't use 64bit grub.xen to boot 32bit PV guest
+  virtinst-pvgrub2-bootloader.patch
+
+---



Other differences:
--
++ virtinst-pvgrub2-bootloader.patch ++
--- /var/tmp/diff_new_pack.CeCHDS/_old  2017-05-16 14:46:34.183204468 +0200
+++ /var/tmp/diff_new_pack.CeCHDS/_new  2017-05-16 14:46:34.183204468 +0200
@@ -13,7 +13,7 @@
 -self.bootloader = "/usr/bin/pygrub"
 -self.os.clear()
 +os_ver = self._get_os_variant()
-+if os_ver.startswith("sles9") or \
++if self.os.arch != 'x86_64' or os_ver.startswith("sles9") or \
 +   os_ver.startswith("sles10") or os_ver.startswith("sled10") or \
 +   os_ver.startswith("opensuse10") or 
os_ver.startswith("opensuse11"):
 +self.bootloader = "/usr/bin/pygrub"




commit virt-manager for openSUSE:Factory

2017-04-29 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-04-29 10:53:21

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Sat Apr 29 10:53:21 2017 rev:150 rq:491713 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-04-11 09:36:04.358130577 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-04-29 10:53:25.045133877 +0200
@@ -1,0 +2,30 @@
+Thu Apr 27 13:53:45 MDT 2017 - carn...@suse.com
+
+- bsc#1027942 - virt-manager: Missing upstream bug fixes
+  f5d709d9-lang-it-1.patch
+  c66098f3-lang-it-2.patch
+  452a693e-lang-update.patch
+  6b5106ea-lang-it-ko-fix.patch
+  9c8ffe51-fix-multiple-warnings-1.patch
+  cb182f7e-skip-authentication-only-for-VNC-with-listen-type-none.patch
+  0610cd6a-ensure-bool-value-used-for-set_sensitive-call.patch
+  f341352c-remove-redundant-error-string.patch
+  ff3b4dc5-dont-overwrite-install-bootorder.patch
+  2099a194-reset-guest-domain-to-none-on-domain-creation-error.patch
+  7aee124d-fix-multiple-warnings-2.patch
+
+---
+Mon Apr 24 16:57:50 MDT 2017 - carn...@suse.com
+
+- Check for SLE15 and Leap 15 bsc#1035779 
+  virtman-default-guest-from-host-os.patch
+
+---
+Mon Apr 24 16:55:36 JST 2017 - jan.hilber...@suse.com
+
+- Fix CaaSP detection (bsc#1010060)
+  Allow installation of "SUSE Container as a Service Platform".
+  virtinst-add-caasp-support.patch
+- Dropped virtinst-add-casp-support.patch
+
+---

Old:

  virtinst-add-casp-support.patch

New:

  0610cd6a-ensure-bool-value-used-for-set_sensitive-call.patch
  2099a194-reset-guest-domain-to-none-on-domain-creation-error.patch
  452a693e-lang-update.patch
  6b5106ea-lang-it-ko-fix.patch
  7aee124d-fix-multiple-warnings-2.patch
  9c8ffe51-fix-multiple-warnings-1.patch
  c66098f3-lang-it-2.patch
  cb182f7e-skip-authentication-only-for-VNC-with-listen-type-none.patch
  f341352c-remove-redundant-error-string.patch
  f5d709d9-lang-it-1.patch
  ff3b4dc5-dont-overwrite-install-bootorder.patch
  virtinst-add-caasp-support.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.Dl3dxH/_old  2017-04-29 10:53:26.412940649 +0200
+++ /var/tmp/diff_new_pack.Dl3dxH/_new  2017-04-29 10:53:26.416940084 +0200
@@ -37,6 +37,17 @@
 Source1:virt-install.rb
 Source2:virt-install.desktop
 # Upstream Patches
+Patch0: f5d709d9-lang-it-1.patch
+Patch1: c66098f3-lang-it-2.patch
+Patch2: 452a693e-lang-update.patch
+Patch3: 6b5106ea-lang-it-ko-fix.patch
+Patch4: 9c8ffe51-fix-multiple-warnings-1.patch
+Patch5: 
cb182f7e-skip-authentication-only-for-VNC-with-listen-type-none.patch
+Patch6: 0610cd6a-ensure-bool-value-used-for-set_sensitive-call.patch
+Patch7: f341352c-remove-redundant-error-string.patch
+Patch8: ff3b4dc5-dont-overwrite-install-bootorder.patch
+Patch9: 
2099a194-reset-guest-domain-to-none-on-domain-creation-error.patch
+Patch10:7aee124d-fix-multiple-warnings-2.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -61,7 +72,7 @@
 Patch126:   virtinst-set-qemu-emulator.patch
 Patch127:   virtinst-add-ppc64-arch-support.patch
 Patch128:   virtinst-s390x-disable-graphics.patch
-Patch129:   virtinst-add-casp-support.patch
+Patch129:   virtinst-add-caasp-support.patch
 Patch130:   virtinst-expand-combobox.patch
 # Bug Fixes
 Patch150:   virtman-prevent-double-click-starting-vm-twice.patch
@@ -157,6 +168,17 @@
 %prep
 %setup -q
 # Upstream Patches
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 0610cd6a-ensure-bool-value-used-for-set_sensitive-call.patch ++
Subject: console: Ensure bool value used for set_sensitive call
From: Cole Robinson crobi...@redhat.com Wed Mar 29 12:07:02 2017 -0400
Date: Wed Mar 29 12:07:50 2017 -0400:
Git: 0610cd6acb5d59f492070759b01e8ee5ccd082a9

Seen in a bug log file:

[Tue, 28 Mar 2017 12:05:21 virt-manager 2465] DEBUG (cli:251) Uncaught 
exception:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/details.py", line 1303, in 
refresh_vm_state
self.console.details_update_widget_states()
  File "/usr/share/virt-manager/virtManager/console.py", line 1025, in 

commit virt-manager for openSUSE:Factory

2017-04-11 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-04-11 09:35:58

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Tue Apr 11 09:35:58 2017 rev:149 rq:483463 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2017-02-03 20:04:29.355582577 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-04-11 09:36:04.358130577 +0200
@@ -1,0 +2,54 @@
+Wed Mar 15 22:24:27 MDT 2017 - carn...@suse.com
+
+- Fix initializing the default host installation source location
+  (bsc#1027942)
+  virtman-default-guest-from-host-os.patch
+  virtman-show-suse-install-repos.patch
+
+---
+Thu Mar  9 08:34:24 MST 2017 - carn...@suse.com
+
+- Update to virt-manager 1.4.1 (bsc#1027942)
+  virt-manager-1.4.1.tar.bz2
+  * storage/nodedev event API support (Jovanka Gulicoska)
+  * UI options for enabling spice GL (Marc-André Lureau)
+  * Add default virtio-rng /dev/urandom for supported guest OS
+  * Cloning and rename support for UEFI VMs (Pavel Hrdina)
+  * libguestfs inspection UI improvements (Pino Toscano)
+  * virt-install: Add –qemu-commandline
+  * virt-install: Add –network vhostuser (Chen Hanxiao)
+  * virt-install: Add –sysinfo (Charles Arnold)
+- Dropped the following patches contained in new tarball
+  0425975f-use-virDomainMigrate3-API.patch
+  0910c8dc-black-display-if-graphic-mode-vnc-and-listen-type-none.patch
+  1d2cd306-Fix-incorrect-usage-of-virtio-input.patch
+  2df8dc39-detect-whether-IP-address-comes-from-DHCP-server.patch
+  559e813b-xmlbuilder-02.patch
+  561f5cd3-drop-xenmigr-scheme-from-Xen-migration-URI.patch
+  5a11cf07-virt-manager-generates-invalid-guest-XML.patch
+  617b9271-dont-return-virtio1.0-net-as-valid-device-name.patch
+  63784f4d-document-new-sysinfo-option.patch
+  6daff68a-fix-italian-lang-file.patch
+  7962672c-fix-error-checking-extra_args.patch
+  835ddc5f-xmlbuilder-04.patch
+  a3206f89-Add-the-sysinfo-option.patch
+  a931a1a6-xmlbuilder-03.patch
+  b08647c2-xmlbuilder-05.patch
+  b31c0b44-Add-classes-for-defining-SMBios-information.patch
+  b4858842-fix-bad-version-check-regression.patch
+  b8dccf6a-fix-connection-to-remote-spice-with-password.patch
+  c5ce0ab5-connection-fix-transport-detection.patch
+  d8a0a788-xmlbuilder-01.patch
+  e69cc002-spice-catch-failure-to-setup-usbdev-manager.patch
+  f07a3021-fix-wait-to-behave-like-noautoconsole.patch
+  virtinst-add-default-rng-device.patch
+
+---
+Fri Mar  3 11:55:53 MST 2017 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1027942)
+  2df8dc39-detect-whether-IP-address-comes-from-DHCP-server.patch
+  b8dccf6a-fix-connection-to-remote-spice-with-password.patch
+  0910c8dc-black-display-if-graphic-mode-vnc-and-listen-type-none.patch
+
+---
@@ -162,0 +217,7 @@
+Tue May  3 12:13:29 MDT 2016 - carn...@suse.com
+
+- fate#319659 - vm-install: remove shortcut in virt-manager
+  Need to also remove spec file 'Recommends' for vm-install
+  virt-manager.spec
+
+---
@@ -479,0 +541,12 @@
+
+---
+Wed Jul  8 08:45:09 MDT 2015 - carn...@suse.com
+
+- bsc#937386 - virt-manager can not create new VMs: "Error
+  launching manager: list index out of range"
+  virtman-show-suse-install-repos.patch
+
+---
+Wed Jul  8 07:29:41 MDT 2015 - cy...@suse.com
+
+- bnc#910929 - Unable to clone a qcow2 guest

Old:

  0425975f-use-virDomainMigrate3-API.patch
  1d2cd306-Fix-incorrect-usage-of-virtio-input.patch
  559e813b-xmlbuilder-02.patch
  561f5cd3-drop-xenmigr-scheme-from-Xen-migration-URI.patch
  5a11cf07-virt-manager-generates-invalid-guest-XML.patch
  617b9271-dont-return-virtio1.0-net-as-valid-device-name.patch
  63784f4d-document-new-sysinfo-option.patch
  6daff68a-fix-italian-lang-file.patch
  7962672c-fix-error-checking-extra_args.patch
  835ddc5f-xmlbuilder-04.patch
  a3206f89-Add-the-sysinfo-option.patch
  a931a1a6-xmlbuilder-03.patch
  b08647c2-xmlbuilder-05.patch
  b31c0b44-Add-classes-for-defining-SMBios-information.patch
  b4858842-fix-bad-version-check-regression.patch
  c5ce0ab5-connection-fix-transport-detection.patch
  d8a0a788-xmlbuilder-01.patch
  e69cc002-spice-catch-failure-to-setup-usbdev-manager.patch
  f07a3021-fix-wait-to-behave-like-noautoconsole.patch
  virt-manager-1.4.0.tar.bz2
  virtinst-add-default-rng-device.patch

New:

  virt-manager-1.4.1.tar.bz2


commit virt-manager for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2017-01-29 10:40:27

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-09-13 22:25:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2017-02-03 20:04:29.355582577 +0100
@@ -1,0 +2,41 @@
+Thu Jan 26 16:41:16 MST 2017 - carn...@suse.com
+
+- bsc#1022173 - virt-manager: unknown input device type
+  'virtio1.0-input'
+  1d2cd306-Fix-incorrect-usage-of-virtio-input.patch
+- bsc#1005848 - KVM: guest can not be started on top of SLES12SP1
+  KVM host ppc64
+  5a11cf07-virt-manager-generates-invalid-guest-XML.patch
+- Upstream bug fixes
+  617b9271-dont-return-virtio1.0-net-as-valid-device-name.patch
+  7962672c-fix-error-checking-extra_args.patch
+  b4858842-fix-bad-version-check-regression.patch
+  f07a3021-fix-wait-to-behave-like-noautoconsole.patch
+
+---
+Wed Jan 18 15:36:46 MST 2017 - carn...@suse.com
+
+- bsc#1005861 - virt-manager create new machine dialog box too
+  small to display system type
+  virtinst-expand-combobox.patch
+
+---
+Wed Jan 18 10:54:58 MST 2017 - carn...@suse.com
+
+- bsc#976796 - Virt-manager does not show up in application menu
+  virtman-desktop.patch
+  virt-install.desktop
+
+---
+Fri Jan 13 11:38:11 MST 2017 - carn...@suse.com
+
+- bsc#1010060 - virt-install won't start CASP installation
+  virtinst-add-casp-support.patch
+
+---
+Fri Jan  6 15:54:59 MST 2017 - carn...@suse.com
+
+- bsc#1018645 - virt-manager is using pygrub for booting PV domU
+  virtinst-pvgrub2-bootloader.patch
+
+---
@@ -1514 +1555 @@
-- fate##314135: Support PVSCSI on XEN and VirtioSCSI on KVM -
+- fate#314135: Support PVSCSI on XEN and VirtioSCSI on KVM -
@@ -1516 +1557 @@
-- fate##313076: HBA passthrough for kvm
+- fate#313076: HBA passthrough for kvm

New:

  1d2cd306-Fix-incorrect-usage-of-virtio-input.patch
  5a11cf07-virt-manager-generates-invalid-guest-XML.patch
  617b9271-dont-return-virtio1.0-net-as-valid-device-name.patch
  7962672c-fix-error-checking-extra_args.patch
  b4858842-fix-bad-version-check-regression.patch
  f07a3021-fix-wait-to-behave-like-noautoconsole.patch
  virtinst-add-casp-support.patch
  virtinst-expand-combobox.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.HmvZI7/_old  2017-02-03 20:04:31.043345014 +0100
+++ /var/tmp/diff_new_pack.HmvZI7/_new  2017-02-03 20:04:31.047344451 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 %define qemu_user  "qemu"
 %define libvirt_kvm_packages   ""
 %define libvirt_xen_packages   ""
-%define preferred_distros  "sles12sp2,opensuse42.2"
+%define preferred_distros  "sles12sp3,opensuse42.3"
 %define kvm_packages   ""
 %define _version   1.4.0
 %define _release   0
@@ -50,6 +50,12 @@
 Patch11:63784f4d-document-new-sysinfo-option.patch
 Patch12:0425975f-use-virDomainMigrate3-API.patch
 Patch13:561f5cd3-drop-xenmigr-scheme-from-Xen-migration-URI.patch
+Patch14:1d2cd306-Fix-incorrect-usage-of-virtio-input.patch
+Patch15:7962672c-fix-error-checking-extra_args.patch
+Patch16:b4858842-fix-bad-version-check-regression.patch
+Patch17:5a11cf07-virt-manager-generates-invalid-guest-XML.patch
+Patch18:617b9271-dont-return-virtio1.0-net-as-valid-device-name.patch
+Patch19:f07a3021-fix-wait-to-behave-like-noautoconsole.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -75,6 +81,8 @@
 Patch127:   virtinst-set-qemu-emulator.patch
 Patch128:   virtinst-add-ppc64-arch-support.patch
 Patch129:   virtinst-s390x-disable-graphics.patch
+Patch130:   virtinst-add-casp-support.patch
+Patch131:   virtinst-expand-combobox.patch
 # Bug Fixes
 Patch150:   virtman-prevent-double-click-starting-vm-twice.patch
 Patch151:   virtman-increase-setKeepAlive-count.patch
@@ -180,6 +188,12 @@
 

commit virt-manager for openSUSE:Factory

2016-09-13 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-09-13 22:24:36

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-08-25 09:57:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-09-13 22:25:21.0 +0200
@@ -1,0 +2,21 @@
+Thu Sep  8 13:50:49 MDT 2016 - carn...@suse.com
+
+- bsc#996020 - L3: Unable to migrate VMs between SLES12 SP1 XEN
+  Hosts with virt-manager
+  0425975f-use-virDomainMigrate3-API.patch
+  561f5cd3-drop-xenmigr-scheme-from-Xen-migration-URI.patch
+
+---
+Thu Sep  8 10:03:24 MDT 2016 - carn...@suse.com
+
+- fate#319621 - KVM: Provide SMBIOS info to KVM virtual machines
+  d8a0a788-xmlbuilder-01.patch
+  559e813b-xmlbuilder-02.patch
+  a931a1a6-xmlbuilder-03.patch
+  835ddc5f-xmlbuilder-04.patch
+  b08647c2-xmlbuilder-05.patch
+  b31c0b44-Add-classes-for-defining-SMBios-information.patch
+  a3206f89-Add-the-sysinfo-option.patch
+  63784f4d-document-new-sysinfo-option.patch
+
+---

New:

  0425975f-use-virDomainMigrate3-API.patch
  559e813b-xmlbuilder-02.patch
  561f5cd3-drop-xenmigr-scheme-from-Xen-migration-URI.patch
  63784f4d-document-new-sysinfo-option.patch
  835ddc5f-xmlbuilder-04.patch
  a3206f89-Add-the-sysinfo-option.patch
  a931a1a6-xmlbuilder-03.patch
  b08647c2-xmlbuilder-05.patch
  b31c0b44-Add-classes-for-defining-SMBios-information.patch
  d8a0a788-xmlbuilder-01.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.HGrPyM/_old  2016-09-13 22:25:23.0 +0200
+++ /var/tmp/diff_new_pack.HGrPyM/_new  2016-09-13 22:25:23.0 +0200
@@ -40,6 +40,16 @@
 Patch1: e69cc002-spice-catch-failure-to-setup-usbdev-manager.patch
 Patch2: c5ce0ab5-connection-fix-transport-detection.patch
 Patch3: 6daff68a-fix-italian-lang-file.patch
+Patch4: d8a0a788-xmlbuilder-01.patch
+Patch5: 559e813b-xmlbuilder-02.patch
+Patch6: a931a1a6-xmlbuilder-03.patch
+Patch7: 835ddc5f-xmlbuilder-04.patch
+Patch8: b08647c2-xmlbuilder-05.patch
+Patch9: b31c0b44-Add-classes-for-defining-SMBios-information.patch
+Patch10:a3206f89-Add-the-sysinfo-option.patch
+Patch11:63784f4d-document-new-sysinfo-option.patch
+Patch12:0425975f-use-virDomainMigrate3-API.patch
+Patch13:561f5cd3-drop-xenmigr-scheme-from-Xen-migration-URI.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -160,6 +170,16 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 0425975f-use-virDomainMigrate3-API.patch ++
References: bsc#996020

Subject: virt-manager: use virDomainMigrate3 API
From: Jim Fehlig jfeh...@suse.com Wed Aug 31 11:26:24 2016 -0600
Date: Thu Sep 8 11:47:45 2016 -0400:
Git: 0425975f38cec8fca6fd6ad600985403b9d24adb

libvirt has supported the migration V3 protocol for many years now.
A nice feature of the virDomainMigrate3 API is that it will detect
the protocol version supported by the underlying hypervisor,
including whether it supports the extensible parameters variant,
and call the hypervisor API with parameters fixed up as needed.

Change virt-manager to use the virDomainMigrate3 API, allowing
migration to work with hypervisors that only support the extensible
parameters variant of the migration V3 API.

Signed-off-by: Jim Fehlig 

Index: virt-manager-1.4.0/virtManager/domain.py
===
--- virt-manager-1.4.0.orig/virtManager/domain.py
+++ virt-manager-1.4.0/virtManager/domain.py
@@ -1487,7 +1487,11 @@ class vmmDomain(vmmLibvirtObject):
 if meter:
 start_job_progress_thread(self, meter, _("Migrating domain"))
 
-self._backend.migrate(libvirt_destconn, flags, None, interface, 0)
+params = {}
+if interface:
+params[libvirt.VIR_MIGRATE_PARAM_URI] = interface
+
+self._backend.migrate3(libvirt_destconn, params, flags)
 
 # Don't schedule any conn update, migrate dialog handles it for us
 
++ 559e813b-xmlbuilder-02.patch ++
References: fate#319621

Subject: xmlbuilder: Clarify the node 'pretty' helper function
From: Cole Robinson crobi...@redhat.com Mon Jul 18 

commit virt-manager for openSUSE:Factory

2016-08-25 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-08-25 09:57:06

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-07-30 00:27:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-08-25 09:57:08.0 +0200
@@ -1,0 +2,14 @@
+Fri Aug 19 10:28:19 MDT 2016 - carn...@suse.com
+
+- bsc#994394 - virt-manager does not show up in SLE Classic
+  "Applications" menu
+  virtman-desktop.patch
+
+---
+Wed Aug 17 13:24:50 MDT 2016 - carn...@suse.com
+
+- bsc#989639 - xen cdrom device pass-through fails to start FV
+  guest
+  virtinst-use-qemu-for-cdrom-device.patch
+
+---

New:

  virtinst-use-qemu-for-cdrom-device.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.7ej0R9/_old  2016-08-25 09:57:09.0 +0200
+++ /var/tmp/diff_new_pack.7ej0R9/_new  2016-08-25 09:57:09.0 +0200
@@ -21,7 +21,7 @@
 %define qemu_user  "qemu"
 %define libvirt_kvm_packages   ""
 %define libvirt_xen_packages   ""
-%define preferred_distros  "sles12sp1,opensuse42.1"
+%define preferred_distros  "sles12sp2,opensuse42.2"
 %define kvm_packages   ""
 %define _version   1.4.0
 %define _release   0
@@ -76,6 +76,7 @@
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
 Patch163:   virtinst-use-xenpae-kernel-for-32bit.patch
+Patch164:   virtinst-use-qemu-for-cdrom-device.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -195,6 +196,7 @@
 %patch161 -p1
 %patch162 -p1
 %patch163 -p1
+%patch164 -p1
 
 %build
 %if %{qemu_user}

++ virtinst-use-qemu-for-cdrom-device.patch ++
References: bsc#989639
When the device added is a cdrom device (/dev/sr0), don't use
"phy" as the driver name but instead use "qemu".

Index: virt-manager-1.4.0/virtinst/devicedisk.py
===
--- virt-manager-1.4.0.orig/virtinst/devicedisk.py
+++ virt-manager-1.4.0/virtinst/devicedisk.py
@@ -550,7 +550,8 @@ class VirtualDisk(VirtualDevice):
 # Recommended xen defaults from here:
 # https://bugzilla.redhat.com/show_bug.cgi?id=1171550#c9
 # If type block, use name=phy. Otherwise do the same as qemu
-if self.conn.is_xen() and self.type == self.TYPE_BLOCK:
+if self.conn.is_xen() and self.type == self.TYPE_BLOCK and not \
+   self.is_cdrom():
 return self.DRIVER_NAME_PHY
 if self.conn.check_support(
 self.conn.SUPPORT_CONN_DISK_DRIVER_NAME_QEMU):
++ virtman-desktop.patch ++
--- /var/tmp/diff_new_pack.7ej0R9/_old  2016-08-25 09:57:09.0 +0200
+++ /var/tmp/diff_new_pack.7ej0R9/_new  2016-08-25 09:57:09.0 +0200
@@ -1,7 +1,7 @@
-Index: virt-manager-1.3.0/data/virt-manager.desktop.in
+Index: virt-manager-1.4.0/data/virt-manager.desktop.in
 ===
 virt-manager-1.3.0.orig/data/virt-manager.desktop.in
-+++ virt-manager-1.3.0/data/virt-manager.desktop.in
+--- virt-manager-1.4.0.orig/data/virt-manager.desktop.in
 virt-manager-1.4.0/data/virt-manager.desktop.in
 @@ -1,8 +1,19 @@
  [Desktop Entry]
  _Name=Virtual Machine Manager
@@ -16,7 +16,7 @@
  Terminal=false
 -Categories=System;
 +Encoding=UTF-8
-+Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Virtualization;
++Categories=GTK;GNOME;System;Monitor;Qt;X-SuSE-YaST;X-SuSE-YaST-Virtualization;
 +X-KDE-ModuleType=Library
 +X-KDE-RootOnly=true
 +X-KDE-HasReadOnlyMode=false




commit virt-manager for openSUSE:Factory

2016-07-29 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-07-30 00:27:32

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-07-03 12:28:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-07-30 00:27:33.0 +0200
@@ -1,0 +2,7 @@
+Tue Jul 19 16:23:06 MDT 2016 - carn...@suse.com
+
+- bsc#989652 - Cannot create vms with virt-manager after upgrade
+  from SLES11SP4 to SLES12SP2
+  virtman-show-suse-install-repos.patch
+
+---



Other differences:
--
++ virtinst-nfs-install-sanitize.patch ++
--- /var/tmp/diff_new_pack.NzTPFp/_old  2016-07-30 00:27:34.0 +0200
+++ /var/tmp/diff_new_pack.NzTPFp/_new  2016-07-30 00:27:34.0 +0200
@@ -9,7 +9,7 @@
 ===
 --- virt-manager-1.4.0.orig/virtinst/util.py
 +++ virt-manager-1.4.0/virtinst/util.py
-@@ -552,3 +552,22 @@ def getInstallRepos(enabled_sources_only
+@@ -553,3 +553,22 @@ def getInstallRepos(enabled_sources_only
  return (index_dom0, zypper_output)
  
  

++ virtman-show-suse-install-repos.patch ++
--- /var/tmp/diff_new_pack.NzTPFp/_old  2016-07-30 00:27:35.0 +0200
+++ /var/tmp/diff_new_pack.NzTPFp/_new  2016-07-30 00:27:35.0 +0200
@@ -38,7 +38,7 @@
  
  def listify(l):
  if l is None:
-@@ -452,3 +455,100 @@ def make_meter(quiet):
+@@ -452,3 +455,101 @@ def make_meter(quiet):
  if quiet:
  return progress.BaseMeter()
  return progress.TextMeter(fo=sys.stdout)
@@ -116,9 +116,10 @@
 +zypper_header = [x.strip(' ') for x in zypper_list[0].split("|")]
 +uri_index = zypper_header.index("URI")
 +except:
-+if dom0_inst_source is None:
-+dom0_inst_source = []
-+return (0, dom0_inst_source)
++inst_source = []
++if dom0_inst_source:
++inst_source = [dom0_inst_source]
++return (0, inst_source)
 +
 +index_dom0 = -1
 +number_of_sources = 0




commit virt-manager for openSUSE:Factory

2016-07-03 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-07-03 12:28:00

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-06-21 12:29:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-07-03 12:28:10.0 +0200
@@ -1,0 +2,40 @@
+Mon Jun 20 15:21:20 MDT 2016 - carn...@suse.com
+
+- Update to virt-manager version 1.4.0 (fate#319990)
+  virt-manager-1.4.0.tar.bz2
+  e69cc002-spice-catch-failure-to-setup-usbdev-manager.patch
+  c5ce0ab5-connection-fix-transport-detection.patch
+  6daff68a-fix-italian-lang-file.patch
+  virtman-dont-specify-vte-version.patch
+  * virt-manager: spice GL console support (Marc-André Lureau, Cole Robinson)
+  * Bump gtk and pygobject deps to 3.14
+  * virt-manager: add checkbox to forget keyring password (Pavel Hrdina)
+  * cli: add --graphics gl= (Marc-André Lureau)
+  * cli: add --video accel3d= (Marc-André Lureau)
+  * cli: add --graphics listen=none (Marc-André Lureau)
+  * cli: add --transient flag (Richard W.M. Jones)
+  * cli: --features gic= support, and set a default for it (Pavel Hrdina)
+  * cli: Expose --video heads, ram, vram, vgamem
+  * cli: add --graphics listen=socket
+  * cli: add device address.type/address.bus/...
+  * cli: add --disk seclabelX.model (and .label, .relabel)
+  * cli: add -cpu cellX.id (and .cpus, and .memory)
+  * cli: add --network rom_bar= and rom_file=
+  * cli: add --disk backing_format=
+  * Many bug fixes and improvements
+ - Dropped the following
+  virt-manager-1.3.2.tar.bz2
+  89c3638b-fix-detection-that-libvirtd-is-stopped.patch
+  21fd079e-replace-unar-with-other-archivers.patch
+  eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
+  1c221fd0-suse-ovmf-paths.patch
+  f11eb00b-virt-convert-decompress-gz-files-before-converting.patch
+  8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch
+  f454798b-virtman-fix-making-screenshot.patch
+  5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch
+  de9cd87f-return-recommended-machine-for-XEN.patch
+  0acdea1d-show-firmware-options-also-for-XEN-guests.patch
+  virtinst-fix-sle12sp1-detection.patch
+  virtinst-fix-tumbleweed-detection.patch
+
+---

Old:

  0acdea1d-show-firmware-options-also-for-XEN-guests.patch
  1c221fd0-suse-ovmf-paths.patch
  21fd079e-replace-unar-with-other-archivers.patch
  5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch
  89c3638b-fix-detection-that-libvirtd-is-stopped.patch
  8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch
  de9cd87f-return-recommended-machine-for-XEN.patch
  eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
  f11eb00b-virt-convert-decompress-gz-files-before-converting.patch
  f454798b-virtman-fix-making-screenshot.patch
  virt-manager-1.3.2.tar.bz2
  virtinst-fix-sle12sp1-detection.patch
  virtinst-fix-tumbleweed-detection.patch

New:

  6daff68a-fix-italian-lang-file.patch
  c5ce0ab5-connection-fix-transport-detection.patch
  e69cc002-spice-catch-failure-to-setup-usbdev-manager.patch
  virt-manager-1.4.0.tar.bz2
  virtman-dont-specify-vte-version.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.gAxpL5/_old  2016-07-03 12:28:20.0 +0200
+++ /var/tmp/diff_new_pack.gAxpL5/_new  2016-07-03 12:28:20.0 +0200
@@ -23,11 +23,11 @@
 %define libvirt_xen_packages   ""
 %define preferred_distros  "sles12sp1,opensuse42.1"
 %define kvm_packages   ""
-%define _version   1.3.2
+%define _version   1.4.0
 %define _release   0
 
 Name:   virt-manager
-Version:1.3.2
+Version:1.4.0
 Release:0
 Summary:Virtual Machine Manager
 License:GPL-2.0+
@@ -37,16 +37,9 @@
 Source1:virt-install.rb
 Source2:virt-install.desktop
 # Upstream Patches
-Patch1: 89c3638b-fix-detection-that-libvirtd-is-stopped.patch
-Patch2: 21fd079e-replace-unar-with-other-archivers.patch
-Patch3: 
eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
-Patch4: 1c221fd0-suse-ovmf-paths.patch
-Patch5: 
f11eb00b-virt-convert-decompress-gz-files-before-converting.patch
-Patch6: 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch
-Patch7: f454798b-virtman-fix-making-screenshot.patch
-Patch8: 
5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch
-Patch9: 

commit virt-manager for openSUSE:Factory

2016-06-21 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-06-21 11:30:32

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-06-14 23:07:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-06-21 12:29:10.0 +0200
@@ -1,0 +2,9 @@
+Tue Jun 14 16:08:05 MDT 2016 - carn...@suse.com
+
+- boo#981836 - virt-manager does not support all boot methods for
+  AArch64
+  5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch
+  de9cd87f-return-recommended-machine-for-XEN.patch
+  0acdea1d-show-firmware-options-also-for-XEN-guests.patch
+
+---

New:

  0acdea1d-show-firmware-options-also-for-XEN-guests.patch
  5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch
  de9cd87f-return-recommended-machine-for-XEN.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.kU8z5E/_old  2016-06-21 12:29:11.0 +0200
+++ /var/tmp/diff_new_pack.kU8z5E/_new  2016-06-21 12:29:11.0 +0200
@@ -44,6 +44,9 @@
 Patch5: 
f11eb00b-virt-convert-decompress-gz-files-before-converting.patch
 Patch6: 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch
 Patch7: f454798b-virtman-fix-making-screenshot.patch
+Patch8: 
5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch
+Patch9: de9cd87f-return-recommended-machine-for-XEN.patch
+Patch10:0acdea1d-show-firmware-options-also-for-XEN-guests.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -169,6 +172,9 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 0acdea1d-show-firmware-options-also-for-XEN-guests.patch ++
Subject: virtManager.details: show firmware options also for XEN guests
From: Pavel Hrdina phrd...@redhat.com Thu Jun 16 12:03:42 2016 +0200
Date: Thu Jun 16 12:16:53 2016 +0200:
Git: 0acdea1dadfdaa3f6ee159bf5fdb20c6e8ccd528


Index: virt-manager-1.3.2/virtManager/details.py
===
--- virt-manager-1.3.2.orig/virtManager/details.py
+++ virt-manager-1.3.2/virtManager/details.py
@@ -843,8 +843,10 @@ class vmmDetails(vmmGObjectUI):
 self.widget("overview-firmware").set_visible(self.is_customize_dialog)
 self.widget("overview-firmware-label").set_visible(
 not self.is_customize_dialog)
-show_firmware = ((self.conn.is_qemu() or self.conn.is_test_conn()) and
-domcaps.arch_can_uefi())
+show_firmware = ((self.conn.is_qemu() or
+  self.conn.is_test_conn() or
+  self.conn.is_xen()) and
+ domcaps.arch_can_uefi())
 uiutil.set_grid_row_visible(
 self.widget("overview-firmware-title"), show_firmware)
 
++ 5ecc2b44-dont-clear-recommended-machine-if-none-is-selected.patch ++
Subject: virtManager.create: don't clear recommended machine if none is selected
From: Pavel Hrdina phrd...@redhat.com Thu Jun 16 11:04:36 2016 +0200
Date: Thu Jun 16 12:00:10 2016 +0200:
Git: 5ecc2b440a8e34e00a0c4192c94030428102f0cb

This improves loading domcapabilities to get domcapabilities for recommended
machine, not for default machine.

Signed-off-by: Pavel Hrdina 

Index: virt-manager-1.3.2/virtManager/create.py
===
--- virt-manager-1.3.2.orig/virtManager/create.py
+++ virt-manager-1.3.2/virtManager/create.py
@@ -1636,7 +1636,11 @@ class vmmCreate(vmmGObjectUI):
 
 def _build_guest(self, variant):
 guest = self.conn.caps.build_virtinst_guest(self._capsinfo)
-guest.os.machine = self._get_config_machine()
+
+# If no machine was selected don't clear recommended machine
+machine = self._get_config_machine()
+if machine:
+guest.os.machine = machine
 
 # Generate UUID (makes customize dialog happy)
 try:
++ de9cd87f-return-recommended-machine-for-XEN.patch ++
Subject: virtinst.capabilities: return recommended machine for XEN
From: Pavel Hrdina phrd...@redhat.com Thu Jun 16 12:00:51 2016 +0200
Date: Thu Jun 16 12:16:49 2016 +0200:
Git: de9cd87fda742dfd5e9a14cf4b68c60e574d3e3d

This is required in order to ask for correct domcapabilities.  If you don't
specify any machine libvirt will return domcapabilities for 

commit virt-manager for openSUSE:Factory

2016-06-14 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-06-14 23:07:11

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-05-19 12:15:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-06-14 23:07:12.0 +0200
@@ -1,0 +2,16 @@
+Tue Jun  7 14:18:32 MDT 2016 - carn...@suse.com
+
+- bsc#983241 - Using eepro1000 emulated driver leads to 'eepro100'
+  is not a valid device model name
+  Drop virtman-eepro100.patch
+- Remove unecessary hyphen '-' from tumbleweed name
+  virtinst-fix-tumbleweed-detection.patch
+
+---
+Tue Jun  7 12:14:23 UTC 2016 - mvet...@suse.com
+
+- boo#983482: Virt-Manager 1.3.2 cannot create screenshot.
+  Use upstream patch from revision f454798b337aedb881671f62fe3b25fad703b768
+- Add f454798b-virtman-fix-making-screenshot.patch
+
+---

Old:

  virtman-eepro100.patch

New:

  f454798b-virtman-fix-making-screenshot.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.R6XWVe/_old  2016-06-14 23:07:13.0 +0200
+++ /var/tmp/diff_new_pack.R6XWVe/_new  2016-06-14 23:07:13.0 +0200
@@ -43,6 +43,7 @@
 Patch4: 1c221fd0-suse-ovmf-paths.patch
 Patch5: 
f11eb00b-virt-convert-decompress-gz-files-before-converting.patch
 Patch6: 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch
+Patch7: f454798b-virtman-fix-making-screenshot.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -53,7 +54,6 @@
 Patch76:virtinst-pvgrub2-bootloader.patch
 Patch77:virtinst-nfs-install-sanitize.patch
 # Features or Enhancements
-Patch100:   virtman-eepro100.patch
 Patch101:   virtman-default-guest-from-host-os.patch
 Patch102:   virtman-default-to-xen-pv.patch
 Patch103:   virtman-packages.patch
@@ -168,6 +168,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -178,7 +179,6 @@
 %patch76 -p1
 %patch77 -p1
 # Enhancements
-%patch100 -p1
 %patch101 -p1
 %patch102 -p1
 %patch103 -p1

++ f454798b-virtman-fix-making-screenshot.patch ++
>From f454798b337aedb881671f62fe3b25fad703b768 Mon Sep 17 00:00:00 2001
From: Cole Robinson 
Date: Fri, 15 Jan 2016 15:07:58 -0500
Subject: [PATCH] details: Fix screenshot on F24 rawhide (bz 1297988)

---
 virtManager/details.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/virtManager/details.py b/virtManager/details.py
index 0bd2569..3dbd82f 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -1486,6 +1486,9 @@ class vmmDetails(vmmGObjectUI):
 # and future proof it a bit
 if type(ret) is tuple and len(ret) >= 2:
 ret = ret[1]
+# F24 rawhide, ret[1] is a named tuple with a 'buffer' element...
+if hasattr(ret, "buffer"):
+ret = ret.buffer
 
 import datetime
 now = str(datetime.datetime.now()).split(".")[0].replace(" ", "_")
-- 
2.8.3

++ virtinst-fix-tumbleweed-detection.patch ++
--- /var/tmp/diff_new_pack.R6XWVe/_old  2016-06-14 23:07:14.0 +0200
+++ /var/tmp/diff_new_pack.R6XWVe/_new  2016-06-14 23:07:14.0 +0200
@@ -24,7 +24,7 @@
 -self.os_variant += distro_version
 +# Tumbleweed 8 digit date
 +if len(version) == 8:
-+self.os_variant += "-tumbleweed"
++self.os_variant += "tumbleweed"
 +else:
 +self.os_variant += distro_version
  else:




commit virt-manager for openSUSE:Factory

2016-05-19 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-05-19 12:15:10

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-05-08 10:45:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-05-19 12:15:11.0 +0200
@@ -1,0 +2,13 @@
+Tue May 10 11:57:19 MDT 2016 - carn...@suse.com
+
+- bsc#978173 - Cannot install sles-10-sp4 on sles-12-sp1 host
+  virtinst-use-xenpae-kernel-for-32bit.patch
+
+---
+Fri May  6 15:50:12 MDT 2016 - carn...@suse.com
+
+- bsc#978937 - New qemu virtual virtio gpu not selectable in
+  virt-manager
+  8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch
+
+---
@@ -13,0 +27,7 @@
+
+---
+Wed Mar 30 13:46:18 MDT 2016 - carn...@suse.com
+
+- bsc#964407 - Virt-Manager: Installer wrongly detects SLE-12-GA
+  media as SLE-12-SP1
+  virtinst-fix-sle12sp1-detection.patch

New:

  8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch
  virtinst-use-xenpae-kernel-for-32bit.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.KfGWUA/_old  2016-05-19 12:15:13.0 +0200
+++ /var/tmp/diff_new_pack.KfGWUA/_new  2016-05-19 12:15:13.0 +0200
@@ -42,6 +42,7 @@
 Patch3: 
eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
 Patch4: 1c221fd0-suse-ovmf-paths.patch
 Patch5: 
f11eb00b-virt-convert-decompress-gz-files-before-converting.patch
+Patch6: 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -79,6 +80,7 @@
 Patch162:   virtinst-refresh_before_fetch_pool.patch
 Patch163:   virtinst-fix-sle12sp1-detection.patch
 Patch164:   virtinst-fix-tumbleweed-detection.patch
+Patch165:   virtinst-use-xenpae-kernel-for-32bit.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -165,6 +167,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -202,6 +205,7 @@
 %patch162 -p1
 %patch163 -p1
 %patch164 -p1
+%patch165 -p1
 
 %build
 %if %{qemu_user}

++ 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch ++
Subject: virtinst: add virtio device model and accel3d attribute
From: Marc-André Lureau marcandre.lur...@gmail.com Fri Mar 4 12:31:52 2016 +0100
Date: Wed Mar 9 20:25:37 2016 -0500:
Git: 8ba48f5299409354fb610cd8620987e635c90643

Signed-off-by: Marc-André Lureau 

Index: virt-manager-1.3.2/man/virt-install.pod
===
--- virt-manager-1.3.2.orig/man/virt-install.pod
+++ virt-manager-1.3.2/man/virt-install.pod
@@ -1334,7 +1334,7 @@ Use --console=? to see a list of all ava
 
 Specify what video device model will be attached to the guest. Valid values
 for VIDEO are hypervisor specific, but some options for recent kvm are
-cirrus, vga, qxl, or vmvga (vmware).
+cirrus, vga, qxl, virtio, or vmvga (vmware).
 
 Use --video=? to see a list of all available sub options. Complete details at 
L
 
Index: virt-manager-1.3.2/tests/xmlparse-xml/change-videos-out.xml
===
--- virt-manager-1.3.2.orig/tests/xmlparse-xml/change-videos-out.xml
+++ virt-manager-1.3.2/tests/xmlparse-xml/change-videos-out.xml
@@ -30,7 +30,9 @@
   
 
 
-  
+  
+
+  
 
   
 
Index: virt-manager-1.3.2/tests/xmlparse.py
===
--- virt-manager-1.3.2.orig/tests/xmlparse.py
+++ virt-manager-1.3.2/tests/xmlparse.py
@@ -673,6 +673,7 @@ class XMLParseTest(unittest.TestCase):
 check("model", "cirrus", "cirrus", "qxl")
 check("ram", None, 100)
 check("vgamem", None, 8192)
+check("accel3d", None, True)
 
 self._alter_compare(guest.get_xml_config(), outfile)
 
Index: virt-manager-1.3.2/virtinst/devicevideo.py
===
--- virt-manager-1.3.2.orig/virtinst/devicevideo.py
+++ virt-manager-1.3.2/virtinst/devicevideo.py
@@ -27,7 +27,7 @@ class VirtualVideoDevice(VirtualDevice):
 
 # Default models list
 MODEL_DEFAULT = "default"
-

commit virt-manager for openSUSE:Factory

2016-05-08 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-05-08 10:45:24

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-04-08 09:39:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-05-08 10:45:33.0 +0200
@@ -1,0 +2,7 @@
+Mon Apr 25 15:20:23 MDT 2016 - mich...@stroeder.com
+
+- bsc#975219 - virt-manager interface is broken
+  (Tumbleweed-20160417)
+  virt-manager.spec
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.O2YsDC/_old  2016-05-08 10:45:34.0 +0200
+++ /var/tmp/diff_new_pack.O2YsDC/_new  2016-05-08 10:45:34.0 +0200
@@ -88,12 +88,12 @@
 Requires:   dconf
 Requires:   gtk3
 Requires:   python-gconf
+Requires:   python-gobject-Gdk
 # For console widget
 Requires:   python-gobject-cairo
 Recommends: python-SpiceClientGtk
 Requires:   virt-install
 Requires:   virt-manager-common = %{verrel}
-Recommends: vm-install >= 0.5.6
 # virtman-desktop.patch changes the icon to be yast-vm-management, which is 
provided by yast2-branding
 Requires:   yast2-branding-openSUSE
 




commit virt-manager for openSUSE:Factory

2016-04-08 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-04-08 09:39:37

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-03-26 18:16:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-04-08 09:39:40.0 +0200
@@ -1,0 +2,7 @@
+Tue Apr  5 12:46:28 UTC 2016 - dims...@opensuse.org
+
+- Require yast2-branding-openSUSE by virt-manager: the icon
+  yast-vm-management, explicitly set by virtman-desktop.patch, is
+  shipped in this package.
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.2PVkMI/_old  2016-04-08 09:39:41.0 +0200
+++ /var/tmp/diff_new_pack.2PVkMI/_new  2016-04-08 09:39:41.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -94,6 +94,8 @@
 Requires:   virt-install
 Requires:   virt-manager-common = %{verrel}
 Recommends: vm-install >= 0.5.6
+# virtman-desktop.patch changes the icon to be yast-vm-management, which is 
provided by yast2-branding
+Requires:   yast2-branding-openSUSE
 
 %if %{with_guestfs}
 Requires:   python-libguestfs




commit virt-manager for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-03-26 15:28:15

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-02-08 09:47:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-03-26 18:16:23.0 +0100
@@ -1,0 +2,28 @@
+Wed Mar 23 13:02:36 MDT 2016 - carn...@suse.com
+
+- Replace virtinst-replace-unar-with-other-archivers.patch with the
+  upstream version
+  21fd079e-replace-unar-with-other-archivers.patch
+
+---
+Fri Mar 18 15:03:06 MDT 2016 - carn...@suse.com
+
+- bsc#971825 - virt-manager needs to use grub.xen installing a PV
+  Tumbleweed VM
+  virtinst-pvgrub2-bootloader.patch
+
+---
+Fri Mar 11 08:11:21 MST 2016 - l...@suse.com
+
+- fate#320353 - Add the ability for virt-convirt to decompress
+  compressed files in an OVA
+  f11eb00b-virt-convert-decompress-gz-files-before-converting.patch
+
+---
+Wed Mar  9 13:20:36 MST 2016 - carn...@suse.com
+
+- bsc#951726 - Error - 'wrong number of arguments (3 for 1) ...'
+  when attempting to create DomU through the yast
+  virt-manager.spec
+
+---

Old:

  virtinst-replace-unar-with-other-archivers.patch

New:

  21fd079e-replace-unar-with-other-archivers.patch
  f11eb00b-virt-convert-decompress-gz-files-before-converting.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.VG2kCj/_old  2016-03-26 18:16:24.0 +0100
+++ /var/tmp/diff_new_pack.VG2kCj/_new  2016-03-26 18:16:24.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -38,8 +38,10 @@
 Source2:virt-install.desktop
 # Upstream Patches
 Patch1: 89c3638b-fix-detection-that-libvirtd-is-stopped.patch
-Patch2: 
eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
-Patch3: 1c221fd0-suse-ovmf-paths.patch
+Patch2: 21fd079e-replace-unar-with-other-archivers.patch
+Patch3: 
eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
+Patch4: 1c221fd0-suse-ovmf-paths.patch
+Patch5: 
f11eb00b-virt-convert-decompress-gz-files-before-converting.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -75,9 +77,8 @@
 Patch160:   virtinst-xen-drive-type.patch
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
-Patch163:   virtinst-replace-unar-with-other-archivers.patch
-Patch164:   virtinst-fix-sle12sp1-detection.patch
-Patch165:   virtinst-fix-tumbleweed-detection.patch
+Patch163:   virtinst-fix-sle12sp1-detection.patch
+Patch164:   virtinst-fix-tumbleweed-detection.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -160,6 +161,8 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -197,7 +200,6 @@
 %patch162 -p1
 %patch163 -p1
 %patch164 -p1
-%patch165 -p1
 
 %build
 %if %{qemu_user}
@@ -284,6 +286,7 @@
 
 %{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/applications/%{name}.desktop
+%{_datadir}/applications/YaST2/virt-install.desktop
 %{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml
 %{_datadir}/GConf/gsettings/org.virt-manager.virt-manager.convert
 
@@ -313,7 +316,6 @@
 %dir %{_datadir}/GConf/gsettings
 %dir %{_datadir}/appdata
 %{_datadir}/YaST2/clients/virt-install.rb
-%{_datadir}/applications/YaST2/virt-install.desktop
 
 %{_bindir}/virt-install
 %{_bindir}/virt-clone

++ 21fd079e-replace-unar-with-other-archivers.patch ++
References: bnc#934270

Subject: Replace the unar to more common archivers
From: Lin Ma l...@suse.com Wed Jan 6 12:22:57 2016 +0800
Date: Sun Jan 10 18:23:29 2016 -0500:
Git: 21fd079eb19899cf5283c6a55e9006d1fa0619b9

Because some of distributions dont provide the unar (universal archiver),
Using more common archivers to replace it.

Signed-off-by: Lin Ma 

(crobinso: adjust test suite)

diff --git 

commit virt-manager for openSUSE:Factory

2016-02-08 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-02-08 09:47:36

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-02-03 10:19:56.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-02-08 09:47:37.0 +0100
@@ -1,0 +2,9 @@
+Tue Feb  2 14:08:43 MST 2016 - carn...@suse.com
+
+- bsc#964407 - Virt-Manager: Installer wrongly detects SLE-12-GA
+  media as SLE-12-SP1
+  virtinst-fix-sle12sp1-detection.patch
+- Fix Tumbleweed detection
+  virtinst-fix-tumbleweed-detection.patch
+
+---

New:

  virtinst-fix-sle12sp1-detection.patch
  virtinst-fix-tumbleweed-detection.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.UtmOx4/_old  2016-02-08 09:47:38.0 +0100
+++ /var/tmp/diff_new_pack.UtmOx4/_new  2016-02-08 09:47:38.0 +0100
@@ -76,6 +76,8 @@
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
 Patch163:   virtinst-replace-unar-with-other-archivers.patch
+Patch164:   virtinst-fix-sle12sp1-detection.patch
+Patch165:   virtinst-fix-tumbleweed-detection.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -194,6 +196,8 @@
 %patch161 -p1
 %patch162 -p1
 %patch163 -p1
+%patch164 -p1
+%patch165 -p1
 
 %build
 %if %{qemu_user}

++ virtinst-fix-sle12sp1-detection.patch ++
Index: virt-manager-1.3.2/virtinst/urlfetcher.py
===
--- virt-manager-1.3.2.orig/virtinst/urlfetcher.py
+++ virt-manager-1.3.2/virtinst/urlfetcher.py
@@ -441,7 +441,10 @@ def _distroFromSUSEContent(fetcher, arch
 re.match(".*SUSE SLES*", distribution[1]):
 dclass = SLESDistro
 if distro_version is None:
-distro_version = ['VERSION', distribution[1].strip().rsplit(' 
')[4]]
+sles_version = distribution[1].strip().rsplit(' ')[4]
+if len(distribution[1].strip().rsplit(' ')) > 5:
+sles_version = sles_version + '.' + 
distribution[1].strip().rsplit(' ')[5][2]
+distro_version = ['VERSION', sles_version]
 elif re.match(".*SUSE Linux Enterprise Desktop*", distribution[1]):
 dclass = SLEDDistro
 if distro_version is None:
++ virtinst-fix-tumbleweed-detection.patch ++
References: bsc#964407
Problem in the SUSE specific parsing code due to the non-standard way of
defining the media in the SUSE content file.
While we are here, also fix tumbleweed detection. You need an updated libosinfo
that contains a definition for tumbleweed.
Index: virt-manager-1.3.2/virtinst/urlfetcher.py
===
--- virt-manager-1.3.2.orig/virtinst/urlfetcher.py
+++ virt-manager-1.3.2/virtinst/urlfetcher.py
@@ -457,9 +457,6 @@ def _distroFromSUSEContent(fetcher, arch
 dclass = OpensuseDistro
 if distro_version is None:
 distro_version = ['VERSION', 
distribution[0].strip().rsplit(':')[4]]
-# For tumbleweed we only have an 8 character date string so 
default to 13.2
-if distro_version[1] and len(distro_version[1]) == 8:
-distro_version = ['VERSION', '13.2']
 
 if distro_version is None:
 return None
@@ -1011,7 +1008,11 @@ class SuseDistro(Distro):
 if sp_version:
 self.os_variant += sp_version
 else:
-self.os_variant += distro_version
+# Tumbleweed 8 digit date
+if len(version) == 8:
+self.os_variant += "-tumbleweed"
+else:
+self.os_variant += distro_version
 else:
 self.os_variant += "9"
 
++ virtinst-replace-unar-with-other-archivers.patch ++
--- /var/tmp/diff_new_pack.UtmOx4/_old  2016-02-08 09:47:38.0 +0100
+++ /var/tmp/diff_new_pack.UtmOx4/_new  2016-02-08 09:47:38.0 +0100
@@ -3,10 +3,10 @@
 Until we do, keep this patch to execute the correct archiver
 program.
 
-Index: virt-manager-1.3.0/virtconv/formats.py
+Index: virt-manager-1.3.2/virtconv/formats.py
 ===
 virt-manager-1.3.0.orig/virtconv/formats.py
-+++ virt-manager-1.3.0/virtconv/formats.py
+--- 

commit virt-manager for openSUSE:Factory

2016-02-03 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-02-03 10:19:55

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-01-22 01:09:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-02-03 10:19:56.0 +0100
@@ -1,0 +2,16 @@
+Fri Jan 29 16:44:17 UTC 2016 - jfeh...@suse.com
+
+- bsc#961853 - virt-install doesn't work with option -boot uefi
+  1c221fd0-suse-ovmf-paths.patch
+
+---
+Wed Jan 27 11:19:48 MST 2016 - carn...@suse.com
+
+- bsc#963692 - libvirtError: unsupported configuration: unknown
+  driver format value 'block'
+  virtinst-xen-drive-type.patch
+- bsc#963173 - virt-manager - dependencies for VNC client are not
+  met on PPC
+  virt-manager.spec
+
+---

New:

  1c221fd0-suse-ovmf-paths.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.bczobK/_old  2016-02-03 10:19:57.0 +0100
+++ /var/tmp/diff_new_pack.bczobK/_new  2016-02-03 10:19:57.0 +0100
@@ -39,6 +39,7 @@
 # Upstream Patches
 Patch1: 89c3638b-fix-detection-that-libvirtd-is-stopped.patch
 Patch2: 
eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
+Patch3: 1c221fd0-suse-ovmf-paths.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -121,15 +122,10 @@
 Requires:   python-libxml2
 Requires:   python-urlgrabber
 Requires:   typelib(LibvirtGLib)
-%if 0%{?is_opensuse}
 BuildRequires:  gobject-introspection
-%else
-Recommends: typelib(AppIndicator3)
-Requires:   typelib(GVnc)
-Requires:   typelib(GtkVnc)
-Requires:   typelib(Libosinfo)
-Requires:   typelib(SpiceClientGtk)
-Requires:   typelib(Vte)
+# No AppIndicator package on SLE
+%if %{?is_opensuse:0}%{!?is_opensuse:1}
+%define __requires_exclude typelib\\(AppIndicator3\\)
 %endif
 
 %description common
@@ -161,6 +157,7 @@
 # Upstream Patches
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 1c221fd0-suse-ovmf-paths.patch ++
commit 1c221fd0349b993e8ee2eabbf227239d6e989d90
Author: Jim Fehlig 
Date:   Wed Jan 27 19:51:32 2016 -0700

virtinst: Support paths to SUSE OVMF firmwares

Extend the domcapabilities regex to include SUSE's OVMF
file naming convention.

Signed-off-by: Jim Fehlig 

Index: virt-manager-1.3.2/virtinst/domcapabilities.py
===
--- virt-manager-1.3.2.orig/virtinst/domcapabilities.py
+++ virt-manager-1.3.2/virtinst/domcapabilities.py
@@ -101,6 +101,7 @@ class DomainCapabilities(XMLBuilder):
 "x86_64": [
 ".*OVMF_CODE\.fd",  # RHEL
 ".*ovmf-x64/OVMF.*\.fd",  # gerd's firmware repo
+".*ovmf-x86_64-.*", # SUSE
 ],
 "aarch64": [
 ".*AAVMF_CODE\.fd",  # RHEL
++ virtinst-xen-drive-type.patch ++
--- /var/tmp/diff_new_pack.bczobK/_old  2016-02-03 10:19:57.0 +0100
+++ /var/tmp/diff_new_pack.bczobK/_new  2016-02-03 10:19:57.0 +0100
@@ -2,15 +2,17 @@
 Virt-manager on Xen doesn't fill in any type thereby defaulting to
 'raw'. This patch will generate the correct XML on Xen.
 
-Index: virt-manager-1.3.0/virtinst/devicedisk.py
+Index: virt-manager-1.3.2/virtinst/devicedisk.py
 ===
 virt-manager-1.3.0.orig/virtinst/devicedisk.py
-+++ virt-manager-1.3.0/virtinst/devicedisk.py
-@@ -557,6 +557,8 @@ class VirtualDisk(VirtualDevice):
+--- virt-manager-1.3.2.orig/virtinst/devicedisk.py
 virt-manager-1.3.2/virtinst/devicedisk.py
+@@ -557,6 +557,10 @@ class VirtualDisk(VirtualDevice):
  http://lists.gnu.org/archive/html/qemu-devel/2008-04/msg00675.html
  """
  if self.driver_name != self.DRIVER_NAME_QEMU:
-+if self.driver_name and self.type != 'file':
++if self.driver_name and \
++   self.driver_name != self.DRIVER_NAME_PHY and \
++   self.type != 'file':
 +return self.type
  return None
  

++ virtinst-xenbus-disk-index-fix.patch ++
--- /var/tmp/diff_new_pack.bczobK/_old  2016-02-03 10:19:57.0 +0100
+++ /var/tmp/diff_new_pack.bczobK/_new  2016-02-03 10:19:57.0 +0100
@@ -6,11 +6,11 @@
 passed to qemu where it error'ed out with 

commit virt-manager for openSUSE:Factory

2016-01-21 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-01-21 23:43:49

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2016-01-08 15:23:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-01-22 01:09:12.0 +0100
@@ -1,0 +2,19 @@
+Mon Jan 18 13:43:47 MST 2016 - carn...@suse.com
+
+- bsc#962221 - virt-install: 'NoneType' object has no attribute
+  'isdigit' 
+  eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
+
+---
+Fri Jan  8 11:50:46 MST 2016 - carn...@suse.com
+
+- bsc#960828 - Unable to create qcow2 volumes on remote KVM with
+  virt-manager
+  virtinst-vol-default-nocow.patch
+- bsc#960724 - virt-manager fails to create Virtual machines on a
+  CentOS7 host
+  virtinst-set-qemu-emulator.patch
+- Upstream bug fix
+  89c3638b-fix-detection-that-libvirtd-is-stopped.patch
+
+---

New:

  89c3638b-fix-detection-that-libvirtd-is-stopped.patch
  eae7dc06-fix-URL-installs-when-content-length-header-missing.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.30hdX0/_old  2016-01-22 01:09:15.0 +0100
+++ /var/tmp/diff_new_pack.30hdX0/_new  2016-01-22 01:09:15.0 +0100
@@ -37,6 +37,8 @@
 Source1:virt-install.rb
 Source2:virt-install.desktop
 # Upstream Patches
+Patch1: 89c3638b-fix-detection-that-libvirtd-is-stopped.patch
+Patch2: 
eae7dc06-fix-URL-installs-when-content-length-header-missing.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -157,6 +159,8 @@
 %prep
 %setup -q
 # Upstream Patches
+%patch1 -p1
+%patch2 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 89c3638b-fix-detection-that-libvirtd-is-stopped.patch ++
Subject: connection: fix detection that libvirtd is stopped
From: Pavel Hrdina phrd...@redhat.com Tue Jan 5 10:17:37 2016 +0100
Date: Fri Jan 8 10:21:42 2016 +0100:
Git: 89c3638b63e5b251db92ef7066c1753bfa469d38

In case that libvirtd is stopped, we could receive another type of error
from libvirt "libvirtError: internal error: client socket is closed".
This one is usually reported from local connection.

Signed-off-by: Pavel Hrdina 

Index: virt-manager-1.3.2/virtManager/connection.py
===
--- virt-manager-1.3.2.orig/virtManager/connection.py
+++ virt-manager-1.3.2/virtManager/connection.py
@@ -1298,6 +1298,7 @@ class vmmConnection(vmmGObject):
 from_remote = getattr(libvirt, "VIR_FROM_REMOTE", None)
 from_rpc = getattr(libvirt, "VIR_FROM_RPC", None)
 sys_error = getattr(libvirt, "VIR_ERR_SYSTEM_ERROR", None)
+internal_error = getattr(libvirt, "VIR_ERR_INTERNAL_ERROR", None)
 
 dom = -1
 code = -1
@@ -1309,7 +1310,7 @@ class vmmConnection(vmmGObject):
 self.get_uri(), exc_info=True)
 
 if (dom in [from_remote, from_rpc] and
-code in [sys_error]):
+code in [sys_error, internal_error]):
 e = None
 logging.debug("Not showing user error since libvirtd "
 "appears to have stopped.")
++ eae7dc06-fix-URL-installs-when-content-length-header-missing.patch ++
Subject: urlfetcher: Fix URL installs when content-length header missing
From: Cole Robinson crobi...@redhat.com Tue Jan 12 12:45:02 2016 -0500
Date: Tue Jan 12 12:45:02 2016 -0500:
Git: eae7dc061968a83fef8ebb632c8f939621ff22b1

Suggested-by: bd...@sjm.com

Index: virt-manager-1.3.2/virtinst/urlfetcher.py
===
--- virt-manager-1.3.2.orig/virtinst/urlfetcher.py
+++ virt-manager-1.3.2/virtinst/urlfetcher.py
@@ -186,8 +186,11 @@ class _HTTPURLFetcher(_URLFetcher):
 """
 response = requests.get(url, stream=True)
 response.raise_for_status()
-size = response.headers.get('content-length')
-return response, size.isdigit() and int(size) or None
+try:
+size = int(response.headers.get('content-length'))
+except:
+size = None
+return response, size
 
 def _write(self, urlobj, fileobj):
 """
++ virtinst-add-ppc64-arch-support.patch ++
--- /var/tmp/diff_new_pack.30hdX0/_old  2016-01-22 01:09:15.0 +0100
+++ /var/tmp/diff_new_pack.30hdX0/_new  2016-01-22 

commit virt-manager for openSUSE:Factory

2016-01-08 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2016-01-08 15:23:17

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-11-18 22:34:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2016-01-08 15:23:19.0 +0100
@@ -1,0 +2,70 @@
+Mon Jan  4 11:04:50 MST 2016 - carn...@suse.com
+
+- Drop including gschemas.compiled and icon-theme.cache.
+  virt-manager.spec
+
+---
+Fri Dec 25 09:44:35 UTC 2015 - br...@ioda-net.ch
+
+- Update to 1.3.2 upstream bugfix release
+  virt-manager-1.3.2.tar.bz2
+  * Fix dependency issues with vte (bz #1290262)
+- Dropped 
+  virt-manager-1.3.0.tar.bz2
+-Fix boo#959049
+  Namespace Vte not available for version 2.91
+
+---
+Sun Dec 13 14:41:54 UTC 2015 - br...@ioda-net.ch
+
+- Update to 1.3.1 release upstream bugfix
+  virt-manager-1.3.1.tar.bz2
+  * Fix command line API on RHEL7 pygobject
+- Dropped 
+  virt-manager-1.3.0.tar.bz2
+- Fix boo#958094 
+  Error starting Virtual Machine Manager: new_sync() takes exactly 
+  7 arguments (6 given)
+- redone patch 104 virtman-load-stored-uris.patch
+
+---
+Wed Nov 25 09:46:33 MST 2015 - carn...@suse.com
+
+- Update to virt-manager 1.3.0
+  virt-manager-1.3.0.tar.bz2
+  * Git hosting moved to http://github.com/virt-manager/virt-manager
+  * Switch translation infrastructure from transifex to fedora.zanata.org
+  * Add dogtail UI tests and infrastructure
+  * Improved support for s390x kvm (Kevin Zhao)
+  * virt-install and virt-manager now remove created disk images if VM install 
startup fails
+  * Replace urlgrabber usage with requests and urllib2
+  * virt-install: add –network virtualport support for openvswitch (Daniel P. 
Berrange)
+  * virt-install: support multiple –security labels
+  * virt-install: support –features kvm_hidden=on|off (Pavel Hrdina)
+  * virt-install: add –features pmu=on|off
+  * virt-install: add –features pvspinlock=on|off (Abhijeet Kasurde)
+  * virt-install: add –events on_lockfailure=on|off (Abhijeet Kasurde)
+  * virt-install: add –network link_state=up|down
+  * virt-install: add –vcpu placement=static|auto
+- Dropped
+  virt-manager-1.2.1.tar.bz2
+  34db1af7-fix-adding-iscsi-pools.patch
+  360fe110-add-s390x-arch-support.patch
+  4970615f-fix-qemu-vs-lxc-detection.patch
+  590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
+  5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
+  601a82cb-fix-console_type-if-xen.patch
+  76bad650-fix-virt-xml-define-and-update.patch
+  77423e7a-connection-catch-more-errors-in-filter_nodedevs.patch
+  8dbe96fc-add-s390x-arch-support.patch
+  a9b303fb-fix-copy-host-cpu-definition.patch
+  aebebbf8-report-an-error-for-pxe-install-without-network.patch
+  cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch
+  eb92178e-virtinst-fix-storage-pool-lookup.patch
+  f30975c3-drop-cow-support.patch
+  f81358b0-dont-display-error-if-machine-is-missing-in-XML.patch
+  fc93e154-fix-udp-tcp-host-vs-mode-UI.patch
+  virtman-autoyast-support.patch
+  virtman-supported-disk-formats.patch
+
+---

Old:

  34db1af7-fix-adding-iscsi-pools.patch
  360fe110-add-s390x-arch-support.patch
  4970615f-fix-qemu-vs-lxc-detection.patch
  590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
  5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
  601a82cb-fix-console_type-if-xen.patch
  76bad650-fix-virt-xml-define-and-update.patch
  77423e7a-connection-catch-more-errors-in-filter_nodedevs.patch
  8dbe96fc-add-s390x-arch-support.patch
  a9b303fb-fix-copy-host-cpu-definition.patch
  aebebbf8-report-an-error-for-pxe-install-without-network.patch
  cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch
  eb92178e-virtinst-fix-storage-pool-lookup.patch
  f30975c3-drop-cow-support.patch
  f81358b0-dont-display-error-if-machine-is-missing-in-XML.patch
  fc93e154-fix-udp-tcp-host-vs-mode-UI.patch
  virt-manager-1.2.1.tar.bz2
  virtman-autoyast-support.patch
  virtman-supported-disk-formats.patch

New:

  virt-manager-1.3.2.tar.bz2



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.sbli1l/_old  2016-01-08 15:23:23.0 +0100
+++ /var/tmp/diff_new_pack.sbli1l/_new  2016-01-08 15:23:23.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package 

commit virt-manager for openSUSE:Factory

2015-11-18 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-11-18 22:34:50

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-11-04 15:34:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-11-18 22:34:51.0 +0100
@@ -1,0 +2,20 @@
+Tue Nov 17 09:00:28 MST 2015 - carn...@suse.com
+
+- bsc#955401 - Can't create VM without disk: "list index out of
+  range"
+  virtinst-set-cache-mode-unsafe-for-install.patch
+
+---
+Tue Nov 10 09:15:12 MST 2015 - carn...@suse.com
+
+- bsc#947129 - Error launching manager: 'URI' is not in list
+  Set the locale to avoid parsing errors
+  virtman-show-suse-install-repos.patch
+
+---
+Tue Oct 27 16:46:03 MDT 2015 - carn...@suse.com
+
+- fate#319659 - vm-install: remove shutcut in virt-manager
+  Drop virtman-vminstall.patch
+
+---

Old:

  virtman-vminstall.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.Oh20QA/_old  2015-11-18 22:34:54.0 +0100
+++ /var/tmp/diff_new_pack.Oh20QA/_new  2015-11-18 22:34:54.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -57,12 +57,11 @@
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
 Patch72:virtman-keycombo.patch
-Patch73:virtman-vminstall.patch
-Patch74:virtman-show-suse-install-repos.patch
-Patch75:virtman-libvirtd-not-running.patch
-Patch76:virtman-dont-allow-grub.xen-to-be-deleted.patch
-Patch77:virtinst-pvgrub2-bootloader.patch
-Patch78:virtinst-nfs-install-sanitize.patch
+Patch73:virtman-show-suse-install-repos.patch
+Patch74:virtman-libvirtd-not-running.patch
+Patch75:virtman-dont-allow-grub.xen-to-be-deleted.patch
+Patch76:virtinst-pvgrub2-bootloader.patch
+Patch77:virtinst-nfs-install-sanitize.patch
 # Features or Enhancements
 Patch100:   virtman-eepro100.patch
 Patch101:   virtman-default-guest-from-host-os.patch
@@ -199,7 +198,6 @@
 %patch75 -p1
 %patch76 -p1
 %patch77 -p1
-%patch78 -p1
 # Enhancements
 %patch100 -p1
 %patch101 -p1

++ virtinst-add-default-rng-device.patch ++
--- /var/tmp/diff_new_pack.Oh20QA/_old  2015-11-18 22:34:54.0 +0100
+++ /var/tmp/diff_new_pack.Oh20QA/_new  2015-11-18 22:34:54.0 +0100
@@ -12,7 +12,7 @@
  
  
  class Guest(XMLBuilder):
-@@ -671,6 +672,15 @@ class Guest(XMLBuilder):
+@@ -674,6 +675,15 @@ class Guest(XMLBuilder):
  return
  self.add_device(VirtualGraphics(self.conn))
  
@@ -28,7 +28,7 @@
  def add_default_devices(self):
  self.add_default_graphics()
  self.add_default_video_device()
-@@ -678,6 +688,7 @@ class Guest(XMLBuilder):
+@@ -681,6 +691,7 @@ class Guest(XMLBuilder):
  self.add_default_console_device()
  self.add_default_usb_controller()
  self.add_default_channels()

++ virtinst-nfs-install-sanitize.patch ++
--- /var/tmp/diff_new_pack.Oh20QA/_old  2015-11-18 22:34:54.0 +0100
+++ /var/tmp/diff_new_pack.Oh20QA/_new  2015-11-18 22:34:54.0 +0100
@@ -9,7 +9,7 @@
 ===
 --- virt-manager-1.2.1.orig/virtinst/util.py
 +++ virt-manager-1.2.1/virtinst/util.py
-@@ -559,3 +559,22 @@ def getInstallRepos(enabled_sources_only
+@@ -561,3 +561,22 @@ def getInstallRepos(enabled_sources_only
  zypper_output.insert(0, dom0_inst_source)
  return (index_dom0, zypper_output)
  

++ virtinst-s390x-disable-graphics.patch ++
--- /var/tmp/diff_new_pack.Oh20QA/_old  2015-11-18 22:34:54.0 +0100
+++ /var/tmp/diff_new_pack.Oh20QA/_new  2015-11-18 22:34:54.0 +0100
@@ -16,7 +16,7 @@
  self.x86_cpu_default = self.cpu.SPECIAL_MODE_HOST_MODEL_ONLY
  
  self.__os_object = None
-@@ -620,11 +623,13 @@ class Guest(XMLBuilder):
+@@ -623,11 +626,13 @@ class Guest(XMLBuilder):
  self.conn.check_support(
  self.conn.SUPPORT_CONN_VIRTIO_CONSOLE)):
  dev.target_type = "virtio"
@@ 

commit virt-manager for openSUSE:Factory

2015-11-04 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-11-04 15:34:06

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-10-12 10:02:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-11-04 15:34:28.0 +0100
@@ -1,0 +2,7 @@
+Tue Oct 27 13:45:04 MDT 2015 - carn...@suse.com
+
+- bsc#Bug 952241 - virt-manager: LibvirtGLib was imported without
+  specifying a version first.
+  cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch
+
+---

New:

  cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.GhatMH/_old  2015-11-04 15:34:30.0 +0100
+++ /var/tmp/diff_new_pack.GhatMH/_new  2015-11-04 15:34:30.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define with_guestfs   0
 %define askpass_package"openssh-askpass"
 %define qemu_user  "qemu"
@@ -51,6 +52,7 @@
 Patch13:
590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
 Patch14:601a82cb-fix-console_type-if-xen.patch
 Patch15:f30975c3-drop-cow-support.patch
+Patch16:
cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -187,6 +189,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch ++
Subject: Suppress gi warnings about lack of require_version
From: Cole Robinson crobi...@redhat.com Thu Sep 3 17:31:43 2015 -0400
Date: Thu Sep 3 17:31:43 2015 -0400:
Git: cde2f0ef676583d2bedf75b3717cdf97a74ba837


diff --git a/virt-manager b/virt-manager
index 2f501e4..0a9d4b4 100755
--- a/virt-manager
+++ b/virt-manager
@@ -28,6 +28,7 @@ import traceback
 
 import gi
 from gi.repository import GObject
+gi.require_version('LibvirtGLib', '1.0')
 from gi.repository import LibvirtGLib
 
 from virtinst import util as util
diff --git a/virtinst/osdict.py b/virtinst/osdict.py
index b70d387..085b27a 100644
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -23,6 +23,8 @@ import datetime
 import logging
 import re
 
+import gi
+gi.require_version('Libosinfo', '1.0')
 from gi.repository import Libosinfo as libosinfo
 
 
++ virtinst-nfs-install-sanitize.patch ++
--- /var/tmp/diff_new_pack.GhatMH/_old  2015-11-04 15:34:30.0 +0100
+++ /var/tmp/diff_new_pack.GhatMH/_new  2015-11-04 15:34:30.0 +0100
@@ -9,7 +9,7 @@
 ===
 --- virt-manager-1.2.1.orig/virtinst/util.py
 +++ virt-manager-1.2.1/virtinst/util.py
-@@ -558,3 +558,22 @@ def getInstallRepos(enabled_sources_only
+@@ -559,3 +559,22 @@ def getInstallRepos(enabled_sources_only
  zypper_output.insert(0, dom0_inst_source)
  return (index_dom0, zypper_output)
  

++ virtman-check-for-valid-display.patch ++
--- /var/tmp/diff_new_pack.GhatMH/_old  2015-11-04 15:34:30.0 +0100
+++ /var/tmp/diff_new_pack.GhatMH/_new  2015-11-04 15:34:30.0 +0100
@@ -1,10 +1,10 @@
 References: bnc#907958
 Sanity check for those who forget '-X' on ssh and try to start virt-manager
-Index: virt-manager-1.1.0/virt-manager
+Index: virt-manager-1.2.1/virt-manager
 ===
 virt-manager-1.1.0.orig/virt-manager
-+++ virt-manager-1.1.0/virt-manager
-@@ -181,8 +181,11 @@ def main():
+--- virt-manager-1.2.1.orig/virt-manager
 virt-manager-1.2.1/virt-manager
+@@ -182,8 +182,11 @@ def main():
  from gi.repository import Gtk
  leftovers = sys.argv[1:]
  




commit virt-manager for openSUSE:Factory

2015-10-12 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-10-12 10:02:33

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-10-08 08:25:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-10-12 10:02:40.0 +0200
@@ -1,0 +2,6 @@
+Thu Oct  8 11:47:56 MDT 2015 - carn...@suse.com
+
+- bsc#949566 - virt-manager: Doesn't detect openSUSE 42 correctly
+  virtinst-pvgrub2-bootloader.patch
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.kNfB9x/_old  2015-10-12 10:02:42.0 +0200
+++ /var/tmp/diff_new_pack.kNfB9x/_new  2015-10-12 10:02:42.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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/
 #
 
-
 %define with_guestfs   0
 %define askpass_package"openssh-askpass"
 %define qemu_user  "qemu"

++ virtinst-pvgrub2-bootloader.patch ++
--- /var/tmp/diff_new_pack.kNfB9x/_old  2015-10-12 10:02:42.0 +0200
+++ /var/tmp/diff_new_pack.kNfB9x/_new  2015-10-12 10:02:42.0 +0200
@@ -13,8 +13,8 @@
 -self.bootloader = "/usr/bin/pygrub"
 -self.os.clear()
 +os_ver = self._get_os_variant()
-+if os_ver == "sles12" or os_ver == "sled12" or \
-+   os_ver == "opensuse13" or os_ver == "opensuse42":
++if os_ver.startswith("sles12") or os_ver.startswith("sled12") or \
++   os_ver.startswith("opensuse13") or 
os_ver.startswith("opensuse42"):
 +self.installer._install_kernel = 
"/usr/lib/grub2/x86_64-xen/grub.xen"
 +self.installer._install_initrd = None
 +self.installer.extraargs = None




commit virt-manager for openSUSE:Factory

2015-09-29 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-09-30 05:51:38

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-09-13 09:45:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-09-30 05:51:41.0 +0200
@@ -1,0 +2,30 @@
+Wed Sep 23 10:25:33 MDT 2015 - carn...@suse.com
+
+- bsc#947129 - Error launching manager: 'URI' is not in list
+  virtman-show-suse-install-repos.patch
+
+---
+Tue Sep 22 11:07:01 MDT 2015 - carn...@suse.com
+
+- bsc#919420 - virt-manager: installation of vm on pp64le: Couldn't
+  find hvm kernel for SUSE tree.
+  virtinst-add-ppc64-arch-support.patch
+- Upstream bug fix to console if running on Xen
+  601a82cb-fix-console_type-if-xen.patch
+
+---
+Wed Sep 16 10:01:56 MDT 2015 - carn...@suse.com
+
+- bsc#945832 - virt-manager is missing a dependency on
+  typelib-1_0-LibvirtGLib-1_0
+  virt-manager.spec
+- Detect opensuse42 and use grub.xen
+  virtinst-pvgrub2-bootloader.patch
+
+---
+Tue Sep 15 02:21:36 UTC 2015 - cy...@suse.com
+
+- bsc#944670: virt-install does not work on SLES 12 SP1 beta3 xen
+  590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch  
+
+---

New:

  590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
  601a82cb-fix-console_type-if-xen.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.WKI7Gb/_old  2015-09-30 05:51:42.0 +0200
+++ /var/tmp/diff_new_pack.WKI7Gb/_new  2015-09-30 05:51:42.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -49,6 +49,8 @@
 Patch10:eb92178e-virtinst-fix-storage-pool-lookup.patch
 Patch11:5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
 Patch12:360fe110-add-s390x-arch-support.patch
+Patch13:
590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
+Patch14:601a82cb-fix-console_type-if-xen.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -132,6 +134,7 @@
 Requires:   python-ipaddr
 Requires:   python-libxml2
 Requires:   python-urlgrabber
+Requires:   typelib(LibvirtGLib)
 %if 0%{?is_opensuse}
 BuildRequires:  gobject-introspection
 %else
@@ -139,7 +142,6 @@
 Requires:   typelib(GVnc)
 Requires:   typelib(GtkVnc)
 Requires:   typelib(Libosinfo)
-Requires:   typelib(LibvirtGLib)
 Requires:   typelib(SpiceClientGtk)
 Requires:   typelib(Vte)
 %endif
@@ -182,6 +184,8 @@
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
+%patch14 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch 
++
>From 590f5a525bccded6866461b4ff3e1bb7adae086b Mon Sep 17 00:00:00 2001
From: Cole Robinson 
Date: Mon, 14 Sep 2015 10:34:19 -0400
Subject: [PATCH] urlfetcher: Clear cached ftp connection on cleanupLocation

Reported-by: Chun Yan Liu 
---
 virtinst/urlfetcher.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index 40f7c05..cda67a2 100644
--- a/virtinst/urlfetcher.py
+++ b/virtinst/urlfetcher.py
@@ -167,6 +167,7 @@ class _FTPImageFetcher(_URIImageFetcher):
 except:
 logging.debug("Error quitting ftp connection", exc_info=True)
 
+self.ftp = None
 
 def hasFile(self, filename):
 path = self._make_path(filename)
-- 
1.8.5.6

++ 601a82cb-fix-console_type-if-xen.patch ++
Subject: virt-install: Simplify --extra-args text install warnings
From: Cole Robinson crobi...@redhat.com Tue Sep 22 08:42:09 2015 -0400
Date: Tue Sep 22 12:44:33 2015 -0400:
Git: 601a82cb87ebc055ba9dd52864317bd513613814

- Drop the warnings about incorrect console=, that's a little too fine
  grained and was really only about virtio-console default confusion
  which doesn't apply anymore
- Skip the check for xenpv which seems to always 'just work'
- Drop the opencoded arm check, use is_arm

commit virt-manager for openSUSE:Factory

2015-09-13 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-09-13 09:45:18

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-09-09 20:21:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-09-13 09:45:25.0 +0200
@@ -1,0 +2,18 @@
+Fri Sep 11 11:17:43 MDT 2015 - carn...@suse.com
+
+- Add upstream s390x support patch (bnc#869024)
+  360fe110-add-s390x-arch-support.patch
+  virtinst-add-ppc64-arch-support.patch
+  Drop virtinst-add-s390x-ppc64-arch-support.patch
+
+---
+Thu Sep 10 13:46:12 MDT 2015 - carn...@suse.com
+
+- Add upstream s390x support patch (bnc#869024)
+  8dbe96fc-add-s390x-arch-support.patch
+  virtinst-add-s390x-ppc64-arch-support.patch
+  virtinst-s390x-disable-graphics.patch
+  Drop virtman-add-s390x-arch-support.patch
+  Drop virtman-s390x-default-to-vminstall.patch
+
+---

Old:

  virtman-add-s390x-arch-support.patch
  virtman-s390x-default-to-vminstall.patch

New:

  360fe110-add-s390x-arch-support.patch
  8dbe96fc-add-s390x-arch-support.patch
  virtinst-add-ppc64-arch-support.patch
  virtinst-s390x-disable-graphics.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.qYM7uW/_old  2015-09-13 09:45:27.0 +0200
+++ /var/tmp/diff_new_pack.qYM7uW/_new  2015-09-13 09:45:27.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -42,22 +42,23 @@
 Patch3: 34db1af7-fix-adding-iscsi-pools.patch
 Patch4: 76bad650-fix-virt-xml-define-and-update.patch
 Patch5: a9b303fb-fix-copy-host-cpu-definition.patch
-Patch6: f81358b0-dont-display-error-if-machine-is-missing-in-XML.patch
-Patch7: aebebbf8-report-an-error-for-pxe-install-without-network.patch
-Patch8: 4970615f-fix-qemu-vs-lxc-detection.patch
-Patch9: eb92178e-virtinst-fix-storage-pool-lookup.patch
-Patch10:5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
+Patch6: 8dbe96fc-add-s390x-arch-support.patch
+Patch7: f81358b0-dont-display-error-if-machine-is-missing-in-XML.patch
+Patch8: aebebbf8-report-an-error-for-pxe-install-without-network.patch
+Patch9: 4970615f-fix-qemu-vs-lxc-detection.patch
+Patch10:eb92178e-virtinst-fix-storage-pool-lookup.patch
+Patch11:5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
+Patch12:360fe110-add-s390x-arch-support.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
 Patch72:virtman-keycombo.patch
 Patch73:virtman-vminstall.patch
 Patch74:virtman-show-suse-install-repos.patch
-Patch75:virtman-s390x-default-to-vminstall.patch
-Patch76:virtman-libvirtd-not-running.patch
-Patch77:virtman-dont-allow-grub.xen-to-be-deleted.patch
-Patch78:virtinst-pvgrub2-bootloader.patch
-Patch79:virtinst-nfs-install-sanitize.patch
+Patch75:virtman-libvirtd-not-running.patch
+Patch76:virtman-dont-allow-grub.xen-to-be-deleted.patch
+Patch77:virtinst-pvgrub2-bootloader.patch
+Patch78:virtinst-nfs-install-sanitize.patch
 # Features or Enhancements
 Patch100:   virtman-eepro100.patch
 Patch101:   virtman-default-guest-from-host-os.patch
@@ -65,16 +66,17 @@
 Patch103:   virtman-autoyast-support.patch
 Patch104:   virtman-packages.patch
 Patch105:   virtman-load-stored-uris.patch
-Patch106:   virtman-add-s390x-arch-support.patch
-Patch107:   virtman-add-connect-default.patch
+Patch106:   virtman-add-connect-default.patch
 Patch120:   virtinst-storage-ocfs2.patch
 Patch121:   virtinst-default-xen-to-qcow2-format.patch
-Patch123:   virtinst-detect-oes-distros.patch
-Patch124:   virtinst-modify-gui-defaults.patch
-Patch125:   virtinst-vol-default-nocow.patch
-Patch126:   virtinst-set-cache-mode-unsafe-for-install.patch
-Patch127:   virtinst-add-default-rng-device.patch
-Patch128:   virtinst-set-qemu-emulator.patch
+Patch122:   virtinst-detect-oes-distros.patch
+Patch123:   virtinst-modify-gui-defaults.patch
+Patch124:   

commit virt-manager for openSUSE:Factory

2015-09-09 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-09-09 20:21:11

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is "virt-manager"

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-08-29 20:04:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-09-09 20:21:12.0 +0200
@@ -1,0 +2,23 @@
+Tue Sep  8 15:59:53 MDT 2015 - carn...@suse.com
+
+- bsc#942796 - Virtualization/virt-manager: Missing dependeny
+  virt-manager.spec 
+
+---
+Thu Sep  3 10:43:15 MDT 2015 - carn...@suse.com
+
+- bsc#944374 - virt-manager uninstallable on aarch64
+  virt-manager.spec
+- Add upstream bug fix
+  5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
+- Drop virtinst-detect-windows-media.patch as this is not needed
+  now that we use libosinfo
+
+---
+Mon Aug 31 16:41:28 MDT 2015 - carn...@suse.com
+
+- Drop virtinst-fix-storage-pool-lookup.patch in favor of upstream
+  version (bsc#941464).
+  eb92178e-virtinst-fix-storage-pool-lookup.patch
+
+---

Old:

  virtinst-detect-windows-media.patch
  virtinst-fix-storage-pool-lookup.patch

New:

  5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
  eb92178e-virtinst-fix-storage-pool-lookup.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.jjfIMf/_old  2015-09-09 20:21:14.0 +0200
+++ /var/tmp/diff_new_pack.jjfIMf/_new  2015-09-09 20:21:14.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -45,6 +45,8 @@
 Patch6: f81358b0-dont-display-error-if-machine-is-missing-in-XML.patch
 Patch7: aebebbf8-report-an-error-for-pxe-install-without-network.patch
 Patch8: 4970615f-fix-qemu-vs-lxc-detection.patch
+Patch9: eb92178e-virtinst-fix-storage-pool-lookup.patch
+Patch10:5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -70,10 +72,9 @@
 Patch123:   virtinst-detect-oes-distros.patch
 Patch124:   virtinst-modify-gui-defaults.patch
 Patch125:   virtinst-vol-default-nocow.patch
-Patch126:   virtinst-detect-windows-media.patch
-Patch127:   virtinst-set-cache-mode-unsafe-for-install.patch
-Patch128:   virtinst-add-default-rng-device.patch
-Patch129:   virtinst-set-qemu-emulator.patch
+Patch126:   virtinst-set-cache-mode-unsafe-for-install.patch
+Patch127:   virtinst-add-default-rng-device.patch
+Patch128:   virtinst-set-qemu-emulator.patch
 # Bug Fixes
 Patch150:   virtman-supported-disk-formats.patch
 Patch151:   virtman-prevent-double-click-starting-vm-twice.patch
@@ -85,7 +86,6 @@
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
 Patch163:   virtinst-replace-unar-with-other-archivers.patch
-Patch164:   virtinst-fix-storage-pool-lookup.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -95,30 +95,18 @@
 Requires:   dconf
 Requires:   gtk3
 Requires:   python-gconf
-Requires:   virt-manager-common = %{verrel}
-Requires:   vm-install >= 0.5.6
-
-# Typelib's
-Requires:   typelib(GVnc)
-Requires:   typelib(GtkVnc)
-Requires:   typelib(LibvirtGLib)
-Requires:   typelib(SpiceClientGtk)
-Requires:   typelib(Vte)
-
 # For console widget
 Requires:   python-gobject-cairo
 Recommends: python-SpiceClientGtk
-
 Requires:   virt-install
+Requires:   virt-manager-common = %{verrel}
+Recommends: vm-install >= 0.5.6
 
 %if %{with_guestfs}
 Requires:   python-libguestfs
 %endif
 
 BuildRequires:  glib2-devel
-%if 0%{?suse_version} > 1320
-BuildRequires:  gobject-introspection
-%endif
 BuildRequires:  intltool
 BuildRequires:  perl
 BuildRequires:  python
@@ -142,7 +130,17 @@
 Requires:   python-ipaddr
 Requires:   python-libxml2
 Requires:   python-urlgrabber
+%if 0%{?is_opensuse}
+BuildRequires:  gobject-introspection
+%else
+Recommends: typelib(AppIndicator3)
+Requires:   typelib(GVnc)
+Requires:   typelib(GtkVnc)
 Requires:   

commit virt-manager for openSUSE:Factory

2015-08-29 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-08-29 20:04:56

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-08-21 07:42:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-08-29 20:04:58.0 +0200
@@ -1,0 +2,7 @@
+Wed Aug 26 15:32:59 MDT 2015 - carn...@suse.com
+
+- bsc#942625 - ERROR:root:Could not find any typelib for
+  Libosinfo during virt-install script to auto-install guest
+  virt-manager.spec
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.12sAs1/_old  2015-08-29 20:04:59.0 +0200
+++ /var/tmp/diff_new_pack.12sAs1/_new  2015-08-29 20:04:59.0 +0200
@@ -99,8 +99,11 @@
 Requires:   vm-install = 0.5.6
 
 # Typelib's
-Requires:   typelib(Libosinfo)
+Requires:   typelib(GVnc)
+Requires:   typelib(GtkVnc)
 Requires:   typelib(LibvirtGLib)
+Requires:   typelib(SpiceClientGtk)
+Requires:   typelib(Vte)
 
 # For console widget
 Requires:   python-gobject-cairo
@@ -139,6 +142,7 @@
 Requires:   python-ipaddr
 Requires:   python-libxml2
 Requires:   python-urlgrabber
+Requires:   typelib(Libosinfo)
 
 %description common
 Common files used by the different virt-manager interfaces, as well as




commit virt-manager for openSUSE:Factory

2015-08-20 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-08-21 07:41:35

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-07-14 17:45:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-08-21 07:42:06.0 +0200
@@ -1,0 +2,27 @@
+Wed Aug 12 15:22:52 MDT 2015 - carn...@suse.com
+
+- bsc#941464 - virt-convert attempts to create storage pool images
+  even if it already exists
+  virtinst-fix-storage-pool-lookup.patch
+
+---
+Mon Aug 10 11:58:32 MDT 2015 - carn...@suse.com
+
+- Drop the following patches for bsc#938942 as they are not needed.
+  virtman-reset-image-filename-based-on-format.patch
+  virtman-allow-other-disk-formats.patch
+- Upstream bug fixes
+  a9b303fb-fix-copy-host-cpu-definition.patch
+  f81358b0-dont-display-error-if-machine-is-missing-in-XML.patch
+  aebebbf8-report-an-error-for-pxe-install-without-network.patch
+  4970615f-fix-qemu-vs-lxc-detection.patch
+
+---
+Thu Jul 23 09:39:26 MDT 2015 - carn...@suse.com
+
+- bsc#938942 - Can't create a vmguest with raw format image with
+  virt-manager at first installation (option disable) 
+  virtman-reset-image-filename-based-on-format.patch
+  virtman-allow-other-disk-formats.patch
+
+---

New:

  4970615f-fix-qemu-vs-lxc-detection.patch
  a9b303fb-fix-copy-host-cpu-definition.patch
  aebebbf8-report-an-error-for-pxe-install-without-network.patch
  f81358b0-dont-display-error-if-machine-is-missing-in-XML.patch
  virtinst-fix-storage-pool-lookup.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.3zWgkf/_old  2015-08-21 07:42:07.0 +0200
+++ /var/tmp/diff_new_pack.3zWgkf/_new  2015-08-21 07:42:07.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define with_guestfs   0
 %define askpass_packageopenssh-askpass
 %define qemu_user  qemu
@@ -40,6 +41,10 @@
 Patch2: fc93e154-fix-udp-tcp-host-vs-mode-UI.patch
 Patch3: 34db1af7-fix-adding-iscsi-pools.patch
 Patch4: 76bad650-fix-virt-xml-define-and-update.patch
+Patch5: a9b303fb-fix-copy-host-cpu-definition.patch
+Patch6: f81358b0-dont-display-error-if-machine-is-missing-in-XML.patch
+Patch7: aebebbf8-report-an-error-for-pxe-install-without-network.patch
+Patch8: 4970615f-fix-qemu-vs-lxc-detection.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -80,6 +85,7 @@
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
 Patch163:   virtinst-replace-unar-with-other-archivers.patch
+Patch164:   virtinst-fix-storage-pool-lookup.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -88,7 +94,6 @@
 Requires:   dbus-1-x11
 Requires:   dconf
 Requires:   gtk3
-Requires:   libosinfo = 0.2.10
 Requires:   python-gconf
 Requires:   virt-manager-common = %{verrel}
 Requires:   vm-install = 0.5.6
@@ -165,6 +170,10 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1
@@ -205,6 +214,7 @@
 %patch161 -p1
 %patch162 -p1
 %patch163 -p1
+%patch164 -p1
 
 %build
 %if %{qemu_user}

++ 4970615f-fix-qemu-vs-lxc-detection.patch ++
Subject: addconnection: Fix qemu:///session vs. lxc:/// detection
From: Cole Robinson crobi...@redhat.com Sun Aug 9 12:27:20 2015 -0400
Date: Sun Aug 9 12:27:20 2015 -0400:
Git: 4970615f4870cc5394a46ff6a049ac937b3043d6


diff --git a/virtManager/connect.py b/virtManager/connect.py
index b977fea..7493d14 100644
--- a/virtManager/connect.py
+++ b/virtManager/connect.py
@@ -327,7 +327,8 @@ class vmmConnect(vmmGObjectUI):
 self.populate_uri()
 
 def hypervisor_changed(self, src):
-is_session = (src.get_active() == HV_QEMU_SESSION)
+hv = uiutil.get_list_selection(self.widget(hypervisor))
+

commit virt-manager for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-07-14 17:43:52

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-06-23 12:00:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-07-14 17:45:02.0 +0200
@@ -1,0 +2,11 @@
+Wed Jul  8 11:29:25 MDT 2015 - carn...@suse.com
+
+- bsc#937336 - ImportError using virt-install  
+  virt-manager.spec
+- Upstream bug fixes
+  76bad650-fix-virt-xml-define-and-update.patch
+  fc93e154-fix-udp-tcp-host-vs-mode-UI.patch
+  34db1af7-fix-adding-iscsi-pools.patch
+  77423e7a-connection-catch-more-errors-in-filter_nodedevs.patch
+
+---
@@ -10 +21 @@
-- Update to virt-manager 1.2.0
+- fate#318394: Update to version 1.2.1

New:

  34db1af7-fix-adding-iscsi-pools.patch
  76bad650-fix-virt-xml-define-and-update.patch
  77423e7a-connection-catch-more-errors-in-filter_nodedevs.patch
  fc93e154-fix-udp-tcp-host-vs-mode-UI.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.sGvuWm/_old  2015-07-14 17:45:03.0 +0200
+++ /var/tmp/diff_new_pack.sGvuWm/_new  2015-07-14 17:45:03.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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/
 #
 
-
 %define with_guestfs   0
 %define askpass_packageopenssh-askpass
 %define qemu_user  qemu
@@ -37,6 +36,10 @@
 Source1:virt-install.rb
 Source2:virt-install.desktop
 # Upstream Patches
+Patch1: 77423e7a-connection-catch-more-errors-in-filter_nodedevs.patch
+Patch2: fc93e154-fix-udp-tcp-host-vs-mode-UI.patch
+Patch3: 34db1af7-fix-adding-iscsi-pools.patch
+Patch4: 76bad650-fix-virt-xml-define-and-update.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -89,9 +92,9 @@
 Requires:   python-gconf
 Requires:   virt-manager-common = %{verrel}
 Requires:   vm-install = 0.5.6
-Requires:   typelib(Libosinfo)
 
-# Libvirt-glib
+# Typelib's
+Requires:   typelib(Libosinfo)
 Requires:   typelib(LibvirtGLib)
 
 # For console widget
@@ -126,6 +129,7 @@
 
 # This version not strictly required: virt-manager should work with older,
 # however varying amounts of functionality will not be enabled.
+Requires:   libosinfo = 0.2.10
 Requires:   libvirt-python = 0.7.0
 Requires:   python-ipaddr
 Requires:   python-libxml2
@@ -157,6 +161,10 @@
 %prep
 %setup -q
 # Upstream Patches
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 34db1af7-fix-adding-iscsi-pools.patch ++
Subject: createpool: Fix adding iscsi pools (bz 1231558)
From: Cole Robinson crobi...@redhat.com Sun Jun 21 15:47:31 2015 -0400
Date: Sun Jun 21 15:47:31 2015 -0400:
Git: 34db1af7b661b7eb5df4c71fc910d31c1ae9f7a4


diff --git a/virtManager/createpool.py b/virtManager/createpool.py
index bd18d43..1eaa805 100644
--- a/virtManager/createpool.py
+++ b/virtManager/createpool.py
@@ -479,9 +479,11 @@ class vmmCreatePool(vmmGObjectUI):
 source_list = self.widget(pool-source-path)
 target_list = self.widget(pool-target-path)
 
-pool = uiutil.get_list_selection(source_list, column=2)
+pool = uiutil.get_list_selection(source_list, column=2,
+ check_entry=False)
 if pool is None:
-pool = uiutil.get_list_selection(target_list, column=2)
+pool = uiutil.get_list_selection(target_list, column=2,
+ check_entry=False)
 
 return pool
 
diff --git a/virtManager/uiutil.py b/virtManager/uiutil.py
index 82d2c1d..40b74d4 100644
--- a/virtManager/uiutil.py
+++ b/virtManager/uiutil.py
@@ -70,17 +70,21 @@ def get_list_selected_row(widget, check_visible=False):
 return row
 
 
-def get_list_selection(widget, column=0, check_visible=False):
+def get_list_selection(widget, column=0,
+   check_visible=False, check_entry=True):
 
 Helper to simplify getting the selected row and value in a list/tree/combo.
 If nothing is selected, and the 

commit virt-manager for openSUSE:Factory

2015-06-23 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-06-23 12:00:49

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-06-10 09:16:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-06-23 12:00:50.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 15 14:17:50 UTC 2015 - l...@suse.com
+
+- bnc#934270 - virt-convert cannot handle .ova files
+  virtinst-replace-unar-with-other-archivers.patch
+
+---

New:

  virtinst-replace-unar-with-other-archivers.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.zTCcpv/_old  2015-06-23 12:00:51.0 +0200
+++ /var/tmp/diff_new_pack.zTCcpv/_new  2015-06-23 12:00:51.0 +0200
@@ -76,6 +76,7 @@
 Patch160:   virtinst-xen-drive-type.patch
 Patch161:   virtinst-xenbus-disk-index-fix.patch
 Patch162:   virtinst-refresh_before_fetch_pool.patch
+Patch163:   virtinst-replace-unar-with-other-archivers.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -195,6 +196,7 @@
 %patch160 -p1
 %patch161 -p1
 %patch162 -p1
+%patch163 -p1
 
 %build
 %if %{qemu_user}

++ virtinst-replace-unar-with-other-archivers.patch ++
References: bnc#934270
We don't ship unar with any suse distro (not even in Factory).
Until we do, keep this patch to execute the correct archiver
program.

Index: virt-manager-1.2.1/virtconv/formats.py
===
--- virt-manager-1.2.1.orig/virtconv/formats.py
+++ virt-manager-1.2.1/virtconv/formats.py
@@ -118,6 +118,8 @@ def _find_input(input_file, parser, prin
 try:
 ext = os.path.splitext(input_file)[1]
 tempdir = None
+binname = None
+pkg = None
 if ext and ext[1:] in [zip, gz, ova,
 tar, bz2, bzip2, 7z, xz]:
 basedir = /var/tmp
@@ -129,19 +131,40 @@ def _find_input(input_file, parser, prin
 
 base = os.path.basename(input_file)
 
-# check if 'unar' command existed.
-if not find_executable(unar):
+if (ext[1:] == zip):
+binname = unzip
+pkg = unzip
+cmd = [unzip, -o, -d, tempdir, input_file]
+elif (ext[1:] == 7z):
+binname = 7z
+pkg = p7zip
+cmd = [7z, -o + tempdir, e, input_file]
+elif (ext[1:] == ova or ext[1:] == tar):
+binname = tar
+pkg = tar
+cmd = [tar, xf, input_file, -C, tempdir]
+elif (ext[1:] == gz):
+binname = gzip
+pkg = gzip
+cmd = [tar, zxf, input_file, -C, tempdir]
+elif (ext[1:] == bz2 or ext[1:] == bzip2):
+binname = bzip2
+pkg = bzip2
+cmd = [tar, jxf, input_file, -C, tempdir]
+elif (ext[1:] == xz):
+binname = xz
+pkg = xz
+cmd = [tar, Jxf, input_file, -C, tempdir]
+if not find_executable(binname):
 raise RuntimeError(_(%s appears to be an archive, 
-but 'unar' is not installed. 
-Please either install 'unar', or extract the archive 
+but '%s' is not installed. 
+Please either install '%s', or extract the archive 
 yourself and point virt-convert at 
-the extracted directory.) % base)
+the extracted directory.) % (base, pkg, pkg))
 
-cmd = [unar, -o, tempdir, base]
 print_cb(_(%s appears to be an archive, running: %s) %
 (base,  .join(cmd)))
 
-cmd[-1] = input_file
 _run_cmd(cmd)
 force_clean.append(tempdir)
 input_file = tempdir



commit virt-manager for openSUSE:Factory

2015-06-10 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-06-10 09:16:35

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-05-29 10:45:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-06-10 09:16:36.0 +0200
@@ -1,0 +2,51 @@
+Mon Jun  8 06:07:48 MDT 2015 - carn...@suse.com
+
+- Update to virt-manager 1.2.0
+  virt-manager-1.2.1.tar.bz2
+  * Bugfix release
+  * Fix connecting to older libvirt versions (Michał Kępień)
+  * Fix connecting to VM console with non-IP hostname (Giuseppe Scrivano)
+  * Fix addhardware/create wizard errors when a nodedev disappears
+  * Fix adding a second cdrom via customize dialog
+- Dropped tarball and patches
+  virt-manager-1.2.0.tar.bz2
+  848123e6-fix-memory-stats-for-shutoff-VM.patch
+  ebcb7c06-fix-exception-when-the-address-is-not-an-IP.patch
+  c4d26d16-fix-VM-polling-on-old-libvirt.patch
+  ac2be796-do-not-throw-exception-if-volume-or-pool-dont-exist.patch
+  88e18c86-fix-sending-net-removed-signal.patch
+  fbdf574c-fix-shortcut-key-for-USB-redir-dev-type.patch
+  2c1e482b-fix--show-host-summary-error-windows-flooding.patch
+  4b5c836a-read-start-mode-from-inactive-conf-XML.patch
+  776c1d97-fix-changing-USB-device-model.patch
+  bbc4f83b-enable-qemu_ga-for-sles-11-sp4-and-newer.patch
+  f8af2e6b-verify-HYPER-V-support-after-customization.patch
+  9ea3fcd1-add-classes-for-SUSE-distros.patch
+  23f262ec-fetch-URL-media-from-content-file-for-suse-distros.patch
+  5618fa4c-add-support-for-detecting-os-variants-of-suse-distros.patch
+  9b99eff7-add-opensuse-13.x-tests.patch
+  f5a13510-clone-dont-use-separator-when-disk-under-root.patch
+
+---
+Fri Jun  5 14:44:31 MDT 2015 - carn...@suse.com
+
+- Upstream support for suse distros
+  9ea3fcd1-add-classes-for-SUSE-distros.patch
+  23f262ec-fetch-URL-media-from-content-file-for-suse-distros.patch
+  5618fa4c-add-support-for-detecting-os-variants-of-suse-distros.patch
+  9b99eff7-add-opensuse-13.x-tests.patch 
+- Drop virtinst-detect-suse-distros.patch
+- Add detection for Open Enterprise Server
+  virtinst-detect-oes-distros.patch
+- Upstream bug fix
+  f5a13510-clone-dont-use-separator-when-disk-under-root.patch
+
+---
+Tue Jun  2 14:08:51 MDT 2015 - carn...@suse.com
+
+- bsc#933242 - virt-manager: summary=Error launching manager: list
+  index out of range 
+  virtman-show-suse-install-repos.patch
+- Add depedency on typelib(Libosinfo)
+
+---

Old:

  2c1e482b-fix--show-host-summary-error-windows-flooding.patch
  4b5c836a-read-start-mode-from-inactive-conf-XML.patch
  776c1d97-fix-changing-USB-device-model.patch
  848123e6-fix-memory-stats-for-shutoff-VM.patch
  88e18c86-fix-sending-net-removed-signal.patch
  ac2be796-do-not-throw-exception-if-volume-or-pool-dont-exist.patch
  bbc4f83b-enable-qemu_ga-for-sles-11-sp4-and-newer.patch
  c4d26d16-fix-VM-polling-on-old-libvirt.patch
  ebcb7c06-fix-exception-when-the-address-is-not-an-IP.patch
  f8af2e6b-verify-HYPER-V-support-after-customization.patch
  fbdf574c-fix-shortcut-key-for-USB-redir-dev-type.patch
  virt-manager-1.2.0.tar.bz2
  virtinst-detect-suse-distros.patch

New:

  virt-manager-1.2.1.tar.bz2
  virtinst-detect-oes-distros.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.eza0hS/_old  2015-06-10 09:16:38.0 +0200
+++ /var/tmp/diff_new_pack.eza0hS/_new  2015-06-10 09:16:38.0 +0200
@@ -23,11 +23,11 @@
 %define libvirt_xen_packages   
 %define preferred_distros  sles12,opensuse13.2
 %define kvm_packages   
-%define _version   1.2.0
+%define _version   1.2.1
 %define _release   1
 
 Name:   virt-manager
-Version:1.2.0
+Version:1.2.1
 Release:0
 Summary:Virtual Machine Manager
 License:GPL-2.0+
@@ -37,17 +37,6 @@
 Source1:virt-install.rb
 Source2:virt-install.desktop
 # Upstream Patches
-Patch1: 848123e6-fix-memory-stats-for-shutoff-VM.patch
-Patch2: ebcb7c06-fix-exception-when-the-address-is-not-an-IP.patch
-Patch3: c4d26d16-fix-VM-polling-on-old-libvirt.patch
-Patch4: 
ac2be796-do-not-throw-exception-if-volume-or-pool-dont-exist.patch
-Patch5: 88e18c86-fix-sending-net-removed-signal.patch
-Patch6: fbdf574c-fix-shortcut-key-for-USB-redir-dev-type.patch

commit virt-manager for openSUSE:Factory

2015-05-29 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-05-29 10:45:57

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-05-06 07:49:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-05-29 10:45:59.0 +0200
@@ -1,0 +2,26 @@
+Wed May 20 13:14:27 MDT 2015 - carn...@suse.com
+
+- Upstream bug fixes
+  776c1d97-fix-changing-USB-device-model.patch
+  bbc4f83b-enable-qemu_ga-for-sles-11-sp4-and-newer.patch
+  f8af2e6b-verify-HYPER-V-support-after-customization.patch
+
+---
+Fri May 15 13:10:49 MDT 2015 - carn...@suse.com
+
+- Upstream bug fixes
+  fbdf574c-fix-shortcut-key-for-USB-redir-dev-type.patch
+  2c1e482b-fix--show-host-summary-error-windows-flooding.patch
+  4b5c836a-read-start-mode-from-inactive-conf-XML.patch
+
+---
+Fri May  8 11:08:49 MDT 2015 - carn...@suse.com
+
+- Upstream bug fixes
+  848123e6-fix-memory-stats-for-shutoff-VM.patch
+  ebcb7c06-fix-exception-when-the-address-is-not-an-IP.patch
+  c4d26d16-fix-VM-polling-on-old-libvirt.patch
+  ac2be796-do-not-throw-exception-if-volume-or-pool-dont-exist.patch
+  88e18c86-fix-sending-net-removed-signal.patch
+
+---

New:

  2c1e482b-fix--show-host-summary-error-windows-flooding.patch
  4b5c836a-read-start-mode-from-inactive-conf-XML.patch
  776c1d97-fix-changing-USB-device-model.patch
  848123e6-fix-memory-stats-for-shutoff-VM.patch
  88e18c86-fix-sending-net-removed-signal.patch
  ac2be796-do-not-throw-exception-if-volume-or-pool-dont-exist.patch
  bbc4f83b-enable-qemu_ga-for-sles-11-sp4-and-newer.patch
  c4d26d16-fix-VM-polling-on-old-libvirt.patch
  ebcb7c06-fix-exception-when-the-address-is-not-an-IP.patch
  f8af2e6b-verify-HYPER-V-support-after-customization.patch
  fbdf574c-fix-shortcut-key-for-USB-redir-dev-type.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.bxUFPO/_old  2015-05-29 10:46:01.0 +0200
+++ /var/tmp/diff_new_pack.bxUFPO/_new  2015-05-29 10:46:01.0 +0200
@@ -37,6 +37,17 @@
 Source1:virt-install.rb
 Source2:virt-install.desktop
 # Upstream Patches
+Patch1: 848123e6-fix-memory-stats-for-shutoff-VM.patch
+Patch2: ebcb7c06-fix-exception-when-the-address-is-not-an-IP.patch
+Patch3: c4d26d16-fix-VM-polling-on-old-libvirt.patch
+Patch4: 
ac2be796-do-not-throw-exception-if-volume-or-pool-dont-exist.patch
+Patch5: 88e18c86-fix-sending-net-removed-signal.patch
+Patch6: fbdf574c-fix-shortcut-key-for-USB-redir-dev-type.patch
+Patch7: 2c1e482b-fix--show-host-summary-error-windows-flooding.patch
+Patch8: 4b5c836a-read-start-mode-from-inactive-conf-XML.patch
+Patch9: 776c1d97-fix-changing-USB-device-model.patch
+Patch10:bbc4f83b-enable-qemu_ga-for-sles-11-sp4-and-newer.patch
+Patch11:f8af2e6b-verify-HYPER-V-support-after-customization.patch
 # SUSE Only
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
@@ -155,6 +166,17 @@
 %prep
 %setup -q
 # Upstream Patches
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++ 2c1e482b-fix--show-host-summary-error-windows-flooding.patch ++
Subject: virt-manager: fix --show-host-summary error windows flooding
From: Giuseppe Scrivano gscri...@redhat.com Mon May 11 15:05:57 2015 +0200
Date: Mon May 11 20:20:10 2015 +0200:
Git: 2c1e482b2df58e76624cb30625ce4bed0c663275

Break an endless loop vmmHost.overview_name_changed -
vmmHost.conn_state_changed - vmmHost._overview_name_changed.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1220322

Signed-off-by: Giuseppe Scrivano gscri...@redhat.com

Index: virt-manager-1.2.0/virtManager/connection.py
===
--- virt-manager-1.2.0.orig/virtManager/connection.py
+++ virt-manager-1.2.0/virtManager/connection.py
@@ -1346,7 +1346,8 @@ class vmmConnection(vmmGObject):
 self.config.set_conn_autoconnect(self.get_uri(), val)
 
 def set_config_pretty_name(self, value):
-self.config.set_perconn(self.get_uri(), /pretty-name, value)
+if value != self._get_config_pretty_name():
+self.config.set_perconn(self.get_uri(), /pretty-name, value)

commit virt-manager for openSUSE:Factory

2015-05-05 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-05-06 07:49:10

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-04-27 12:59:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-05-06 07:49:33.0 +0200
@@ -1,0 +2,33 @@
+Mon May  4 13:38:06 MDT 2015 - carn...@suse.com
+
+- Update to virt-manager 1.2.0
+  virt-manager-1.2.0.tar.bz2
+  virtinst-default-xen-to-qcow2-format.patch
+  * OVMF/AAVMF Support (Laszlo Ersek, Giuseppe Scrivano, Cole Robinson)
+  * Improved support for AArch64 qemu/kvm
+  * virt-install: Support –disk type=network parameters
+  * virt-install: Make –disk just work
+  * virt-install: Add –disk sgio= option (Giuseppe Scrivano)
+  * addhardware: default to an existing bus when adding a new disk (Giuseppe 
Scrivano)
+  * virt-install: Add –input device option
+  * virt-manager: Unify storagebrowser and storage details functionality
+  * virt-manager: allow setting a custom connection row name
+  * virt-install: Support –hostdev scsi passthrough
+  * virt-install: Fill in a bunch of –graphics spice options
+  * Disable spice image compression for new local VMs
+  * virt-manager: big reworking of the migration dialog
+- Dropped tarball and patches
+  virt-manager-1.1.0.tar.bz2
+  65f7017e-createnet-fix.patch
+  virt-manager-Gtk-30.patch
+  virtman-sync-vm-startup-for-cpu-usage.patch
+  virtinst-ignore-error-403-on-directories.patch
+  virtman-check-for-empty-network-name.patch
+  activate-default-console.patch
+  virtinst-ppc64le.patch
+  virtinst-supported-disk-formats.patch
+  virtinst-support-suse-distros.patch
+  virtman-default-lxc-uri.patch
+  virtman-stable-os-support.patch
+
+---

Old:

  65f7017e-createnet-fix.patch
  activate-default-console.patch
  virt-manager-1.1.0.tar.bz2
  virt-manager-Gtk-30.patch
  virtinst-ignore-error-403-on-directories.patch
  virtinst-ppc64le.patch
  virtinst-support-suse-distros.patch
  virtinst-supported-disk-formats.patch
  virtman-check-for-empty-network-name.patch
  virtman-default-lxc-uri.patch
  virtman-stable-os-support.patch
  virtman-sync-vm-startup-for-cpu-usage.patch

New:

  virt-manager-1.2.0.tar.bz2
  virtinst-default-xen-to-qcow2-format.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.x7cxgY/_old  2015-05-06 07:49:35.0 +0200
+++ /var/tmp/diff_new_pack.x7cxgY/_new  2015-05-06 07:49:35.0 +0200
@@ -21,13 +21,13 @@
 %define qemu_user  qemu
 %define libvirt_kvm_packages   
 %define libvirt_xen_packages   
-%define preferred_distros  sles,opensuse
+%define preferred_distros  sles12,opensuse13.2
 %define kvm_packages   
-%define _version   1.1.0
+%define _version   1.2.0
 %define _release   1
 
 Name:   virt-manager
-Version:1.1.0
+Version:1.2.0
 Release:0
 Summary:Virtual Machine Manager
 License:GPL-2.0+
@@ -36,19 +36,18 @@
 Source0:%{name}-%{version}.tar.bz2
 Source1:virt-install.rb
 Source2:virt-install.desktop
+# Upstream Patches
 # SUSE Only
-Patch1: 65f7017e-createnet-fix.patch
 Patch70:virtman-desktop.patch
 Patch71:virtman-kvm.patch
 Patch72:virtman-keycombo.patch
 Patch73:virtman-vminstall.patch
 Patch74:virtman-show-suse-install-repos.patch
-Patch75:virtman-stable-os-support.patch
-Patch76:virtman-dont-allow-grub.xen-to-be-deleted.patch
-Patch77:virtman-s390x-default-to-vminstall.patch
-Patch78:virtman-libvirtd-not-running.patch
-Patch79:virtinst-pvgrub2-bootloader.patch
-Patch80:virtinst-nfs-install-sanitize.patch
+Patch75:virtman-s390x-default-to-vminstall.patch
+Patch76:virtman-libvirtd-not-running.patch
+Patch77:virtman-dont-allow-grub.xen-to-be-deleted.patch
+Patch78:virtinst-pvgrub2-bootloader.patch
+Patch79:virtinst-nfs-install-sanitize.patch
 # Features or Enhancements
 Patch100:   virtman-eepro100.patch
 Patch101:   virtman-default-guest-from-host-os.patch
@@ -57,11 +56,9 @@
 Patch104:   virtman-packages.patch
 Patch105:   virtman-load-stored-uris.patch
 Patch106:   virtman-add-s390x-arch-support.patch
-Patch107:   virtman-default-lxc-uri.patch
-Patch108:   virtman-add-connect-default.patch
+Patch107:   virtman-add-connect-default.patch
 Patch120:   virtinst-storage-ocfs2.patch
-Patch121:   

commit virt-manager for openSUSE:Factory

2015-04-27 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-04-27 12:59:38

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-04-02 16:04:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-04-27 12:59:39.0 +0200
@@ -1,0 +2,7 @@
+Sat Apr 11 19:15:22 UTC 2015 - stefan.bru...@rwth-aachen.de
+
+- Remove bad dependency on gtk-vnc2. It is provided by the Gtk2
+  version of GtkVnc, the Gtk3 version provides gtk-vnc.
+  The right dependency is picked up by the autorequires.
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.VjUfKS/_old  2015-04-27 12:59:40.0 +0200
+++ /var/tmp/diff_new_pack.VjUfKS/_new  2015-04-27 12:59:40.0 +0200
@@ -99,11 +99,9 @@
 Requires:   vm-install = 0.5.6
 
 # Libvirt-glib
-Requires:   libvirt-glib-1_0-0 = 0.0.9
-Requires:   typelib-1_0-LibvirtGLib-1_0
+Requires:   typelib(LibvirtGLib)
 
 # For console widget
-Requires:   gtk-vnc2
 Requires:   python-gobject-cairo
 Recommends: python-SpiceClientGtk
 




commit virt-manager for openSUSE:Factory

2015-04-02 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-04-02 16:04:51

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2015-01-24 22:20:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-04-02 16:04:52.0 +0200
@@ -1,0 +2,16 @@
+Thu Feb 26 10:39:17 UTC 2015 - sch...@suse.de
+
+- virtman-allow-creating-i686-vm.patch: Allow creating i686 VM on x86_64
+  (bsc#919692)
+
+---
+Wed Feb 25 14:10:15 MST 2015 - carn...@suse.com
+
+- Revert the last commit 
+
+---
+Tue Feb 24 16:30:03 UTC 2015 - sch...@suse.de
+
+- virtman-allow-creating-i686-vm.patch: Allow creating i686 VM on x86_64
+
+---

New:

  virtman-allow-creating-i686-vm.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.vYmFFz/_old  2015-04-02 16:04:53.0 +0200
+++ /var/tmp/diff_new_pack.vYmFFz/_new  2015-04-02 16:04:53.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -84,6 +84,7 @@
 Patch160:   virtinst-ignore-error-403-on-directories.patch
 Patch161:   virt-manager-Gtk-30.patch
 Patch162:   activate-default-console.patch
+Patch163:   virtman-allow-creating-i686-vm.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -210,6 +211,7 @@
 %patch160 -p1
 %patch161 -p1
 %patch162 -p1
+%patch163 -p1
 
 %build
 %if %{qemu_user}

++ virtman-allow-creating-i686-vm.patch ++
Index: virt-manager-1.1.0/virtManager/create.py
===
--- virt-manager-1.1.0.orig/virtManager/create.py
+++ virt-manager-1.1.0/virtManager/create.py
@@ -694,11 +694,6 @@ class vmmCreate(vmmGObjectUI):
 for guest in self.conn.caps.guests:
 if guest.os_type == self.capsguest.os_type:
 archs.append(guest.arch)
-
-# Combine x86/i686 to avoid confusion
-if (self.conn.caps.host.cpu.arch == x86_64 and
-x86_64 in archs and i686 in archs):
-archs.remove(i686)
 archs.sort()
 
 prios = [x86_64, i686, armv7l, ppc64, s390x]



commit virt-manager for openSUSE:Factory

2015-01-24 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-01-24 22:20:29

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2014-12-17 19:15:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-01-24 22:20:31.0 +0100
@@ -1,0 +2,26 @@
+Fri Jan 23 14:08:34 UTC 2015 - cbosdon...@suse.com
+
+- bsc#909602 - virt-manager doesn't show text console for container
+  when started from details page.
+  activate-default-console.patch.
+
+---
+Fri Jan 16 09:40:12 MST 2015 - carn...@suse.com
+
+- bnc#909348 - Can't create virtual NAT network - interface name
+  `net_wlp16s0_00_1f_3b_59_61_3d' must be shorter than IFNAMSIZ
+  65f7017e-createnet-fix.patch
+
+---
+Wed Dec 10 08:52:01 MST 2014 - carn...@suse.com
+
+- bnc#909225 - pygrub Unable to find partition containing kernel
+  Update virtinst-pvgrub2-bootloader.patch
+
+---
+Tue Dec  9 11:07:55 MST 2014 - carn...@suse.com
+
+- Reorder virt-manager patches according to type
+- Drop virtman-cdrom.patch
+
+---

Old:

  virtman-cdrom.patch

New:

  65f7017e-createnet-fix.patch
  activate-default-console.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.JsciZV/_old  2015-01-24 22:20:35.0 +0100
+++ /var/tmp/diff_new_pack.JsciZV/_new  2015-01-24 22:20:35.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -36,50 +36,54 @@
 Source0:%{name}-%{version}.tar.bz2
 Source1:virt-install.rb
 Source2:virt-install.desktop
+# SUSE Only
+Patch1: 65f7017e-createnet-fix.patch
 Patch70:virtman-desktop.patch
-Patch71:virtman-cdrom.patch
-Patch72:virtman-kvm.patch
-Patch73:virtman-keycombo.patch
-Patch74:virtman-eepro100.patch
-Patch75:virtman-supported-disk-formats.patch
-Patch80:virtman-default-guest-from-host-os.patch
-Patch81:virtman-default-to-xen-pv.patch
-Patch82:virtman-autoyast-support.patch
-Patch83:virtman-vminstall.patch
-Patch84:virtman-show-suse-install-repos.patch
-Patch85:virtman-packages.patch
-Patch86:virtman-load-stored-uris.patch
-Patch87:virtman-libvirtd-not-running.patch
-Patch88:virtman-stable-os-support.patch
-Patch89:virtman-add-s390x-arch-support.patch
-Patch90:virtman-prevent-double-click-starting-vm-twice.patch
-Patch91:virtman-default-lxc-uri.patch
-Patch92:virtman-add-connect-default.patch
-Patch93:virtman-dont-allow-grub.xen-to-be-deleted.patch
-Patch94:virtman-check-for-empty-network-name.patch
-Patch95:virtman-s390x-default-to-vminstall.patch
-Patch96:virtman-increase-setKeepAlive-count.patch
-Patch97:virtman-allow-destroy-from-shutdown-menu-of-crashed-vm.patch
-Patch98:virtman-sync-vm-startup-for-cpu-usage.patch
-Patch99:virtman-check-for-valid-display.patch
-Patch151:   virtinst-storage-ocfs2.patch
-Patch152:   virtinst-supported-disk-formats.patch
-Patch153:   virtinst-support-suse-distros.patch
-Patch154:   virtinst-detect-suse-distros.patch
-Patch155:   virtinst-xen-drive-type.patch
-Patch156:   virtinst-modify-gui-defaults.patch
-Patch157:   virtinst-pvgrub2-bootloader.patch
-Patch158:   virtinst-set-qemu-emulator.patch
-Patch159:   virtinst-vol-default-nocow.patch
-Patch160:   virtinst-detect-windows-media.patch
-Patch161:   virtinst-xenbus-disk-index-fix.patch
-Patch162:   virtinst-set-cache-mode-unsafe-for-install.patch
-Patch163:   virtinst-add-default-rng-device.patch
-Patch164:   virtinst-refresh_before_fetch_pool.patch
-Patch165:   virtinst-nfs-install-sanitize.patch
-Patch166:   virtinst-ppc64le.patch
-Patch167:   virtinst-ignore-error-403-on-directories.patch
-Patch168:   virt-manager-Gtk-30.patch
+Patch71:virtman-kvm.patch
+Patch72:virtman-keycombo.patch
+Patch73:

commit virt-manager for openSUSE:Factory

2014-12-17 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2014-12-17 19:15:49

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2014-11-11 09:59:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2014-12-17 19:15:01.0 +0100
@@ -1,0 +2,17 @@
+Tue Dec  2 12:11:29 MST 2014 - carn...@suse.com
+
+- bnc#907958 - virt-manager --debug with no screen SIGABRT 
+  virtman-check-for-valid-display.patch
+
+---
+Mon Dec  1 08:02:37 MST 2014 - carn...@suse.com
+
+- bnc#907324 - libvirt: unsupported configuration: native I/O needs
+  either no disk cache or directsync cache mode, QEMU will fallback
+  to aio=threads
+  virtinst-set-cache-mode-unsafe-for-install.patch updated
+- bnc#907319 - virt-manager: Unable to complete install: 'local
+  variable 'distro_distro' referenced before assignment 
+  virtinst-detect-suse-distros.patch updated
+
+---
@@ -87,0 +105,6 @@
+
+---
+Fri Oct 10 15:33:32 UTC 2014 - cbosdon...@suse.com
+
+- bnc#900320 - virt-install properly finds the lxc emulator when
+  xen-tools is installed

New:

  virtman-check-for-valid-display.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.SJTD4M/_old  2014-12-17 19:15:02.0 +0100
+++ /var/tmp/diff_new_pack.SJTD4M/_new  2014-12-17 19:15:02.0 +0100
@@ -61,6 +61,7 @@
 Patch96:virtman-increase-setKeepAlive-count.patch
 Patch97:virtman-allow-destroy-from-shutdown-menu-of-crashed-vm.patch
 Patch98:virtman-sync-vm-startup-for-cpu-usage.patch
+Patch99:virtman-check-for-valid-display.patch
 Patch151:   virtinst-storage-ocfs2.patch
 Patch152:   virtinst-supported-disk-formats.patch
 Patch153:   virtinst-support-suse-distros.patch
@@ -182,6 +183,7 @@
 %patch96 -p1
 %patch97 -p1
 %patch98 -p1
+%patch99 -p1
 %patch151 -p1
 %patch152 -p1
 %patch153 -p1

++ virtinst-add-default-rng-device.patch ++
--- /var/tmp/diff_new_pack.SJTD4M/_old  2014-12-17 19:15:03.0 +0100
+++ /var/tmp/diff_new_pack.SJTD4M/_new  2014-12-17 19:15:03.0 +0100
@@ -4,7 +4,7 @@
 ===
 --- virt-manager-1.1.0.orig/virtinst/guest.py
 +++ virt-manager-1.1.0/virtinst/guest.py
-@@ -637,6 +637,15 @@ class Guest(XMLBuilder):
+@@ -639,6 +639,15 @@ class Guest(XMLBuilder):
  return
  self.add_device(virtinst.VirtualGraphics(self.conn))
  
@@ -20,7 +20,7 @@
  def add_default_devices(self):
  self.add_default_graphics()
  self.add_default_video_device()
-@@ -644,6 +653,7 @@ class Guest(XMLBuilder):
+@@ -646,6 +655,7 @@ class Guest(XMLBuilder):
  self.add_default_console_device()
  self.add_default_usb_controller()
  self.add_default_channels()

++ virtinst-detect-suse-distros.patch ++
--- /var/tmp/diff_new_pack.SJTD4M/_old  2014-12-17 19:15:03.0 +0100
+++ /var/tmp/diff_new_pack.SJTD4M/_new  2014-12-17 19:15:03.0 +0100
@@ -2,7 +2,7 @@
 ===
 --- virt-manager-1.1.0.orig/virtinst/urlfetcher.py
 +++ virt-manager-1.1.0/virtinst/urlfetcher.py
-@@ -321,6 +321,88 @@ def _distroFromTreeinfo(fetcher, arch, v
+@@ -321,6 +321,89 @@ def _distroFromTreeinfo(fetcher, arch, v
  
  return ob
  
@@ -15,6 +15,7 @@
 +distribution = None
 +distro_version = None
 +distro_summary = None
++distro_distro = None
 +distro_arch = None
 +filename = fetcher.acquireFile(content)
 +cbuf = f = None
@@ -91,7 +92,7 @@
  
  def getDistroStore(guest, fetcher):
  stores = []
-@@ -337,6 +419,10 @@ def getDistroStore(guest, fetcher):
+@@ -337,6 +420,10 @@ def getDistroStore(guest, fetcher):
  if dist:
  return dist
  
@@ -102,7 +103,7 @@
  stores = _allstores[:]
  
  # If user manually specified an os_distro, bump it's URL class
-@@ -819,29 +905,59 @@ class SLDistro(RHELDistro):
+@@ -819,29 +906,59 @@ class SLDistro(RHELDistro):
  
  class SuseDistro(Distro):
  name = SUSE
@@ -171,7 +172,7 @@
  return True
  
  def _get_method_arg(self):
-@@ -861,6 +977,27 @@ class SuseDistro(Distro):
+@@ -861,6 +978,27 @@ class SuseDistro(Distro):
  return osobj.name
  return self.os_variant
  

++ virtinst-detect-windows-media.patch 

commit virt-manager for openSUSE:Factory

2014-11-11 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2014-11-11 09:59:41

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2014-11-06 16:51:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2014-11-11 09:59:59.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 08 17:54:00 UTC 2014 - Led led...@gmail.com
+
+- fix bashisms in post scripts
+
+---



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.UIZOux/_old  2014-11-11 10:00:01.0 +0100
+++ /var/tmp/diff_new_pack.UIZOux/_new  2014-11-11 10:00:01.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define with_guestfs   0
 %define askpass_packageopenssh-askpass
 %define qemu_user  qemu
@@ -249,20 +250,20 @@
 %find_lang %{name}
 
 %post
-/bin/touch --no-create %{_datadir}/icons/hicolor /dev/null || :
-/usr/bin/update-desktop-database  /dev/null || :
+/bin/touch --no-create %{_datadir}/icons/hicolor /dev/null 21 || :
+/usr/bin/update-desktop-database  /dev/null 21 || :
 
 %postun
 if [ $1 -eq 0 ] ; then
-/bin/touch --no-create %{_datadir}/icons/hicolor /dev/null
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor /dev/null || :
-/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas  /dev/null || 
:
+/bin/touch --no-create %{_datadir}/icons/hicolor /dev/null 21
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor /dev/null 21 
|| :
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas  /dev/null 
21 || :
 fi
-/usr/bin/update-desktop-database  /dev/null || :
+/usr/bin/update-desktop-database  /dev/null 21 || :
 
 %posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor /dev/null || :
-/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas  /dev/null || :
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor /dev/null 21 || :
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas  /dev/null 21 || 
:
 
 %files
 %defattr(-,root,root,-)

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



commit virt-manager for openSUSE:Factory

2014-11-06 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2014-11-06 16:50:34

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2014-10-25 08:33:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2014-11-06 16:51:41.0 +0100
@@ -1,0 +2,74 @@
+Mon Oct 22 13:33:25 MDT 2014 - carn...@suse.com
+
+- Update to virt-manager 1.1.0
+  virt-manager-1.1.0.tar.bz2
+  * Switch to libosinfo as OS metadata database (Giuseppe Scrivano)
+  * Use libosinfo for OS detection from CDROM media labels (Giuseppe Scrivano)
+  * Use libosinfo for improved OS defaults, like recommended disk size 
(Giuseppe Scrivano)
+  * virt-image tool has been removed, as previously announced
+  * Enable Hyper-V enlightenments for Windows VMs
+  * Revert virtio-console default, back to plain serial console
+  * Experimental q35 option in new VM ‘customize’ dialog
+  * UI for virtual network QoS settings (Giuseppe Scrivano)
+  * virt-install: –disk discard= support (Jim Minter)
+  * addhardware: Add spiceport UI (Marc-André Lureau)
+  * virt-install: –events on_poweroff etc. support (Chen Hanxiao)
+  * cli –network portgroup= support and UI support
+  * cli –boot initargs= and UI support
+  * addhardware: allow setting controller model (Chen Hanxiao)
+  * virt-install: support setting hugepage options (Chen Hanxiao)
+- Drop upstream patches and old tarball
+  virt-manager-1.0.1.tar.bz2
+  5332ee4d-enable-media-detection-for-ISO-images.patch
+  53341e7e-hide-hardware-removal-for-non-devices.patch
+  53342f31-set-right-ip-address-for-ipv6.patch
+  53375bad-raise-value-error-when-no-ipaddr-set.patch
+  53388de2-show-port-number-for-active-autoport-VM.patch
+  53397ae0-check-ip-address-format.patch
+  53399b45-hook-into-domain-balloon-event.patch
+  533d708d-fix-showing-vcpus-values.patch
+  533d7602-fix-changing-graphics-type.patch
+  533d7be7-clarify-iscsi-IQN-fields.patch
+  5345682c-addstorage-remove-whitespace-for-storage-path.patch
+  534bcfa0-use-uniformed-expression-of-Default.patch
+  534be092-early-detect-ftp-connection-errors.patch
+  534d45db-hiding-removebutton-for-USB-controller.patch
+  534d6406-display-the-domain-for-PCI-devices.patch
+  534eafe4-avoid-useless-errors-when-connection-closes.patch
+  5350d9cc-display-error-on-empty-installation-URL.patch
+  535584ed-fix-target-validation-when-editing-device.patch
+  535fb6f6-hide-scrollbar-until-something-scrollable.patch
+  535fe0c2-fix-screenshot-with-qxl-spice.patch
+  535feaca-fix-storage-when-directory-name-contains-whitespace.patch
+  535ff0b7-fix-install-when-one-package-is-already-installed.patch
+  536152fe-fix-error-detecting-OS-in-show-all-list.patch
+  536154d8-show-error-if-launching-delete-dialog-fails.patch
+  53615662-call-path_exists-before-getting-storage-volume.patch
+  536677aa-better-handling-of-keyboard-input-type.patch
+  5385d602-lxc-no-default-disk.patch
+  53869170-virt-install-add-events-support.patch
+  538a11dc-raise-error-if-populating-summary-page-fails.patch
+  538a3609-virtconv-fix-use-of-relative-OVF-file.patch
+  538a3ba9-diskbackend-start-pool-if-not-running.patch
+  538a6862-vnc-dont-force-keyboard-grab-before-widget-is-realized.patch
+  538ca3f3-use-correct-dictionary-keys-for-old-pool-net-polling.patch
+  538d00a4-xen-keyboard-cant-be-removed.patch
+  538e2f74-fix-pool-create-call.patch
+  538edb3b-manpage-fix-incorrect-description.patch
+  5397b647-createnet-enable-specifying-29-subnet.patch
+  539e8cca-createpool-fix-creation-of-gluster-pools.patch
+  53a05e73-fix-edit-maxvcpus.patch
+  53a995cb-fix-usb-storage-removable-syntax.patch
+  53ac1f8d-createnet-validate-last-page-before-creating-network.patch
+  53ac1f8d-fix-show_err-typo.patch
+  53ad17e6-createnet-fix-a-small-pylint.patch
+  53b39a13-dont-create-disk-images-world-readable-executable.patch
+  53b409bc-add-keep-alive-method-and-connection-check.patch
+  53b409bd-console-prevent-access-to-deleted-objects.patch
+  53b728c6-connection-handle-unsupported-KeepAlive.patch
+  53b728c6-report-error-during-connection-bring-up.patch
+  53bb1995-network-refresh-XML-definition-on-state-update.patch
+  53ce11d1-honor-untoggled-set-fixed-MAC-address.patch
+- Dropped xend based virtman-autorestart.patch
+
+---

Old:

  5332ee4d-enable-media-detection-for-ISO-images.patch
  53341e7e-hide-hardware-removal-for-non-devices.patch
  53342f31-set-right-ip-address-for-ipv6.patch
  53375bad-raise-value-error-when-no-ipaddr-set.patch
  53388de2-show-port-number-for-active-autoport-VM.patch
  

commit virt-manager for openSUSE:Factory

2014-10-25 Thread h_root
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2014-10-25 08:33:07

Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and  /work/SRC/openSUSE:Factory/.virt-manager.new (New)


Package is virt-manager

Changes:

--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes
2014-10-11 19:27:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2014-10-25 08:33:24.0 +0200
@@ -1,0 +2,9 @@
+Mon Oct 20 06:40:47 UTC 2014 - dims...@opensuse.org
+
+- Add virt-manager-Gtk-30.patch: Specify in the code that we expect
+  Gtk 3.0 typelibs. The sumbold typelib(Gtk), as auto-detected by
+  go-find-deps, is provided by Gtk2 and Gtk3. As we also pull in
+  Vte, though, we are certain that we DO require the Gtk 3.0
+  variant (boo#901869).
+
+---

New:

  virt-manager-Gtk-30.patch



Other differences:
--
++ virt-manager.spec ++
--- /var/tmp/diff_new_pack.b9w5Ql/_old  2014-10-25 08:33:25.0 +0200
+++ /var/tmp/diff_new_pack.b9w5Ql/_new  2014-10-25 08:33:25.0 +0200
@@ -129,6 +129,7 @@
 Patch165:   virtinst-nfs-install-sanitize.patch
 Patch166:   virtinst-ppc64le.patch
 Patch167:   virtinst-ignore-error-403-on-directories.patch
+Patch168:   virt-manager-Gtk-30.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -300,6 +301,7 @@
 %patch165 -p1
 %patch166 -p1
 %patch167 -p1
+%patch168 -p1
 
 %build
 %if %{qemu_user}

++ virt-manager-Gtk-30.patch ++
Index: virt-manager-1.0.1/virtManager/config.py
===
--- virt-manager-1.0.1.orig/virtManager/config.py
+++ virt-manager-1.0.1/virtManager/config.py
@@ -21,8 +21,10 @@ import os
 import logging
 
 # pylint: disable=E0611
+import gi
 from gi.repository import Gio
 from gi.repository import GLib
+gi.require_version('Gtk', '3.0')
 from gi.repository import Gtk
 # pylint: enable=E0611
 
Index: virt-manager-1.0.1/virtManager/console.py
===
--- virt-manager-1.0.1.orig/virtManager/console.py
+++ virt-manager-1.0.1/virtManager/console.py
@@ -21,10 +21,13 @@
 #
 
 # pylint: disable=E0611
+import gi
 from gi.repository import GObject
 from gi.repository import Gtk
 from gi.repository import Gdk
+gi.require_version('GtkVnc', '2.0')
 from gi.repository import GtkVnc
+gi.require_version('SpiceClientGtk', '3.0')
 from gi.repository import SpiceClientGtk
 from gi.repository import SpiceClientGLib
 # pylint: enable=E0611
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



  1   2   >