38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
--- virt-manager-1.2.0/virtManager/engine.py.orig 2015-05-17 22:46:52.314535452 +0200
|
|
+++ virt-manager-1.2.0/virtManager/engine.py 2015-05-18 00:45:40.141387904 +0200
|
|
@@ -177,33 +177,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()
|
|
-
|
|
- 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"
|