- Update to virt-manager 0.8.7

* Allow renaming an offline VM
  * Spice password support (Marc-André Lureau)
  * Allow editting NIC <virtualport> settings (Gerhard Stenzel)
  * Allow enabling/disabling individual CPU features
  * Allow easily changing graphics type between VNC and SPICE for existing VM
  * Allow easily changing network source device for existing VM
- Update to virtinst 0.500.6
  * virt-install: --graphics spice now enables spicevmc and qxl
  * virt-install: New --disk parameter io=native|threads

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=51
This commit is contained in:
Charles Arnold 2011-04-04 19:49:34 +00:00 committed by Git OBS Bridge
parent 4d2645f6ea
commit 6f98a7f2bd
17 changed files with 87 additions and 94 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c63f8e2d456342873db9d52e0619951d659a53659ba9ff2531fdc5a21d1c73a7
size 1154056

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be12754b9cd13b36854082224c38cc77c536a69f5d6f13aa4ddda4b93dd93663
size 1096524

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Apr 4 13:46:59 MDT 2011 - carnold@novell.com
- Update to virt-manager 0.8.7
* Allow renaming an offline VM
* Spice password support (Marc-André Lureau)
* Allow editting NIC <virtualport> settings (Gerhard Stenzel)
* Allow enabling/disabling individual CPU features
* Allow easily changing graphics type between VNC and SPICE for existing VM
* Allow easily changing network source device for existing VM
- Update to virtinst 0.500.6
* virt-install: --graphics spice now enables spicevmc and qxl
* virt-install: New --disk parameter io=native|threads
-------------------------------------------------------------------
Wed Mar 23 08:31:23 MDT 2011 - carnold@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package virt-manager
# spec file for package virt-manager (Version 0.8.7)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -22,14 +22,14 @@
%define gconftool /usr/bin/gconftool-2
%define virtinst_maj 0
%define virtinst_min 500
%define virtinst_rel 5
%define virtinst_rel 6
%define virtinst_name virtinst-%{virtinst_maj}.%{virtinst_min}.%{virtinst_rel}
%define pysite %(python -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib()")
Name: virt-manager
Summary: Virtual Machine Manager
Version: 0.8.6
Version: 0.8.7
Release: 1
Group: System/Monitoring
License: LGPLv2.1+
@ -45,7 +45,6 @@ Patch53: virtman-kvm.diff
Patch54: virtman-help.diff
Patch55: virtman-keycombo.diff
Patch56: virtman-autoconnect.diff
Patch57: virtman-connect-consoles-fix.diff
Patch60: virtman-device-flags.diff
Patch61: virtman-autorestart.diff
Patch62: virtman-storage-pool.diff
@ -139,7 +138,6 @@ Authors:
#%patch54 -p1
%patch55 -p1
%patch56 -p1
%patch57 -p1
%patch60 -p1
%patch61 -p1
#%patch62 -p1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5909f2bc6618ea0ae09e75292f4b39915d8ab5c2536c73cedddb8b0031d6b8ef
size 401562

3
virtinst-0.500.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fbb65ff97292042990dd233f7bcac212e602d889085e09debd253d1c53c502f4
size 345939

View File

@ -1,8 +1,8 @@
Index: virtinst-0.500.5/virtinst/VirtualDisk.py
Index: virtinst-0.500.6/virtinst/VirtualDisk.py
===================================================================
--- virtinst-0.500.5.orig/virtinst/VirtualDisk.py
+++ virtinst-0.500.5/virtinst/VirtualDisk.py
@@ -1598,14 +1598,18 @@ class VirtualDisk(VirtualDevice):
--- virtinst-0.500.6.orig/virtinst/VirtualDisk.py
+++ virtinst-0.500.6/virtinst/VirtualDisk.py
@@ -1625,14 +1625,18 @@ class VirtualDisk(VirtualDevice):
self.target = "hdc"
return self.target

View File

@ -1,7 +1,7 @@
Index: virtinst-0.500.5/virtinst/Storage.py
Index: virtinst-0.500.6/virtinst/Storage.py
===================================================================
--- virtinst-0.500.5.orig/virtinst/Storage.py
+++ virtinst-0.500.5/virtinst/Storage.py
--- virtinst-0.500.6.orig/virtinst/Storage.py
+++ virtinst-0.500.6/virtinst/Storage.py
@@ -523,7 +523,7 @@ class FilesystemPool(StoragePool):
get_volume_class = staticmethod(get_volume_class)

View File

@ -1,8 +1,8 @@
Index: virt-manager-0.8.6/src/virtManager/engine.py
Index: virt-manager-0.8.7/src/virtManager/engine.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/engine.py
+++ virt-manager-0.8.6/src/virtManager/engine.py
@@ -495,7 +495,7 @@ class vmmEngine(vmmGObject):
--- virt-manager-0.8.7.orig/src/virtManager/engine.py
+++ virt-manager-0.8.7/src/virtManager/engine.py
@@ -498,7 +498,7 @@ class vmmEngine(vmmGObject):
self.config.add_connection(conn.get_uri())
if autoconnect:

View File

@ -1,8 +1,8 @@
Index: virt-manager-0.8.6/src/virtManager/details.py
Index: virt-manager-0.8.7/src/virtManager/details.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/details.py
+++ virt-manager-0.8.6/src/virtManager/details.py
@@ -1659,8 +1659,9 @@ class vmmDetails(vmmGObjectUI):
--- virt-manager-0.8.7.orig/src/virtManager/details.py
+++ virt-manager-0.8.7/src/virtManager/details.py
@@ -1774,8 +1774,9 @@ class vmmDetails(vmmGObjectUI):
self.vm.hotplug_both_mem,
(curmem, maxmem))
@ -14,7 +14,7 @@ Index: virt-manager-0.8.6/src/virtManager/details.py
auto = self.window.get_widget("config-autostart")
if auto.get_property("sensitive"):
@@ -1671,6 +1672,8 @@ class vmmDetails(vmmGObjectUI):
@@ -1786,6 +1787,8 @@ class vmmDetails(vmmGObjectUI):
str(e)), "".join(traceback.format_exc()))
return False
@ -23,7 +23,7 @@ Index: virt-manager-0.8.6/src/virtManager/details.py
bootdevs = self.get_config_boot_devs()
bootmenu = self.window.get_widget("boot-menu").get_active()
@@ -1882,6 +1885,8 @@ class vmmDetails(vmmGObjectUI):
@@ -2019,6 +2022,8 @@ class vmmDetails(vmmGObjectUI):
buttons=gtk.BUTTONS_OK,
dialog_type=dtype)

