webvirtmgr icon indicating copy to clipboard operation
webvirtmgr copied to clipboard

When is the libvirt connection closed

Open qixinwuchen opened this issue 2 years ago • 0 comments

` 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?

qixinwuchen avatar Apr 15 '22 10:04 qixinwuchen