Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
virt-manager.10841
virtman-add-connect-default.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtman-add-connect-default.patch of Package virt-manager.10841
Enhancement for when no hypervisor can be found locally it opens the new connection dialog. Index: virt-manager-1.5.0/virtManager/engine.py =================================================================== --- virt-manager-1.5.0.orig/virtManager/engine.py +++ virt-manager-1.5.0/virtManager/engine.py @@ -239,9 +239,6 @@ class vmmEngine(vmmGObject): except Exception: logging.exception("Error talking to PackageKit") - if tryuri is None: - tryuri = "qemu:///system" - warnmsg = _("The 'libvirtd' service will need to be started.\n\n" "After that, virt-manager will connect to libvirt on\n" "the next application start up.") @@ -255,7 +252,11 @@ class vmmEngine(vmmGObject): if not connected and do_start: manager.err.ok(_("Libvirt service must be started"), warnmsg) - self.idle_add(idle_connect) + # If there is no default URI to be found, show the new connection dialog + if tryuri is None: + self._do_show_connect(self.windowManager) + else: + self.idle_add(idle_connect) def load_stored_uris(self):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor