Top | ![]() |
![]() |
![]() |
![]() |
SpiceQmpPort *
spice_qmp_port_get (SpicePortChannel *channel
);
Associate a QMP port helper to the given port channel. If there is already a helper associated with the channel, it is simply returned.
Since: 0.36
void spice_qmp_port_vm_action_async (SpiceQmpPort *self
,SpiceQmpPortVmAction action
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Request the VM to perform an action.
self |
a qmp port helper |
|
action |
a VM action |
|
cancellable |
a GCancellable, or |
|
callback |
callback to call when the action is complete |
|
user_data |
the data to pass to the callback function |
Since: 0.36
gboolean spice_qmp_port_vm_action_finish (SpiceQmpPort *self
,GAsyncResult *result
,GError **error
);
Finishes asynchronous VM action and returns the result.
Since: 0.36
void spice_qmp_port_query_status_async (SpiceQmpPort *self
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Query the run status of all VCPUs.
Since: 0.36
SpiceQmpStatus * spice_qmp_port_query_status_finish (SpiceQmpPort *self
,GAsyncResult *result
,GError **error
);
Finish the asynchronous status query.
Since: 0.36
SpiceQmpStatus *
spice_qmp_status_ref (SpiceQmpStatus *status
);
References a status
.
Since: 0.36
void
spice_qmp_status_unref (SpiceQmpStatus *status
);
Removes a reference from the given status
.
Since: 0.36
An action to perform on the VM.
This command will cause the VM process to exit gracefully. |
||
Performs a hard reset of the VM. |
||
Performs a power down operation. |
||
Stop all VCPU execution. |
||
Resume all VCPU execution. |
||
the last enum value. |
Since: 0.36
typedef struct { gint version; gboolean running; gboolean singlestep; gchar *status; } SpiceQmpStatus;
Information about VCPU run state.
Since: 0.36