View File

@ -1,7 +1,7 @@
Index: virt-manager-0.8.6/src/virtManager/addhardware.py
Index: virt-manager-0.8.7/src/virtManager/addhardware.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/addhardware.py
+++ virt-manager-0.8.6/src/virtManager/addhardware.py
--- virt-manager-0.8.7.orig/src/virtManager/addhardware.py
+++ virt-manager-0.8.7/src/virtManager/addhardware.py
@@ -480,6 +480,7 @@ class vmmAddHardware(vmmGObjectUI):
if self.vm.get_hv_type() == "kvm":
add_dev("virtio", virtinst.VirtualDisk.DEVICE_DISK, "Virtio Disk")

View File

@ -1,19 +0,0 @@
Subject: manager: Don't always launch consoles for running domains, dumb regression
From: Cole Robinson crobinso@redhat.com Fri Jan 21 14:43:19 2011 -0500
Date: Fri Jan 21 14:43:19 2011 -0500:
Git: ffb82a87f0587ef326becc80887ef8a806fbb0ec
Index: virt-manager-0.8.6/src/virtManager/manager.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/manager.py
+++ virt-manager-0.8.6/src/virtManager/manager.py
@@ -721,6 +721,7 @@ class vmmManager(vmmGObjectUI):
if (self.config.get_console_popup() != 2 or
vm.is_management_domain()):
self.emit("action-refresh-console", uri, vmuuid)
+ return
# user has requested consoles on all vms
gtype = vm.get_graphics_console()[0]

View File

