39 lines
1.6 KiB
Diff
39 lines
1.6 KiB
Diff
|
diff -ru virt-manager-1.0.1/virtManager/engine.py virt-manager-1.0.1.orig/virtManager/engine.py
|
||
|
--- virt-manager-1.0.1/virtManager/engine.py 2014-02-28 18:01:44.000000000 +0000
|
||
|
+++ virt-manager-1.0.1.orig/virtManager/engine.py 2014-05-20 12:30:00.637326092 +0000
|
||
|
@@ -180,33 +180,7 @@
|
||
|
self.timeout_add(1000, self._add_default_conn, manager)
|
||
|
|
||
|
def _add_default_conn(self, manager):
|
||
|
- # Manager fail message
|
||
|
- msg = _("Could not detect a default hypervisor. Make\n"
|
||
|
- "sure the appropriate virtualization packages\n"
|
||
|
- "are installed (kvm, qemu, libvirt, etc.), and\n"
|
||
|
- "that libvirtd is running.\n\n"
|
||
|
- "A hypervisor connection can be manually\n"
|
||
|
- "added via File->Add Connection")
|
||
|
-
|
||
|
- logging.debug("Determining default libvirt URI")
|
||
|
-
|
||
|
- ret = None
|
||
|
- try:
|
||
|
- libvirt_packages = self.config.libvirt_packages
|
||
|
- packages = self.config.hv_packages + libvirt_packages
|
||
|
-
|
||
|
- ret = packageutils.check_packagekit(manager, manager.err, packages)
|
||
|
- except:
|
||
|
- logging.exception("Error talking to PackageKit")
|
||
|
-
|
||
|
- if ret:
|
||
|
- tryuri = "qemu:///system"
|
||
|
- else:
|
||
|
- tryuri = vmmConnect.default_uri(always_system=True)
|
||
|
-
|
||
|
- if tryuri is None:
|
||
|
- manager.set_startup_error(msg)
|
||
|
- return
|
||
|
+ tryuri = "qemu:///system"
|
||
|
|
||
|
warnmsg = _("The 'libvirtd' service will need to be started.\n\n"
|
||
|
"After that, virt-manager will connect to libvirt on\n"
|