| Top |  |  |  |  | 
| SpiceQmpPort * | spice_qmp_port_get () | 
| void | spice_qmp_port_vm_action_async () | 
| gboolean | spice_qmp_port_vm_action_finish () | 
| void | spice_qmp_port_query_status_async () | 
| SpiceQmpStatus * | spice_qmp_port_query_status_finish () | 
| SpiceQmpStatus * | spice_qmp_status_ref () | 
| void | spice_qmp_status_unref () | 
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.
| self | a qmp port helper | |
| result | The async GAsyncResult result | |
| error | a GError pointer, or  | 
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.
| self | ||
| cancellable | A GCancellable | |
| callback | The async callback. | |
| user_data | The async callback user data. | 
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
“channel” property“channel” SpicePortChannel *
Associated port channel.
Owner: SpiceQmpPort
Flags: Read / Write / Construct Only
“event” signalvoid user_function (SpiceQmpPort *self, char *name, gpointer node, gpointer user_data)
Event emitted whenever a QMP event is received.
| self | the SpiceQmpPort that emitted the signal | |
| name | the QMP event name | |
| node | the event data json-node, or NULL | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run First
Since: 0.36