Enums¶
SpiceClientGLib.ChannelEvent
SpiceClientGLib.ClientError
SpiceClientGLib.QmpPortVmAction
SpiceClientGLib.SessionMigration
Details¶
-
class
SpiceClientGLib.
ChannelEvent
(value)¶ Bases:
GObject.GEnum
An event, emitted by
SpiceClientGLib.Channel
::channel-event
signal.-
NONE
= 0¶ no event, or ignored event
-
OPENED
= 10¶ connection is authentified and ready
-
SWITCHING
= 11¶ disconnecting from the current host and connecting to the target host.
-
CLOSED
= 12¶ connection is closed normally (sent if channel was ready)
-
ERROR_CONNECT
= 20¶ connection error
-
ERROR_TLS
= 21¶ SSL error
-
ERROR_LINK
= 22¶ error during link process
-
ERROR_AUTH
= 23¶ authentication error
-
ERROR_IO
= 24¶ IO error
-
-
class
SpiceClientGLib.
ClientError
(value)¶ Bases:
GLib.Enum
Error codes returned by spice-client API.
-
FAILED
= 0¶ generic error code
-
USB_DEVICE_REJECTED
= 1¶ device redirection rejected by host
-
USB_DEVICE_LOST
= 2¶ device disconnected (fatal IO error)
-
AUTH_NEEDS_PASSWORD
= 3¶ password is required
-
AUTH_NEEDS_USERNAME
= 4¶ username is required
-
AUTH_NEEDS_PASSWORD_AND_USERNAME
= 5¶ password and username are required
-
USB_SERVICE
= 6¶ USB service error
-
-
class
SpiceClientGLib.
QmpPortVmAction
(value)¶ Bases:
GLib.Enum
An action to perform on the VM.
New in version 0.36.
-
QUIT
= 0¶ This command will cause the VM process to exit gracefully.
-
RESET
= 1¶ Performs a hard reset of the VM.
-
POWER_DOWN
= 2¶ Performs a power down operation.
-
PAUSE
= 3¶ Stop all VCPU execution.
-
CONTINUE
= 4¶ Resume all VCPU execution.
-
LAST
= 5¶ the last enum value.
-
-
class
SpiceClientGLib.
SessionMigration
(value)¶ Bases:
GObject.GEnum
Session migration state.
-
NONE
= 0¶ no migration going on
-
SWITCHING
= 1¶ the session is switching host (destroy and reconnect)
-
MIGRATING
= 2¶ the session is migrating seamlessly (reconnect)
-
CONNECTING
= 3¶ the migration is connecting to destination
New in version 0.27.
-