Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When is the libvirt connection closed #706

Open
qixinwuchen opened this issue Apr 15, 2022 · 0 comments
Open

When is the libvirt connection closed #706

qixinwuchen opened this issue Apr 15, 2022 · 0 comments

Comments

@qixinwuchen
Copy link

` 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant