Changes between Version 5 and Version 6 of TipAndDoc/VM/virt-manager


Ignore:
Timestamp:
Jul 5, 2012 1:29:32 PM (12 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/VM/virt-manager

    v5 v6  
    6969 1. 5/5 summary[[br]][[Image(virt-manager-14-5of5.png,33%)]] 
    7070  * Advanced options(Network device, MAC address, etc)[[br]][[Image(virt-manager-15-advanced.png,33%)]] 
     71 
     72 = use version 0.9.1 on Debian 6.0 = 
     73 * wheezyリポジトリを使えるようにする => [../../Linux/Debian#usewheezypackages] 
     74 
     75 * mitty@squeeze:~$ virt-manager 
     76{{{ 
     77/usr/share/virt-manager/virt-manager.py:306: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated. 
     78Instead, use this sequence: 
     79 
     80    from dbus.mainloop.glib import DBusGMainLoop 
     81 
     82    DBusGMainLoop(set_as_default=True) 
     83 
     84  import dbus.glib 
     85}}} 
     86  * => [http://git.fedorahosted.org/git/?p=virt-manager.git;a=commitdiff;h=cda1dd81f95ab335389eadfbdfe33e49785d6bb2;hp=51360f885433271dded02ca63147553d57d5090d Fedora Hosted Git Repositories - virt-manager.git/commitdiff] 
     87{{{#!diff 
     88index 464cf02..18f407e 100755 (executable) 
     89--- a/src/virt-manager.py.in 
     90+++ b/src/virt-manager.py.in 
     91@@ -302,8 +302,9 @@ def main(): 
     92     gobject.threads_init() 
     93  
     94     import dbus 
     95-    import dbus.glib 
     96-    dbus.glib.threads_init() 
     97+    import dbus.mainloop.glib 
     98+    dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) 
     99+    dbus.mainloop.glib.threads_init() 
     100     import dbus.service 
     101  
     102     # Specifically init config/gconf before the fork, so that pam 
     103}}}