[ CCode ( has_construct_function = false ) ]
public Session.for_connection_sync (DBusConnection connection, Cancellable? cancellable = null) throws Error
Synchronously creates a new Session instance.
This may block while the QEMU instance is contacted to query for initial devices and VM status.
| connection |
a private |
| cancellable |
a Cancellable, or null |
|
a Session if successful; otherwise null and throws is set. |