@ -1,7 +1,7 @@
Index: virt-manager-0.8.6/src/Makefile.am
Index: virt-manager-0.8.7/src/Makefile.am
===================================================================
--- virt-manager-0.8.6.orig/src/Makefile.am
+++ virt-manager-0.8.6/src/Makefile.am
--- virt-manager-0.8.7.orig/src/Makefile.am
+++ virt-manager-0.8.7/src/Makefile.am
@@ -14,7 +14,7 @@ libexec_SCRIPTS = $(PACKAGE)-launch
gladedir = $(pkgdatadir)
glade_DATA = $(wildcard $(srcdir)/*.glade)
@ -11,11 +11,11 @@ Index: virt-manager-0.8.6/src/Makefile.am
desktop_DATA_IN = $(PACKAGE).desktop.in.in
desktop_DATA = $(PACKAGE).desktop
Index: virt-manager-0.8.6/src/Makefile.in
Index: virt-manager-0.8.7/src/Makefile.in
===================================================================
--- virt-manager-0.8.6.orig/src/Makefile.in
+++ virt-manager-0.8.6/src/Makefile.in
@@ -254,7 +254,7 @@ libexec_DATA_IN = $(PACKAGE)-launch.in
--- virt-manager-0.8.7.orig/src/Makefile.in
+++ virt-manager-0.8.7/src/Makefile.in
@@ -255,7 +255,7 @@ libexec_DATA_IN = $(PACKAGE)-launch.in
libexec_SCRIPTS = $(PACKAGE)-launch
gladedir = $(pkgdatadir)
glade_DATA = $(wildcard $(srcdir)/*.glade)
@ -24,10 +24,10 @@ Index: virt-manager-0.8.6/src/Makefile.in
desktop_DATA_IN = $(PACKAGE).desktop.in.in
desktop_DATA = $(PACKAGE).desktop
dbusdir = $(datadir)/dbus-1/services
Index: virt-manager-0.8.6/src/virt-manager.desktop.in.in
Index: virt-manager-0.8.7/src/virt-manager.desktop.in.in
===================================================================
--- virt-manager-0.8.6.orig/src/virt-manager.desktop.in.in
+++ virt-manager-0.8.6/src/virt-manager.desktop.in.in
--- virt-manager-0.8.7.orig/src/virt-manager.desktop.in.in
+++ virt-manager-0.8.7/src/virt-manager.desktop.in.in
@@ -1,9 +1,19 @@
[Desktop Entry]
_Name=Virtual Machine Manager

View File

@ -1,7 +1,7 @@
Index: virt-manager-0.8.6/src/virtManager/addhardware.py
Index: virt-manager-0.8.7/src/virtManager/addhardware.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/addhardware.py
+++ virt-manager-0.8.6/src/virtManager/addhardware.py
--- virt-manager-0.8.7.orig/src/virtManager/addhardware.py
+++ virt-manager-0.8.7/src/virtManager/addhardware.py
@@ -906,6 +906,18 @@ class vmmAddHardware(vmmGObjectUI):
self._dev.get_xml_config()
logging.debug("Adding device:\n" + self._dev.get_xml_config())
@ -21,11 +21,11 @@ Index: virt-manager-0.8.6/src/virtManager/addhardware.py
# Hotplug device
attach_err = False
try:
Index: virt-manager-0.8.6/src/virtManager/details.py
Index: virt-manager-0.8.7/src/virtManager/details.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/details.py
+++ virt-manager-0.8.6/src/virtManager/details.py
@@ -1770,6 +1770,17 @@ class vmmDetails(vmmGObjectUI):
--- virt-manager-0.8.7.orig/src/virtManager/details.py
+++ virt-manager-0.8.7/src/virtManager/details.py
@@ -1907,6 +1907,17 @@ class vmmDetails(vmmGObjectUI):
return
self.config.set_confirm_removedev(not skip_prompt)
@ -43,11 +43,11 @@ Index: virt-manager-0.8.6/src/virtManager/details.py
# Define the change
try:
self.vm.remove_device(dev_id_info)
Index: virt-manager-0.8.6/src/virtManager/domain.py
Index: virt-manager-0.8.7/src/virtManager/domain.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/domain.py
+++ virt-manager-0.8.6/src/virtManager/domain.py
@@ -1158,6 +1158,10 @@ class vmmDomain(vmmDomainBase):
--- virt-manager-0.8.7.orig/src/virtManager/domain.py
+++ virt-manager-0.8.7/src/virtManager/domain.py
@@ -1225,6 +1225,10 @@ class vmmDomain(vmmDomainBase):
devxml = devobj.get_xml_config()
self._backend.attachDevice(devxml)
@ -58,7 +58,7 @@ Index: virt-manager-0.8.6/src/virtManager/domain.py
def detach_device(self, devobj):
"""
Hotunplug device from running guest
@@ -1176,6 +1180,10 @@ class vmmDomain(vmmDomainBase):
@@ -1243,6 +1247,10 @@ class vmmDomain(vmmDomainBase):
xml = devobj.get_xml_config()
self._backend.updateDeviceFlags(xml, flags)

View File

@ -1,7 +1,7 @@
Index: virt-manager-0.8.6/src/vmm-details.glade
Index: virt-manager-0.8.7/src/vmm-details.glade
===================================================================
--- virt-manager-0.8.6.orig/src/vmm-details.glade
+++ virt-manager-0.8.6/src/vmm-details.glade
--- virt-manager-0.8.7.orig/src/vmm-details.glade
+++ virt-manager-0.8.7/src/vmm-details.glade
@@ -350,11 +350,93 @@
</widget>
</child>
@ -105,11 +105,11 @@ Index: virt-manager-0.8.6/src/vmm-details.glade
<property name="visible">True</property>
</widget>
</child>
Index: virt-manager-0.8.6/src/virtManager/details.py
Index: virt-manager-0.8.7/src/virtManager/details.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/details.py
+++ virt-manager-0.8.6/src/virtManager/details.py
@@ -404,6 +404,15 @@ class vmmDetails(vmmGObjectUI):
--- virt-manager-0.8.7.orig/src/virtManager/details.py
+++ virt-manager-0.8.7/src/virtManager/details.py
@@ -414,6 +414,15 @@ class vmmDetails(vmmGObjectUI):
"on_details_menu_send_cad_activate": self.console.send_key,
"on_details_menu_send_cab_activate": self.console.send_key,
@ -125,11 +125,11 @@ Index: virt-manager-0.8.6/src/virtManager/details.py
"on_details_menu_send_caf1_activate": self.console.send_key,
"on_details_menu_send_caf2_activate": self.console.send_key,
"on_details_menu_send_caf3_activate": self.console.send_key,
Index: virt-manager-0.8.6/src/virtManager/console.py
Index: virt-manager-0.8.7/src/virtManager/console.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/console.py
+++ virt-manager-0.8.6/src/virtManager/console.py
@@ -665,6 +665,24 @@ class vmmConsolePages(vmmGObjectUI):
--- virt-manager-0.8.7.orig/src/virtManager/console.py
+++ virt-manager-0.8.7/src/virtManager/console.py
@@ -684,6 +684,24 @@ class vmmConsolePages(vmmGObjectUI):
keys = ["Control_L", "Alt_L", "Delete"]
elif src.get_name() == "details-menu-send-cab":
keys = ["Control_L", "Alt_L", "BackSpace"]

View File

@ -1,7 +1,7 @@
Index: virt-manager-0.8.6/src/virtManager/engine.py
Index: virt-manager-0.8.7/src/virtManager/engine.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/engine.py
+++ virt-manager-0.8.6/src/virtManager/engine.py
--- virt-manager-0.8.7.orig/src/virtManager/engine.py
+++ virt-manager-0.8.7/src/virtManager/engine.py
@@ -54,6 +54,7 @@ def default_uri():
os.path.exists("/usr/bin/qemu") or
os.path.exists("/usr/bin/qemu-kvm") or

View File

@ -1,7 +1,7 @@
Index: virt-manager-0.8.6/src/virtManager/engine.py
Index: virt-manager-0.8.7/src/virtManager/engine.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/engine.py
+++ virt-manager-0.8.6/src/virtManager/engine.py
--- virt-manager-0.8.7.orig/src/virtManager/engine.py
+++ virt-manager-0.8.7/src/virtManager/engine.py
@@ -41,7 +41,6 @@ from virtManager.manager import vmmManag
from virtManager.migrate import vmmMigrateDialog
from virtManager.details import vmmDetails
@ -10,7 +10,7 @@ Index: virt-manager-0.8.6/src/virtManager/engine.py
from virtManager.host import vmmHost
from virtManager.error import vmmErrorDialog
from virtManager.systray import vmmSystray
@@ -702,12 +701,45 @@ class vmmEngine(vmmGObject):
@@ -705,12 +704,45 @@ class vmmEngine(vmmGObject):
self.windowCreate = obj
return self.windowCreate
@ -61,10 +61,10 @@ Index: virt-manager-0.8.6/src/virtManager/engine.py
def _do_show_migrate(self, src, uri, uuid):
try:
Index: virt-manager-0.8.6/src/virtManager/create.py
Index: virt-manager-0.8.7/src/virtManager/create.py
===================================================================
--- virt-manager-0.8.6.orig/src/virtManager/create.py
+++ virt-manager-0.8.6/src/virtManager/create.py
--- virt-manager-0.8.7.orig/src/virtManager/create.py
+++ virt-manager-0.8.7/src/virtManager/create.py
@@ -63,6 +63,8 @@ class vmmCreate(vmmGObjectUI):
gobject.TYPE_NONE, (str, str)),
"action-show-help": (gobject.SIGNAL_RUN_FIRST,
@ -74,7 +74,7 @@ Index: virt-manager-0.8.6/src/virtManager/create.py
}
def __init__(self, engine):
@@ -148,6 +150,7 @@ class vmmCreate(vmmGObjectUI):
@@ -151,6 +153,7 @@ class vmmCreate(vmmGObjectUI):
self.topwin.present()
def close(self, ignore1=None, ignore2=None):