From 6f98a7f2bd17feb2a809b7b9664e750e4bba6864 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Mon, 4 Apr 2011 19:49:34 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=20virt-manager=200.8.7=20=20=20?= =?UTF-8?q?*=20Allow=20renaming=20an=20offline=20VM=20=20=20*=20Spice=20pa?= =?UTF-8?q?ssword=20support=20(Marc-Andr=C3=A9=20Lureau)=20=20=20*=20Allow?= =?UTF-8?q?=20editting=20NIC=20=20settings=20(Gerhard=20Stenz?= =?UTF-8?q?el)=20=20=20*=20Allow=20enabling/disabling=20individual=20CPU?= =?UTF-8?q?=20features=20=20=20*=20Allow=20easily=20changing=20graphics=20?= =?UTF-8?q?type=20between=20VNC=20and=20SPICE=20for=20existing=20VM=20=20?= =?UTF-8?q?=20*=20Allow=20easily=20changing=20network=20source=20device=20?= =?UTF-8?q?for=20existing=20VM=20-=20Update=20to=20virtinst=200.500.6=20?= =?UTF-8?q?=20=20*=20virt-install:=20--graphics=20spice=20now=20enables=20?= =?UTF-8?q?spicevmc=20and=20qxl=20=20=20*=20virt-install:=20New=20--disk?= =?UTF-8?q?=20parameter=20io=3Dnative|threads?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=51 --- virt-manager-0.8.6.tar.bz2 | 3 --- virt-manager-0.8.7.tar.bz2 | 3 +++ virt-manager.changes | 14 ++++++++++++++ virt-manager.spec | 8 +++----- virtinst-0.500.5.tar.bz2 | 3 --- virtinst-0.500.6.tar.bz2 | 3 +++ virtinst-cdrom.diff | 8 ++++---- virtinst-storage-ocfs2.diff | 6 +++--- virtman-autoconnect.diff | 8 ++++---- virtman-autorestart.diff | 12 ++++++------ virtman-cdrom.diff | 6 +++--- virtman-connect-consoles-fix.diff | 19 ------------------- virtman-desktop.diff | 20 ++++++++++---------- virtman-device-flags.diff | 24 ++++++++++++------------ virtman-keycombo.diff | 22 +++++++++++----------- virtman-kvm.diff | 6 +++--- virtman-vminstall.diff | 16 ++++++++-------- 17 files changed, 87 insertions(+), 94 deletions(-) delete mode 100644 virt-manager-0.8.6.tar.bz2 create mode 100644 virt-manager-0.8.7.tar.bz2 delete mode 100644 virtinst-0.500.5.tar.bz2 create mode 100644 virtinst-0.500.6.tar.bz2 delete mode 100644 virtman-connect-consoles-fix.diff diff --git a/virt-manager-0.8.6.tar.bz2 b/virt-manager-0.8.6.tar.bz2 deleted file mode 100644 index 1adcba7b..00000000 --- a/virt-manager-0.8.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c63f8e2d456342873db9d52e0619951d659a53659ba9ff2531fdc5a21d1c73a7 -size 1154056 diff --git a/virt-manager-0.8.7.tar.bz2 b/virt-manager-0.8.7.tar.bz2 new file mode 100644 index 00000000..cb68d784 --- /dev/null +++ b/virt-manager-0.8.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be12754b9cd13b36854082224c38cc77c536a69f5d6f13aa4ddda4b93dd93663 +size 1096524 diff --git a/virt-manager.changes b/virt-manager.changes index e0c13aff..aa4a7fae 100644 --- a/virt-manager.changes +++ b/virt-manager.changes @@ -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 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 diff --git a/virt-manager.spec b/virt-manager.spec index c35273df..48991113 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -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 diff --git a/virtinst-0.500.5.tar.bz2 b/virtinst-0.500.5.tar.bz2 deleted file mode 100644 index 2a9b3979..00000000 --- a/virtinst-0.500.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5909f2bc6618ea0ae09e75292f4b39915d8ab5c2536c73cedddb8b0031d6b8ef -size 401562 diff --git a/virtinst-0.500.6.tar.bz2 b/virtinst-0.500.6.tar.bz2 new file mode 100644 index 00000000..7f06ab8b --- /dev/null +++ b/virtinst-0.500.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbb65ff97292042990dd233f7bcac212e602d889085e09debd253d1c53c502f4 +size 345939 diff --git a/virtinst-cdrom.diff b/virtinst-cdrom.diff index 9d1d2d4a..5d65717a 100644 --- a/virtinst-cdrom.diff +++ b/virtinst-cdrom.diff @@ -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 diff --git a/virtinst-storage-ocfs2.diff b/virtinst-storage-ocfs2.diff index cc8c51aa..a9e84e2e 100644 --- a/virtinst-storage-ocfs2.diff +++ b/virtinst-storage-ocfs2.diff @@ -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) diff --git a/virtman-autoconnect.diff b/virtman-autoconnect.diff index 5a7e257f..a0503d7e 100644 --- a/virtman-autoconnect.diff +++ b/virtman-autoconnect.diff @@ -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: diff --git a/virtman-autorestart.diff b/virtman-autorestart.diff index 842bf261..a51a5df5 100644 --- a/virtman-autorestart.diff +++ b/virtman-autorestart.diff @@ -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) diff --git a/virtman-cdrom.diff b/virtman-cdrom.diff index 7f80c019..7043f369 100644 --- a/virtman-cdrom.diff +++ b/virtman-cdrom.diff @@ -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") diff --git a/virtman-connect-consoles-fix.diff b/virtman-connect-consoles-fix.diff deleted file mode 100644 index e52fb4e4..00000000 --- a/virtman-connect-consoles-fix.diff +++ /dev/null @@ -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] diff --git a/virtman-desktop.diff b/virtman-desktop.diff index 42944d50..a93dea98 100644 --- a/virtman-desktop.diff +++ b/virtman-desktop.diff @@ -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 diff --git a/virtman-device-flags.diff b/virtman-device-flags.diff index b1bf097f..b7be0f73 100644 --- a/virtman-device-flags.diff +++ b/virtman-device-flags.diff @@ -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) diff --git a/virtman-keycombo.diff b/virtman-keycombo.diff index 07727ced..1bdd7c32 100644 --- a/virtman-keycombo.diff +++ b/virtman-keycombo.diff @@ -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 @@ @@ -105,11 +105,11 @@ Index: virt-manager-0.8.6/src/vmm-details.glade True -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"] diff --git a/virtman-kvm.diff b/virtman-kvm.diff index 39fcb7f1..d4a896ae 100644 --- a/virtman-kvm.diff +++ b/virtman-kvm.diff @@ -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 diff --git a/virtman-vminstall.diff b/virtman-vminstall.diff index e1861dd7..61e8aa79 100644 --- a/virtman-vminstall.diff +++ b/virtman-vminstall.diff @@ -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):