[GH-ISSUE #706] When is the libvirt connection closed #542

Open
opened 2026-02-27 16:39:36 +03:00 by kerem · 0 comments
Owner

Originally created by @qixinwuchen on GitHub (Apr 15, 2022).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/706

` def __connect_socket(self):
uri = "qemu:///system"

    try:
        self.connection = libvirt.open(uri)
        self.last_error = None

    except libvirtError as e:
        self.last_error = f"Connection Failed: {str(e)}"
        self.connection = None`

the connection is opened here, but when the connection is closed?

Originally created by @qixinwuchen on GitHub (Apr 15, 2022). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/706 ` def __connect_socket(self): uri = "qemu:///system" try: self.connection = libvirt.open(uri) self.last_error = None except libvirtError as e: self.last_error = f"Connection Failed: {str(e)}" self.connection = None` the connection is opened here, but when the connection is closed?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#542
No description provided.