mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
This API has the same semantics as 'virDomainQemuMonitorCommand' but accepts file descriptors which are then forwarded to qemu. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
67 lines
2.2 KiB
C
67 lines
2.2 KiB
C
/* -*- c -*- */
|
|
struct remote_nonnull_domain {
|
|
remote_nonnull_string name;
|
|
remote_uuid uuid;
|
|
int id;
|
|
};
|
|
struct qemu_domain_monitor_command_args {
|
|
remote_nonnull_domain dom;
|
|
remote_nonnull_string cmd;
|
|
u_int flags;
|
|
};
|
|
struct qemu_domain_monitor_command_ret {
|
|
remote_nonnull_string result;
|
|
};
|
|
struct qemu_domain_attach_args {
|
|
u_int pid_value;
|
|
u_int flags;
|
|
};
|
|
struct qemu_domain_attach_ret {
|
|
remote_nonnull_domain dom;
|
|
};
|
|
struct qemu_domain_agent_command_args {
|
|
remote_nonnull_domain dom;
|
|
remote_nonnull_string cmd;
|
|
int timeout;
|
|
u_int flags;
|
|
};
|
|
struct qemu_domain_agent_command_ret {
|
|
remote_string result;
|
|
};
|
|
struct qemu_connect_domain_monitor_event_register_args {
|
|
remote_domain dom;
|
|
remote_string event;
|
|
u_int flags;
|
|
};
|
|
struct qemu_connect_domain_monitor_event_register_ret {
|
|
int callbackID;
|
|
};
|
|
struct qemu_connect_domain_monitor_event_deregister_args {
|
|
int callbackID;
|
|
};
|
|
struct qemu_domain_monitor_event_msg {
|
|
int callbackID;
|
|
remote_nonnull_domain dom;
|
|
remote_nonnull_string event;
|
|
int64_t seconds;
|
|
u_int micros;
|
|
remote_string details;
|
|
};
|
|
struct qemu_domain_monitor_command_with_files_args {
|
|
remote_nonnull_domain dom;
|
|
remote_nonnull_string cmd;
|
|
u_int flags;
|
|
};
|
|
struct qemu_domain_monitor_command_with_files_ret {
|
|
remote_nonnull_string result;
|
|
};
|
|
enum qemu_procedure {
|
|
QEMU_PROC_DOMAIN_MONITOR_COMMAND = 1,
|
|
QEMU_PROC_DOMAIN_ATTACH = 2,
|
|
QEMU_PROC_DOMAIN_AGENT_COMMAND = 3,
|
|
QEMU_PROC_CONNECT_DOMAIN_MONITOR_EVENT_REGISTER = 4,
|
|
QEMU_PROC_CONNECT_DOMAIN_MONITOR_EVENT_DEREGISTER = 5,
|
|
QEMU_PROC_DOMAIN_MONITOR_EVENT = 6,
|
|
QEMU_PROC_DOMAIN_MONITOR_COMMAND_WITH_FILES = 7,
|
|
};
|