virt-manager/virtman-vminstall.diff
Charles Arnold 63ab429ae8 - Update to virt-manager version 0.8.2
* Right click in the manager window operates on the clicked row, 
    NOT the last selected row. This could cause an admin to 
    accidentally shut down the wrong machine.
  * Running virt-manager on a new machine / user account no longer 
    produces a traceback.
  * Allow ejecting and connecting floppy media

- First time running virt-manager throws exception in engine.py
  add_connection().
  virtman-autoconnect.diff

- Update to virt-manager version 0.8.1 
  * VM Migration wizard, exposing various migration options
  * Enumerate CDROM and bridge devices on remote connections
  * Can once again list multiple graphs in main manager window (Jon Nordby)
  * Support disabling dhcp (Michal Novotny), and specifying 'routed' type for new virtual networks
  * Support storage pool source enumeration for LVM, NFS, and SCSI
  * Allow changing VM ACPI, APIC, clock offset, individual vcpu pinning, and video model (vga, cirrus, etc.)
  * Many improvements and bugfixes

- bnc#552785 - virt-manager cannot connect to xend when started
  from an ordinary user's X session
  virtman-desktop.diff 

- bnc#553633 - Update breaks menu access keys in virt-viewer and
  still misses some key sequences.
  This is a SLE10 bug fixed for the virt-manager viewer in all 
  versions.
  virtman-keycombo.diff
- Use "graphics listen" for vnc connection (bnc#436629)


- Remove unsupported SCSI disk option (bnc#464293)
- Change cdrom start node to hdc instead of hdb (bnc#376935)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=12
2010-01-08 23:19:17 +00:00

43 lines
1.9 KiB
Diff

Index: virt-manager-0.8.2/src/virtManager/engine.py
===================================================================
--- virt-manager-0.8.2.orig/src/virtManager/engine.py
+++ virt-manager-0.8.2/src/virtManager/engine.py
@@ -38,7 +38,8 @@ from virtManager.manager import vmmManag
from virtManager.migrate import vmmMigrateDialog
from virtManager.details import vmmDetails
from virtManager.asyncjob import vmmAsyncJob
-from virtManager.create import vmmCreate
+#from virtManager.create import vmmCreate
+from vminstall.gtk.interface import VMCreate as vmmCreate
from virtManager.host import vmmHost
from virtManager.error import vmmErrorDialog
from virtManager.systray import vmmSystray
@@ -435,13 +436,24 @@ class vmmEngine(gobject.GObject):
return False
return True
+ def _vmmcreate_closing(self,signal,key):
+ self.windowCreate = None
+
def show_create(self, uri):
if self.windowCreate == None:
- create = vmmCreate(self.get_config(), self)
+ create = vmmCreate(virtman=True,key=0)
create.connect("action-show-console", self._do_show_console)
- create.connect("action-show-help", self._do_show_help)
+ create.connect("vmmcreate-closing", self._vmmcreate_closing)
self.windowCreate = create
- self.windowCreate.show(uri)
+ self.windowCreate.show()
+ else:
+ message_box = gtk.MessageDialog(None,
+ gtk.DIALOG_MODAL,
+ gtk.MESSAGE_WARNING,
+ gtk.BUTTONS_OK,
+ _("A new installation is already in progress.\n\nUse the YaST \"Create Virtual Machines\" utility for concurrent installations."))
+ message_box.run()
+ message_box.destroy()
def add_connection(self, uri, readOnly=None, autoconnect=False):
conn = vmmConnection(self.get_config(), uri, readOnly, self)