2011-03-10 22:28:28 +00:00
|
|
|
/* -*- c -*- */
|
2011-07-14 16:18:40 +00:00
|
|
|
enum {
|
|
|
|
VIR_TYPED_PARAM_INT = 1,
|
|
|
|
VIR_TYPED_PARAM_UINT = 2,
|
|
|
|
VIR_TYPED_PARAM_LLONG = 3,
|
|
|
|
VIR_TYPED_PARAM_ULLONG = 4,
|
|
|
|
VIR_TYPED_PARAM_DOUBLE = 5,
|
|
|
|
VIR_TYPED_PARAM_BOOLEAN = 6,
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_nonnull_domain {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
|
|
|
remote_uuid uuid;
|
|
|
|
int id;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nonnull_network {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
|
|
|
remote_uuid uuid;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nonnull_nwfilter {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
|
|
|
remote_uuid uuid;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nonnull_interface {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
|
|
|
remote_nonnull_string mac;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nonnull_storage_pool {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
|
|
|
remote_uuid uuid;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nonnull_storage_vol {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string pool;
|
|
|
|
remote_nonnull_string name;
|
|
|
|
remote_nonnull_string key;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nonnull_node_device {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nonnull_secret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_uuid uuid;
|
|
|
|
int usageType;
|
|
|
|
remote_nonnull_string usageID;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nonnull_domain_snapshot {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2011-04-22 13:40:31 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_error {
|
2011-03-10 22:28:28 +00:00
|
|
|
int code;
|
|
|
|
int domain;
|
|
|
|
remote_string message;
|
|
|
|
int level;
|
|
|
|
remote_domain dom;
|
|
|
|
remote_string str1;
|
|
|
|
remote_string str2;
|
|
|
|
remote_string str3;
|
|
|
|
int int1;
|
|
|
|
int int2;
|
|
|
|
remote_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-07-14 16:18:40 +00:00
|
|
|
enum remote_auth_type {
|
|
|
|
REMOTE_AUTH_NONE = 0,
|
|
|
|
REMOTE_AUTH_SASL = 1,
|
|
|
|
REMOTE_AUTH_POLKIT = 2,
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_vcpu_info {
|
2011-03-10 22:28:28 +00:00
|
|
|
u_int number;
|
|
|
|
int state;
|
|
|
|
uint64_t cpu_time;
|
|
|
|
int cpu;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-17 20:58:40 +00:00
|
|
|
struct remote_typed_param_value {
|
2011-03-10 22:28:28 +00:00
|
|
|
int type;
|
|
|
|
union {
|
|
|
|
int i;
|
|
|
|
u_int ui;
|
|
|
|
int64_t l;
|
|
|
|
uint64_t ul;
|
|
|
|
double d;
|
|
|
|
int b;
|
2011-05-17 20:58:40 +00:00
|
|
|
} remote_typed_param_value_u;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-17 20:58:40 +00:00
|
|
|
struct remote_typed_param {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string field;
|
2011-05-17 20:58:40 +00:00
|
|
|
remote_typed_param_value value;
|
2010-10-12 19:24:11 +00:00
|
|
|
};
|
2011-06-07 01:01:12 +00:00
|
|
|
struct remote_node_get_cpu_stats {
|
|
|
|
remote_nonnull_string field;
|
|
|
|
uint64_t value;
|
|
|
|
};
|
2011-06-07 01:05:40 +00:00
|
|
|
struct remote_node_get_memory_stats {
|
|
|
|
remote_nonnull_string field;
|
|
|
|
uint64_t value;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_open_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_string name;
|
2011-07-06 20:40:19 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_supports_feature_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int feature;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_supports_feature_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int supported;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_get_type_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string type;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_get_version_ret {
|
2011-05-11 22:48:35 +00:00
|
|
|
uint64_t hv_ver;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_get_lib_version_ret {
|
2011-05-11 22:48:35 +00:00
|
|
|
uint64_t lib_ver;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_get_hostname_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string hostname;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-02-07 22:04:17 +00:00
|
|
|
struct remote_get_sysinfo_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
u_int flags;
|
2011-02-07 22:04:17 +00:00
|
|
|
};
|
|
|
|
struct remote_get_sysinfo_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string sysinfo;
|
2011-02-07 22:04:17 +00:00
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_get_uri_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string uri;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_get_max_vcpus_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_string type;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_get_max_vcpus_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int max_vcpus;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_get_info_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
char model[32];
|
2011-05-21 14:20:44 +00:00
|
|
|
uint64_t memory;
|
2011-03-10 22:28:28 +00:00
|
|
|
int cpus;
|
|
|
|
int mhz;
|
|
|
|
int nodes;
|
|
|
|
int sockets;
|
|
|
|
int cores;
|
|
|
|
int threads;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_get_capabilities_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string capabilities;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-06-07 01:01:12 +00:00
|
|
|
struct remote_node_get_cpu_stats_args {
|
|
|
|
int cpuNum;
|
|
|
|
int nparams;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_node_get_cpu_stats_ret {
|
|
|
|
struct {
|
|
|
|
u_int params_len;
|
|
|
|
remote_node_get_cpu_stats * params_val;
|
|
|
|
} params;
|
|
|
|
int nparams;
|
|
|
|
};
|
2011-06-07 01:05:40 +00:00
|
|
|
struct remote_node_get_memory_stats_args {
|
|
|
|
int nparams;
|
|
|
|
int cellNum;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_node_get_memory_stats_ret {
|
|
|
|
struct {
|
|
|
|
u_int params_len;
|
|
|
|
remote_node_get_memory_stats * params_val;
|
|
|
|
} params;
|
|
|
|
int nparams;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_node_get_cells_free_memory_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int startCell;
|
2011-05-21 07:52:19 +00:00
|
|
|
int maxcells;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_get_cells_free_memory_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
2011-05-21 07:52:19 +00:00
|
|
|
u_int cells_len;
|
2011-05-21 10:24:40 +00:00
|
|
|
uint64_t * cells_val;
|
2011-05-21 07:52:19 +00:00
|
|
|
} cells;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_get_free_memory_ret {
|
2011-05-21 10:24:40 +00:00
|
|
|
uint64_t freeMem;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_scheduler_type_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_scheduler_type_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string type;
|
|
|
|
int nparams;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_scheduler_parameters_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int nparams;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_scheduler_parameters_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int params_len;
|
2011-05-17 20:58:40 +00:00
|
|
|
remote_typed_param * params_val;
|
2011-03-10 22:28:28 +00:00
|
|
|
} params;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-17 21:45:03 +00:00
|
|
|
struct remote_domain_get_scheduler_parameters_flags_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int nparams;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_get_scheduler_parameters_flags_ret {
|
|
|
|
struct {
|
|
|
|
u_int params_len;
|
|
|
|
remote_typed_param * params_val;
|
|
|
|
} params;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_set_scheduler_parameters_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
struct {
|
|
|
|
u_int params_len;
|
2011-05-17 20:58:40 +00:00
|
|
|
remote_typed_param * params_val;
|
2011-03-10 22:28:28 +00:00
|
|
|
} params;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-17 06:20:02 +00:00
|
|
|
struct remote_domain_set_scheduler_parameters_flags_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
struct {
|
|
|
|
u_int params_len;
|
2011-05-17 20:58:40 +00:00
|
|
|
remote_typed_param * params_val;
|
2011-05-17 06:20:02 +00:00
|
|
|
} params;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2011-02-22 05:34:28 +00:00
|
|
|
struct remote_domain_set_blkio_parameters_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
struct {
|
|
|
|
u_int params_len;
|
2011-05-17 20:58:40 +00:00
|
|
|
remote_typed_param * params_val;
|
2011-03-10 22:28:28 +00:00
|
|
|
} params;
|
|
|
|
u_int flags;
|
2011-02-22 05:34:28 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_blkio_parameters_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int nparams;
|
|
|
|
u_int flags;
|
2011-02-22 05:34:28 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_blkio_parameters_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int params_len;
|
2011-05-17 20:58:40 +00:00
|
|
|
remote_typed_param * params_val;
|
2011-03-10 22:28:28 +00:00
|
|
|
} params;
|
|
|
|
int nparams;
|
2011-02-22 05:34:28 +00:00
|
|
|
};
|
2010-10-12 19:24:11 +00:00
|
|
|
struct remote_domain_set_memory_parameters_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
struct {
|
|
|
|
u_int params_len;
|
2011-05-17 20:58:40 +00:00
|
|
|
remote_typed_param * params_val;
|
2011-03-10 22:28:28 +00:00
|
|
|
} params;
|
|
|
|
u_int flags;
|
2010-10-12 19:24:11 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_memory_parameters_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int nparams;
|
|
|
|
u_int flags;
|
2010-10-12 19:24:11 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_memory_parameters_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int params_len;
|
2011-05-17 20:58:40 +00:00
|
|
|
remote_typed_param * params_val;
|
2011-03-10 22:28:28 +00:00
|
|
|
} params;
|
|
|
|
int nparams;
|
2010-10-12 19:24:11 +00:00
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_block_stats_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_block_stats_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int64_t rd_req;
|
|
|
|
int64_t rd_bytes;
|
|
|
|
int64_t wr_req;
|
|
|
|
int64_t wr_bytes;
|
|
|
|
int64_t errs;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-09-06 07:11:44 +00:00
|
|
|
struct remote_domain_block_stats_flags_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
|
|
|
int nparams;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_block_stats_flags_ret {
|
|
|
|
struct {
|
|
|
|
u_int params_len;
|
|
|
|
remote_typed_param * params_val;
|
|
|
|
} params;
|
|
|
|
int nparams;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_interface_stats_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_interface_stats_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int64_t rx_bytes;
|
|
|
|
int64_t rx_packets;
|
|
|
|
int64_t rx_errs;
|
|
|
|
int64_t rx_drop;
|
|
|
|
int64_t tx_bytes;
|
|
|
|
int64_t tx_packets;
|
|
|
|
int64_t tx_errs;
|
|
|
|
int64_t tx_drop;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_memory_stats_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int maxStats;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_memory_stat {
|
2011-03-10 22:28:28 +00:00
|
|
|
int tag;
|
|
|
|
uint64_t val;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_memory_stats_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int stats_len;
|
|
|
|
remote_domain_memory_stat * stats_val;
|
|
|
|
} stats;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_block_peek_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
|
|
|
uint64_t offset;
|
|
|
|
u_int size;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_block_peek_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int buffer_len;
|
|
|
|
char * buffer_val;
|
|
|
|
} buffer;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_memory_peek_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
uint64_t offset;
|
|
|
|
u_int size;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_memory_peek_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int buffer_len;
|
|
|
|
char * buffer_val;
|
|
|
|
} buffer;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_block_info_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_block_info_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
uint64_t allocation;
|
|
|
|
uint64_t capacity;
|
|
|
|
uint64_t physical;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_domains_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxids;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_domains_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int ids_len;
|
|
|
|
int * ids_val;
|
|
|
|
} ids;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_domains_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_create_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml_desc;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_create_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_lookup_by_id_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int id;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_lookup_by_id_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_lookup_by_uuid_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_uuid uuid;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_lookup_by_uuid_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_lookup_by_name_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_lookup_by_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_suspend_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_resume_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_shutdown_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_reboot_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-09-29 08:56:24 +00:00
|
|
|
struct remote_domain_reset_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_destroy_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-07-20 16:33:23 +00:00
|
|
|
struct remote_domain_destroy_flags_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_get_os_type_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_os_type_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string type;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_max_memory_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_max_memory_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
uint64_t memory;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_set_max_memory_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
uint64_t memory;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_set_memory_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
uint64_t memory;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-03-02 08:13:24 +00:00
|
|
|
struct remote_domain_set_memory_flags_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
uint64_t memory;
|
|
|
|
u_int flags;
|
2011-03-02 08:13:24 +00:00
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_get_info_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_info_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
u_char state;
|
2011-04-23 07:36:33 +00:00
|
|
|
uint64_t maxMem;
|
2011-03-10 22:28:28 +00:00
|
|
|
uint64_t memory;
|
2011-04-23 07:36:33 +00:00
|
|
|
u_short nrVirtCpu;
|
|
|
|
uint64_t cpuTime;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_save_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string to;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-07-09 02:35:16 +00:00
|
|
|
struct remote_domain_save_flags_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string to;
|
|
|
|
remote_string dxml;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_restore_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string from;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-07-09 02:35:16 +00:00
|
|
|
struct remote_domain_restore_flags_args {
|
|
|
|
remote_nonnull_string from;
|
|
|
|
remote_string dxml;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2011-07-20 15:00:38 +00:00
|
|
|
struct remote_domain_save_image_get_xml_desc_args {
|
|
|
|
remote_nonnull_string file;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_save_image_get_xml_desc_ret {
|
|
|
|
remote_nonnull_string xml;
|
|
|
|
};
|
|
|
|
struct remote_domain_save_image_define_xml_args {
|
|
|
|
remote_nonnull_string file;
|
|
|
|
remote_nonnull_string dxml;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_core_dump_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string to;
|
2011-07-06 20:40:19 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-04-04 13:54:48 +00:00
|
|
|
struct remote_domain_screenshot_args {
|
|
|
|
remote_nonnull_domain dom;
|
2011-05-13 17:22:52 +00:00
|
|
|
u_int screen;
|
|
|
|
u_int flags;
|
2011-04-04 13:54:48 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_screenshot_ret {
|
|
|
|
remote_string mime;
|
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_domain_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-07-06 20:40:19 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_domain_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_string uri_in;
|
|
|
|
uint64_t flags;
|
|
|
|
remote_string dname;
|
|
|
|
uint64_t resource;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int cookie_len;
|
|
|
|
char * cookie_val;
|
|
|
|
} cookie;
|
|
|
|
remote_string uri_out;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_perform_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
struct {
|
|
|
|
u_int cookie_len;
|
|
|
|
char * cookie_val;
|
|
|
|
} cookie;
|
|
|
|
remote_nonnull_string uri;
|
|
|
|
uint64_t flags;
|
|
|
|
remote_string dname;
|
|
|
|
uint64_t resource;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_finish_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string dname;
|
|
|
|
struct {
|
|
|
|
u_int cookie_len;
|
|
|
|
char * cookie_val;
|
|
|
|
} cookie;
|
|
|
|
remote_nonnull_string uri;
|
|
|
|
uint64_t flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_finish_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain ddom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare2_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_string uri_in;
|
|
|
|
uint64_t flags;
|
|
|
|
remote_string dname;
|
|
|
|
uint64_t resource;
|
|
|
|
remote_nonnull_string dom_xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare2_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int cookie_len;
|
|
|
|
char * cookie_val;
|
|
|
|
} cookie;
|
|
|
|
remote_string uri_out;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_finish2_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string dname;
|
|
|
|
struct {
|
|
|
|
u_int cookie_len;
|
|
|
|
char * cookie_val;
|
|
|
|
} cookie;
|
|
|
|
remote_nonnull_string uri;
|
|
|
|
uint64_t flags;
|
|
|
|
int retcode;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_finish2_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain ddom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_defined_domains_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_defined_domains_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_defined_domains_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_create_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-06-10 14:53:28 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_create_with_flags_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
2010-06-10 14:53:28 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_create_with_flags_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_define_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_define_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_undefine_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-07-20 03:01:45 +00:00
|
|
|
struct remote_domain_undefine_flags_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2011-05-10 08:26:04 +00:00
|
|
|
struct remote_domain_inject_nmi_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2011-06-07 09:11:15 +00:00
|
|
|
struct remote_domain_send_key_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int codeset;
|
|
|
|
u_int holdtime;
|
|
|
|
struct {
|
|
|
|
u_int keycodes_len;
|
|
|
|
u_int * keycodes_val;
|
|
|
|
} keycodes;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_set_vcpus_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int nvcpus;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2010-09-27 16:10:06 +00:00
|
|
|
struct remote_domain_set_vcpus_flags_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int nvcpus;
|
|
|
|
u_int flags;
|
2010-09-27 16:10:06 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_vcpus_flags_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
2010-09-27 16:10:06 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_vcpus_flags_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-09-27 16:10:06 +00:00
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_pin_vcpu_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int vcpu;
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int cpumap_len;
|
|
|
|
char * cpumap_val;
|
|
|
|
} cpumap;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-06-13 15:45:29 +00:00
|
|
|
struct remote_domain_pin_vcpu_flags_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int vcpu;
|
|
|
|
struct {
|
|
|
|
u_int cpumap_len;
|
|
|
|
char * cpumap_val;
|
|
|
|
} cpumap;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2011-06-24 23:09:46 +00:00
|
|
|
struct remote_domain_get_vcpu_pin_info_args {
|
2011-06-24 09:00:22 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int ncpumaps;
|
|
|
|
int maplen;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2011-06-24 23:09:46 +00:00
|
|
|
struct remote_domain_get_vcpu_pin_info_ret {
|
2011-06-24 09:00:22 +00:00
|
|
|
struct {
|
|
|
|
u_int cpumaps_len;
|
|
|
|
char * cpumaps_val;
|
|
|
|
} cpumaps;
|
|
|
|
int num;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_get_vcpus_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int maxinfo;
|
|
|
|
int maplen;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_vcpus_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int info_len;
|
|
|
|
remote_vcpu_info * info_val;
|
|
|
|
} info;
|
|
|
|
struct {
|
|
|
|
u_int cpumaps_len;
|
|
|
|
char * cpumaps_val;
|
|
|
|
} cpumaps;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_max_vcpus_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_max_vcpus_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_security_label_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_security_label_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int label_len;
|
|
|
|
char * label_val;
|
|
|
|
} label;
|
|
|
|
int enforcing;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_get_security_model_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int model_len;
|
|
|
|
char * model_val;
|
|
|
|
} model;
|
|
|
|
struct {
|
|
|
|
u_int doi_len;
|
|
|
|
char * doi_val;
|
|
|
|
} doi;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_attach_device_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_attach_device_flags_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_detach_device_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_detach_device_flags_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_update_device_flags_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_autostart_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_autostart_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int autostart;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_set_autostart_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int autostart;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-07-22 05:31:16 +00:00
|
|
|
struct remote_domain_block_job_abort_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_get_block_job_info_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_get_block_job_info_ret {
|
|
|
|
int found;
|
|
|
|
int type;
|
|
|
|
uint64_t bandwidth;
|
|
|
|
uint64_t cur;
|
|
|
|
uint64_t end;
|
|
|
|
};
|
|
|
|
struct remote_domain_block_job_set_speed_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
|
|
|
uint64_t bandwidth;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_block_pull_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
|
|
|
uint64_t bandwidth;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_num_of_networks_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_networks_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_networks_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_defined_networks_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_defined_networks_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_defined_networks_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_lookup_by_uuid_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_uuid uuid;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_lookup_by_uuid_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_lookup_by_name_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_lookup_by_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_create_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_create_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_define_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_define_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_undefine_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_create_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_destroy_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_network_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2011-07-06 20:40:19 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_network_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_get_bridge_name_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_get_bridge_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_get_autostart_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_get_autostart_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int autostart;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_set_autostart_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
|
|
|
int autostart;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_nwfilters_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_nwfilters_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_nwfilters_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_lookup_by_uuid_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_uuid uuid;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_lookup_by_uuid_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_nwfilter nwfilter;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_lookup_by_name_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_lookup_by_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_nwfilter nwfilter;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_define_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_define_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_nwfilter nwfilter;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_undefine_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_nwfilter nwfilter;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_nwfilter nwfilter;
|
2011-07-06 20:40:19 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_nwfilter_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_interfaces_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_interfaces_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_interfaces_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_defined_interfaces_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_defined_interfaces_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_defined_interfaces_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_lookup_by_name_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_lookup_by_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_interface iface;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_lookup_by_mac_string_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string mac;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_lookup_by_mac_string_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_interface iface;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_interface iface;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_define_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_define_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_interface iface;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_undefine_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_interface iface;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_create_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_interface iface;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_destroy_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_interface iface;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-05 13:35:40 +00:00
|
|
|
struct remote_interface_change_begin_args {
|
2011-05-29 10:21:24 +00:00
|
|
|
u_int flags;
|
2011-05-05 13:35:40 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_change_commit_args {
|
2011-05-29 10:21:24 +00:00
|
|
|
u_int flags;
|
2011-05-05 13:35:40 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_change_rollback_args {
|
2011-05-29 10:21:24 +00:00
|
|
|
u_int flags;
|
2011-05-05 13:35:40 +00:00
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_auth_list_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int types_len;
|
|
|
|
remote_auth_type * types_val;
|
|
|
|
} types;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_auth_sasl_init_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string mechlist;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_auth_sasl_start_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string mech;
|
|
|
|
int nil;
|
|
|
|
struct {
|
|
|
|
u_int data_len;
|
|
|
|
char * data_val;
|
|
|
|
} data;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_auth_sasl_start_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int complete;
|
|
|
|
int nil;
|
|
|
|
struct {
|
|
|
|
u_int data_len;
|
|
|
|
char * data_val;
|
|
|
|
} data;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_auth_sasl_step_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int nil;
|
|
|
|
struct {
|
|
|
|
u_int data_len;
|
|
|
|
char * data_val;
|
|
|
|
} data;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_auth_sasl_step_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int complete;
|
|
|
|
int nil;
|
|
|
|
struct {
|
|
|
|
u_int data_len;
|
|
|
|
char * data_val;
|
|
|
|
} data;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_auth_polkit_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int complete;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_storage_pools_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_storage_pools_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_storage_pools_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_defined_storage_pools_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_defined_storage_pools_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_defined_storage_pools_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_find_storage_pool_sources_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string type;
|
|
|
|
remote_string srcSpec;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_find_storage_pool_sources_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_lookup_by_uuid_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_uuid uuid;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_lookup_by_uuid_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_lookup_by_name_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_lookup_by_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_lookup_by_volume_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_lookup_by_volume_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_create_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_create_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_define_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_define_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_build_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_undefine_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_create_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_destroy_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_delete_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_refresh_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_storage_pool_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_storage_pool_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_get_info_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_get_info_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
u_char state;
|
|
|
|
uint64_t capacity;
|
|
|
|
uint64_t allocation;
|
|
|
|
uint64_t available;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_get_autostart_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_get_autostart_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int autostart;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_set_autostart_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
int autostart;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_num_of_volumes_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_num_of_volumes_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_list_volumes_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_list_volumes_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_lookup_by_name_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_lookup_by_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_lookup_by_key_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string key;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_lookup_by_key_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_lookup_by_path_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string path;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_lookup_by_path_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_create_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_create_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_create_xml_from_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
|
|
|
remote_nonnull_string xml;
|
|
|
|
remote_nonnull_storage_vol clonevol;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_create_xml_from_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_delete_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_wipe_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_storage_vol_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_storage_vol_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_get_info_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_get_info_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
char type;
|
|
|
|
uint64_t capacity;
|
|
|
|
uint64_t allocation;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_get_path_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_vol vol;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_vol_get_path_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_num_of_devices_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_string cap;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_num_of_devices_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_list_devices_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_string cap;
|
|
|
|
int maxnames;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_list_devices_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_lookup_by_name_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_lookup_by_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_node_device dev;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_node_device_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_node_device_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_get_parent_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_get_parent_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_string parent;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_num_of_caps_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_num_of_caps_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_list_caps_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
|
|
|
int maxnames;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_list_caps_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_dettach_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_re_attach_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_reset_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_create_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml_desc;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_create_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_node_device dev;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_node_device_destroy_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_events_register_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int cb_registered;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_events_deregister_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int cb_registered;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_lifecycle_msg {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int event;
|
|
|
|
int detail;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_xml_from_native_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string nativeFormat;
|
|
|
|
remote_nonnull_string nativeConfig;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_xml_from_native_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string domainXml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_xml_to_native_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string nativeFormat;
|
|
|
|
remote_nonnull_string domainXml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_xml_to_native_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string nativeConfig;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_num_of_secrets_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_secrets_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int maxuuids;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_list_secrets_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int uuids_len;
|
|
|
|
remote_nonnull_string * uuids_val;
|
|
|
|
} uuids;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_lookup_by_uuid_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_uuid uuid;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_lookup_by_uuid_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_secret secret;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_define_xml_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_define_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_secret secret;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_secret secret;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_set_value_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_secret secret;
|
|
|
|
struct {
|
|
|
|
u_int value_len;
|
|
|
|
char * value_val;
|
|
|
|
} value;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_get_value_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_secret secret;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_get_value_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int value_len;
|
|
|
|
char * value_val;
|
|
|
|
} value;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_undefine_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_secret secret;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_lookup_by_usage_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int usageType;
|
|
|
|
remote_nonnull_string usageID;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_secret_lookup_by_usage_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_secret secret;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare_tunnel_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
uint64_t flags;
|
|
|
|
remote_string dname;
|
|
|
|
uint64_t resource;
|
|
|
|
remote_nonnull_string dom_xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_is_secure_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int secure;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_is_active_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_is_active_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int active;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_is_persistent_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_is_persistent_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int persistent;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2010-11-15 03:23:34 +00:00
|
|
|
struct remote_domain_is_updated_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-11-15 03:23:34 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_is_updated_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int updated;
|
2010-11-15 03:23:34 +00:00
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_network_is_active_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_is_active_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int active;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_is_persistent_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_network net;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_network_is_persistent_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int persistent;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_is_active_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_is_active_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int active;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_is_persistent_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_storage_pool pool;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_storage_pool_is_persistent_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int persistent;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_is_active_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_interface iface;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_interface_is_active_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int active;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_cpu_compare_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_cpu_compare_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int result;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_cpu_baseline_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int xmlCPUs_len;
|
|
|
|
remote_nonnull_string * xmlCPUs_val;
|
|
|
|
} xmlCPUs;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_cpu_baseline_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string cpu;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_job_info_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_get_job_info_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int type;
|
|
|
|
uint64_t timeElapsed;
|
|
|
|
uint64_t timeRemaining;
|
|
|
|
uint64_t dataTotal;
|
|
|
|
uint64_t dataProcessed;
|
|
|
|
uint64_t dataRemaining;
|
|
|
|
uint64_t memTotal;
|
|
|
|
uint64_t memProcessed;
|
|
|
|
uint64_t memRemaining;
|
|
|
|
uint64_t fileTotal;
|
|
|
|
uint64_t fileProcessed;
|
|
|
|
uint64_t fileRemaining;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_abort_job_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_migrate_set_max_downtime_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
uint64_t downtime;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-02-17 14:26:14 +00:00
|
|
|
struct remote_domain_migrate_set_max_speed_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
uint64_t bandwidth;
|
|
|
|
u_int flags;
|
2011-02-17 14:26:14 +00:00
|
|
|
};
|
2011-08-26 18:10:21 +00:00
|
|
|
struct remote_domain_migrate_get_max_speed_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_get_max_speed_ret {
|
|
|
|
uint64_t bandwidth;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_events_register_any_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int eventID;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_events_deregister_any_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
int eventID;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_reboot_msg {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_rtc_change_msg {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int64_t offset;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_watchdog_msg {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int action;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_io_error_msg {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string srcPath;
|
|
|
|
remote_nonnull_string devAlias;
|
|
|
|
int action;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_io_error_reason_msg {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string srcPath;
|
|
|
|
remote_nonnull_string devAlias;
|
|
|
|
int action;
|
|
|
|
remote_nonnull_string reason;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_graphics_address {
|
2011-03-10 22:28:28 +00:00
|
|
|
int family;
|
|
|
|
remote_nonnull_string node;
|
|
|
|
remote_nonnull_string service;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_graphics_identity {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string type;
|
|
|
|
remote_nonnull_string name;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_event_graphics_msg {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
int phase;
|
|
|
|
remote_domain_event_graphics_address local;
|
|
|
|
remote_domain_event_graphics_address remote;
|
|
|
|
remote_nonnull_string authScheme;
|
|
|
|
struct {
|
|
|
|
u_int subject_len;
|
|
|
|
remote_domain_event_graphics_identity * subject_val;
|
|
|
|
} subject;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-07-22 05:57:42 +00:00
|
|
|
struct remote_domain_event_block_job_msg {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
remote_nonnull_string path;
|
|
|
|
int type;
|
|
|
|
int status;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_managed_save_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_has_managed_save_image_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_has_managed_save_image_ret {
|
2011-04-22 13:40:31 +00:00
|
|
|
int result;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_managed_save_remove_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_create_xml_args {
|
2011-04-22 13:40:31 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml_desc;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_create_xml_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain_snapshot snap;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_domain_snapshot_get_xml_desc_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain_snapshot snap;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-05-06 19:53:10 +00:00
|
|
|
struct remote_domain_snapshot_get_xml_desc_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string xml;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_num_args {
|
2011-04-22 13:40:31 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_num_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int num;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_list_names_args {
|
2011-04-22 13:40:31 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-04-22 20:45:02 +00:00
|
|
|
int maxnames;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_list_names_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
struct {
|
|
|
|
u_int names_len;
|
|
|
|
remote_nonnull_string * names_val;
|
|
|
|
} names;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_lookup_by_name_args {
|
2011-04-22 13:40:31 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_string name;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_lookup_by_name_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain_snapshot snap;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_has_current_snapshot_args {
|
2011-04-22 13:40:31 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_has_current_snapshot_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
int result;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2011-09-24 19:19:35 +00:00
|
|
|
struct remote_domain_snapshot_get_parent_args {
|
|
|
|
remote_nonnull_domain_snapshot snap;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_get_parent_ret {
|
|
|
|
remote_nonnull_domain_snapshot snap;
|
|
|
|
};
|
2010-05-07 14:01:26 +00:00
|
|
|
struct remote_domain_snapshot_current_args {
|
2011-04-22 13:40:31 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_current_ret {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain_snapshot snap;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_revert_to_snapshot_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain_snapshot snap;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
|
|
|
struct remote_domain_snapshot_delete_args {
|
2011-03-10 22:28:28 +00:00
|
|
|
remote_nonnull_domain_snapshot snap;
|
2011-05-21 14:20:44 +00:00
|
|
|
u_int flags;
|
2010-05-07 14:01:26 +00:00
|
|
|
};
|
2010-07-23 12:57:14 +00:00
|
|
|
struct remote_domain_open_console_args {
|
2011-04-22 13:40:31 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-09-19 14:14:34 +00:00
|
|
|
remote_string dev_name;
|
2011-03-10 22:28:28 +00:00
|
|
|
u_int flags;
|
2010-07-23 12:57:14 +00:00
|
|
|
};
|
2009-07-14 22:46:15 +00:00
|
|
|
struct remote_storage_vol_upload_args {
|
|
|
|
remote_nonnull_storage_vol vol;
|
|
|
|
uint64_t offset;
|
|
|
|
uint64_t length;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_storage_vol_download_args {
|
|
|
|
remote_nonnull_storage_vol vol;
|
|
|
|
uint64_t offset;
|
|
|
|
uint64_t length;
|
|
|
|
u_int flags;
|
|
|
|
};
|
2011-04-26 14:47:22 +00:00
|
|
|
struct remote_domain_get_state_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_get_state_ret {
|
|
|
|
int state;
|
|
|
|
int reason;
|
|
|
|
};
|
2011-02-01 14:23:40 +00:00
|
|
|
struct remote_domain_migrate_begin3_args {
|
|
|
|
remote_nonnull_domain dom;
|
2011-05-18 09:26:30 +00:00
|
|
|
remote_string xmlin;
|
2011-02-01 14:23:40 +00:00
|
|
|
uint64_t flags;
|
|
|
|
remote_string dname;
|
|
|
|
uint64_t resource;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_begin3_ret {
|
|
|
|
struct {
|
|
|
|
u_int cookie_out_len;
|
|
|
|
char * cookie_out_val;
|
|
|
|
} cookie_out;
|
|
|
|
remote_nonnull_string xml;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare3_args {
|
|
|
|
struct {
|
|
|
|
u_int cookie_in_len;
|
|
|
|
char * cookie_in_val;
|
|
|
|
} cookie_in;
|
|
|
|
remote_string uri_in;
|
|
|
|
uint64_t flags;
|
|
|
|
remote_string dname;
|
|
|
|
uint64_t resource;
|
|
|
|
remote_nonnull_string dom_xml;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare3_ret {
|
|
|
|
struct {
|
|
|
|
u_int cookie_out_len;
|
|
|
|
char * cookie_out_val;
|
|
|
|
} cookie_out;
|
|
|
|
remote_string uri_out;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare_tunnel3_args {
|
|
|
|
struct {
|
|
|
|
u_int cookie_in_len;
|
|
|
|
char * cookie_in_val;
|
|
|
|
} cookie_in;
|
|
|
|
uint64_t flags;
|
|
|
|
remote_string dname;
|
|
|
|
uint64_t resource;
|
|
|
|
remote_nonnull_string dom_xml;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_prepare_tunnel3_ret {
|
|
|
|
struct {
|
|
|
|
u_int cookie_out_len;
|
|
|
|
char * cookie_out_val;
|
|
|
|
} cookie_out;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_perform3_args {
|
|
|
|
remote_nonnull_domain dom;
|
2011-05-18 09:26:30 +00:00
|
|
|
remote_string xmlin;
|
2011-02-01 14:23:40 +00:00
|
|
|
struct {
|
|
|
|
u_int cookie_in_len;
|
|
|
|
char * cookie_in_val;
|
|
|
|
} cookie_in;
|
Add a second URI parameter to virDomainMigratePerform3 method
The virDomainMigratePerform3 currently has a single URI parameter
whose meaning varies. It is either
- A QEMU migration URI (normal migration)
- A libvirtd connection URI (peer2peer migration)
Unfortunately when using peer2peer migration, without also
using tunnelled migration, it is possible that both URIs are
required.
This adds a second URI parameter to the virDomainMigratePerform3
method, to cope with this scenario. Each parameter how has a fixed
meaning.
NB, there is no way to actually take advantage of this yet,
since virDomainMigrate/virDomainMigrateToURI do not have any
way to provide the 2 separate URIs
* daemon/remote.c, src/remote/remote_driver.c,
src/remote/remote_protocol.x, src/remote_protocol-structs: Add
the second URI parameter to perform3 message
* src/driver.h, src/libvirt.c, src/libvirt_internal.h: Add
the second URI parameter to Perform3 method
* src/libvirt_internal.h, src/qemu/qemu_migration.c,
src/qemu/qemu_migration.h: Update to handle URIs correctly
2011-05-18 13:18:53 +00:00
|
|
|
remote_string dconnuri;
|
|
|
|
remote_string uri;
|
2011-02-01 14:23:40 +00:00
|
|
|
uint64_t flags;
|
|
|
|
remote_string dname;
|
|
|
|
uint64_t resource;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_perform3_ret {
|
|
|
|
struct {
|
|
|
|
u_int cookie_out_len;
|
|
|
|
char * cookie_out_val;
|
|
|
|
} cookie_out;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_finish3_args {
|
|
|
|
remote_nonnull_string dname;
|
|
|
|
struct {
|
|
|
|
u_int cookie_in_len;
|
|
|
|
char * cookie_in_val;
|
|
|
|
} cookie_in;
|
Add a second URI parameter to virDomainMigratePerform3 method
The virDomainMigratePerform3 currently has a single URI parameter
whose meaning varies. It is either
- A QEMU migration URI (normal migration)
- A libvirtd connection URI (peer2peer migration)
Unfortunately when using peer2peer migration, without also
using tunnelled migration, it is possible that both URIs are
required.
This adds a second URI parameter to the virDomainMigratePerform3
method, to cope with this scenario. Each parameter how has a fixed
meaning.
NB, there is no way to actually take advantage of this yet,
since virDomainMigrate/virDomainMigrateToURI do not have any
way to provide the 2 separate URIs
* daemon/remote.c, src/remote/remote_driver.c,
src/remote/remote_protocol.x, src/remote_protocol-structs: Add
the second URI parameter to perform3 message
* src/driver.h, src/libvirt.c, src/libvirt_internal.h: Add
the second URI parameter to Perform3 method
* src/libvirt_internal.h, src/qemu/qemu_migration.c,
src/qemu/qemu_migration.h: Update to handle URIs correctly
2011-05-18 13:18:53 +00:00
|
|
|
remote_string dconnuri;
|
|
|
|
remote_string uri;
|
2011-02-01 14:23:40 +00:00
|
|
|
uint64_t flags;
|
|
|
|
int cancelled;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_finish3_ret {
|
Fix the signature of virDomainMigrateFinish3 for error reporting
The current virDomainMigrateFinish3 method signature attempts to
distinguish two types of errors, by allowing return with ret== 0,
but ddomain == NULL, to indicate a failure to start the guest.
This is flawed, because when ret == 0, there is no way for the
virErrorPtr details to be sent back to the client.
Change the signature of virDomainMigrateFinish3 so it simply
returns a virDomainPtr, in the same way as virDomainMigrateFinish2
The disk locking code will protect against the only possible
failure mode this doesn't account for (loosing conenctivity to
libvirtd after Finish3 starts the CPUs, but before the client
sees the reply for Finish3).
* src/driver.h, src/libvirt.c, src/libvirt_internal.h: Change
virDomainMigrateFinish3 to return a virDomainPtr instead of int
* src/remote/remote_driver.c, src/remote/remote_protocol.x,
daemon/remote.c, src/qemu/qemu_driver.c, src/qemu/qemu_migration.c:
Update for API change
2011-05-24 12:05:33 +00:00
|
|
|
remote_nonnull_domain dom;
|
2011-02-01 14:23:40 +00:00
|
|
|
struct {
|
|
|
|
u_int cookie_out_len;
|
|
|
|
char * cookie_out_val;
|
|
|
|
} cookie_out;
|
|
|
|
};
|
|
|
|
struct remote_domain_migrate_confirm3_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
struct {
|
|
|
|
u_int cookie_in_len;
|
|
|
|
char * cookie_in_val;
|
|
|
|
} cookie_in;
|
|
|
|
uint64_t flags;
|
|
|
|
int cancelled;
|
|
|
|
};
|
2011-05-29 12:21:53 +00:00
|
|
|
struct remote_domain_event_control_error_msg {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
};
|
2011-05-31 15:37:00 +00:00
|
|
|
struct remote_domain_get_control_info_args {
|
|
|
|
remote_nonnull_domain dom;
|
|
|
|
u_int flags;
|
|
|
|
};
|
|
|
|
struct remote_domain_get_control_info_ret {
|
|
|
|
u_int state;
|
|
|
|
u_int details;
|
|
|
|
uint64_t stateTime;
|
|
|
|
};
|
2011-07-14 16:18:40 +00:00
|
|
|
enum remote_procedure {
|
|
|
|
REMOTE_PROC_OPEN = 1,
|
|
|
|
REMOTE_PROC_CLOSE = 2,
|
|
|
|
REMOTE_PROC_GET_TYPE = 3,
|
|
|
|
REMOTE_PROC_GET_VERSION = 4,
|
|
|
|
REMOTE_PROC_GET_MAX_VCPUS = 5,
|
|
|
|
REMOTE_PROC_NODE_GET_INFO = 6,
|
|
|
|
REMOTE_PROC_GET_CAPABILITIES = 7,
|
|
|
|
REMOTE_PROC_DOMAIN_ATTACH_DEVICE = 8,
|
|
|
|
REMOTE_PROC_DOMAIN_CREATE = 9,
|
|
|
|
REMOTE_PROC_DOMAIN_CREATE_XML = 10,
|
|
|
|
REMOTE_PROC_DOMAIN_DEFINE_XML = 11,
|
|
|
|
REMOTE_PROC_DOMAIN_DESTROY = 12,
|
|
|
|
REMOTE_PROC_DOMAIN_DETACH_DEVICE = 13,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_XML_DESC = 14,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_AUTOSTART = 15,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_INFO = 16,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_MAX_MEMORY = 17,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_MAX_VCPUS = 18,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_OS_TYPE = 19,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_VCPUS = 20,
|
|
|
|
REMOTE_PROC_LIST_DEFINED_DOMAINS = 21,
|
|
|
|
REMOTE_PROC_DOMAIN_LOOKUP_BY_ID = 22,
|
|
|
|
REMOTE_PROC_DOMAIN_LOOKUP_BY_NAME = 23,
|
|
|
|
REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID = 24,
|
|
|
|
REMOTE_PROC_NUM_OF_DEFINED_DOMAINS = 25,
|
|
|
|
REMOTE_PROC_DOMAIN_PIN_VCPU = 26,
|
|
|
|
REMOTE_PROC_DOMAIN_REBOOT = 27,
|
|
|
|
REMOTE_PROC_DOMAIN_RESUME = 28,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_AUTOSTART = 29,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_MAX_MEMORY = 30,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_MEMORY = 31,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_VCPUS = 32,
|
|
|
|
REMOTE_PROC_DOMAIN_SHUTDOWN = 33,
|
|
|
|
REMOTE_PROC_DOMAIN_SUSPEND = 34,
|
|
|
|
REMOTE_PROC_DOMAIN_UNDEFINE = 35,
|
|
|
|
REMOTE_PROC_LIST_DEFINED_NETWORKS = 36,
|
|
|
|
REMOTE_PROC_LIST_DOMAINS = 37,
|
|
|
|
REMOTE_PROC_LIST_NETWORKS = 38,
|
|
|
|
REMOTE_PROC_NETWORK_CREATE = 39,
|
|
|
|
REMOTE_PROC_NETWORK_CREATE_XML = 40,
|
|
|
|
REMOTE_PROC_NETWORK_DEFINE_XML = 41,
|
|
|
|
REMOTE_PROC_NETWORK_DESTROY = 42,
|
|
|
|
REMOTE_PROC_NETWORK_GET_XML_DESC = 43,
|
|
|
|
REMOTE_PROC_NETWORK_GET_AUTOSTART = 44,
|
|
|
|
REMOTE_PROC_NETWORK_GET_BRIDGE_NAME = 45,
|
|
|
|
REMOTE_PROC_NETWORK_LOOKUP_BY_NAME = 46,
|
|
|
|
REMOTE_PROC_NETWORK_LOOKUP_BY_UUID = 47,
|
|
|
|
REMOTE_PROC_NETWORK_SET_AUTOSTART = 48,
|
|
|
|
REMOTE_PROC_NETWORK_UNDEFINE = 49,
|
|
|
|
REMOTE_PROC_NUM_OF_DEFINED_NETWORKS = 50,
|
|
|
|
REMOTE_PROC_NUM_OF_DOMAINS = 51,
|
|
|
|
REMOTE_PROC_NUM_OF_NETWORKS = 52,
|
|
|
|
REMOTE_PROC_DOMAIN_CORE_DUMP = 53,
|
|
|
|
REMOTE_PROC_DOMAIN_RESTORE = 54,
|
|
|
|
REMOTE_PROC_DOMAIN_SAVE = 55,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_SCHEDULER_TYPE = 56,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS = 57,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS = 58,
|
|
|
|
REMOTE_PROC_GET_HOSTNAME = 59,
|
|
|
|
REMOTE_PROC_SUPPORTS_FEATURE = 60,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_PREPARE = 61,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_PERFORM = 62,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_FINISH = 63,
|
|
|
|
REMOTE_PROC_DOMAIN_BLOCK_STATS = 64,
|
|
|
|
REMOTE_PROC_DOMAIN_INTERFACE_STATS = 65,
|
|
|
|
REMOTE_PROC_AUTH_LIST = 66,
|
|
|
|
REMOTE_PROC_AUTH_SASL_INIT = 67,
|
|
|
|
REMOTE_PROC_AUTH_SASL_START = 68,
|
|
|
|
REMOTE_PROC_AUTH_SASL_STEP = 69,
|
|
|
|
REMOTE_PROC_AUTH_POLKIT = 70,
|
|
|
|
REMOTE_PROC_NUM_OF_STORAGE_POOLS = 71,
|
|
|
|
REMOTE_PROC_LIST_STORAGE_POOLS = 72,
|
|
|
|
REMOTE_PROC_NUM_OF_DEFINED_STORAGE_POOLS = 73,
|
|
|
|
REMOTE_PROC_LIST_DEFINED_STORAGE_POOLS = 74,
|
|
|
|
REMOTE_PROC_FIND_STORAGE_POOL_SOURCES = 75,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_CREATE_XML = 76,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_DEFINE_XML = 77,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_CREATE = 78,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_BUILD = 79,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_DESTROY = 80,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_DELETE = 81,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_UNDEFINE = 82,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_REFRESH = 83,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_NAME = 84,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_UUID = 85,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_VOLUME = 86,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_GET_INFO = 87,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_GET_XML_DESC = 88,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_GET_AUTOSTART = 89,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_SET_AUTOSTART = 90,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_NUM_OF_VOLUMES = 91,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_LIST_VOLUMES = 92,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_CREATE_XML = 93,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_DELETE = 94,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_NAME = 95,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_KEY = 96,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_PATH = 97,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_GET_INFO = 98,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_GET_XML_DESC = 99,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_GET_PATH = 100,
|
|
|
|
REMOTE_PROC_NODE_GET_CELLS_FREE_MEMORY = 101,
|
|
|
|
REMOTE_PROC_NODE_GET_FREE_MEMORY = 102,
|
|
|
|
REMOTE_PROC_DOMAIN_BLOCK_PEEK = 103,
|
|
|
|
REMOTE_PROC_DOMAIN_MEMORY_PEEK = 104,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENTS_REGISTER = 105,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENTS_DEREGISTER = 106,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENT_LIFECYCLE = 107,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_PREPARE2 = 108,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_FINISH2 = 109,
|
|
|
|
REMOTE_PROC_GET_URI = 110,
|
|
|
|
REMOTE_PROC_NODE_NUM_OF_DEVICES = 111,
|
|
|
|
REMOTE_PROC_NODE_LIST_DEVICES = 112,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_LOOKUP_BY_NAME = 113,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_GET_XML_DESC = 114,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_GET_PARENT = 115,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_NUM_OF_CAPS = 116,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_LIST_CAPS = 117,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_DETTACH = 118,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_RE_ATTACH = 119,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_RESET = 120,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL = 121,
|
|
|
|
REMOTE_PROC_NODE_GET_SECURITY_MODEL = 122,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_CREATE_XML = 123,
|
|
|
|
REMOTE_PROC_NODE_DEVICE_DESTROY = 124,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_CREATE_XML_FROM = 125,
|
|
|
|
REMOTE_PROC_NUM_OF_INTERFACES = 126,
|
|
|
|
REMOTE_PROC_LIST_INTERFACES = 127,
|
|
|
|
REMOTE_PROC_INTERFACE_LOOKUP_BY_NAME = 128,
|
|
|
|
REMOTE_PROC_INTERFACE_LOOKUP_BY_MAC_STRING = 129,
|
|
|
|
REMOTE_PROC_INTERFACE_GET_XML_DESC = 130,
|
|
|
|
REMOTE_PROC_INTERFACE_DEFINE_XML = 131,
|
|
|
|
REMOTE_PROC_INTERFACE_UNDEFINE = 132,
|
|
|
|
REMOTE_PROC_INTERFACE_CREATE = 133,
|
|
|
|
REMOTE_PROC_INTERFACE_DESTROY = 134,
|
|
|
|
REMOTE_PROC_DOMAIN_XML_FROM_NATIVE = 135,
|
|
|
|
REMOTE_PROC_DOMAIN_XML_TO_NATIVE = 136,
|
|
|
|
REMOTE_PROC_NUM_OF_DEFINED_INTERFACES = 137,
|
|
|
|
REMOTE_PROC_LIST_DEFINED_INTERFACES = 138,
|
|
|
|
REMOTE_PROC_NUM_OF_SECRETS = 139,
|
|
|
|
REMOTE_PROC_LIST_SECRETS = 140,
|
|
|
|
REMOTE_PROC_SECRET_LOOKUP_BY_UUID = 141,
|
|
|
|
REMOTE_PROC_SECRET_DEFINE_XML = 142,
|
|
|
|
REMOTE_PROC_SECRET_GET_XML_DESC = 143,
|
|
|
|
REMOTE_PROC_SECRET_SET_VALUE = 144,
|
|
|
|
REMOTE_PROC_SECRET_GET_VALUE = 145,
|
|
|
|
REMOTE_PROC_SECRET_UNDEFINE = 146,
|
|
|
|
REMOTE_PROC_SECRET_LOOKUP_BY_USAGE = 147,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL = 148,
|
|
|
|
REMOTE_PROC_IS_SECURE = 149,
|
|
|
|
REMOTE_PROC_DOMAIN_IS_ACTIVE = 150,
|
|
|
|
REMOTE_PROC_DOMAIN_IS_PERSISTENT = 151,
|
|
|
|
REMOTE_PROC_NETWORK_IS_ACTIVE = 152,
|
|
|
|
REMOTE_PROC_NETWORK_IS_PERSISTENT = 153,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_IS_ACTIVE = 154,
|
|
|
|
REMOTE_PROC_STORAGE_POOL_IS_PERSISTENT = 155,
|
|
|
|
REMOTE_PROC_INTERFACE_IS_ACTIVE = 156,
|
|
|
|
REMOTE_PROC_GET_LIB_VERSION = 157,
|
|
|
|
REMOTE_PROC_CPU_COMPARE = 158,
|
|
|
|
REMOTE_PROC_DOMAIN_MEMORY_STATS = 159,
|
|
|
|
REMOTE_PROC_DOMAIN_ATTACH_DEVICE_FLAGS = 160,
|
|
|
|
REMOTE_PROC_DOMAIN_DETACH_DEVICE_FLAGS = 161,
|
|
|
|
REMOTE_PROC_CPU_BASELINE = 162,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_JOB_INFO = 163,
|
|
|
|
REMOTE_PROC_DOMAIN_ABORT_JOB = 164,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_WIPE = 165,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_DOWNTIME = 166,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENTS_REGISTER_ANY = 167,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENTS_DEREGISTER_ANY = 168,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENT_REBOOT = 169,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENT_RTC_CHANGE = 170,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENT_WATCHDOG = 171,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENT_IO_ERROR = 172,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENT_GRAPHICS = 173,
|
|
|
|
REMOTE_PROC_DOMAIN_UPDATE_DEVICE_FLAGS = 174,
|
|
|
|
REMOTE_PROC_NWFILTER_LOOKUP_BY_NAME = 175,
|
|
|
|
REMOTE_PROC_NWFILTER_LOOKUP_BY_UUID = 176,
|
|
|
|
REMOTE_PROC_NWFILTER_GET_XML_DESC = 177,
|
|
|
|
REMOTE_PROC_NUM_OF_NWFILTERS = 178,
|
|
|
|
REMOTE_PROC_LIST_NWFILTERS = 179,
|
|
|
|
REMOTE_PROC_NWFILTER_DEFINE_XML = 180,
|
|
|
|
REMOTE_PROC_NWFILTER_UNDEFINE = 181,
|
|
|
|
REMOTE_PROC_DOMAIN_MANAGED_SAVE = 182,
|
|
|
|
REMOTE_PROC_DOMAIN_HAS_MANAGED_SAVE_IMAGE = 183,
|
|
|
|
REMOTE_PROC_DOMAIN_MANAGED_SAVE_REMOVE = 184,
|
|
|
|
REMOTE_PROC_DOMAIN_SNAPSHOT_CREATE_XML = 185,
|
|
|
|
REMOTE_PROC_DOMAIN_SNAPSHOT_GET_XML_DESC = 186,
|
|
|
|
REMOTE_PROC_DOMAIN_SNAPSHOT_NUM = 187,
|
|
|
|
REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_NAMES = 188,
|
|
|
|
REMOTE_PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME = 189,
|
|
|
|
REMOTE_PROC_DOMAIN_HAS_CURRENT_SNAPSHOT = 190,
|
|
|
|
REMOTE_PROC_DOMAIN_SNAPSHOT_CURRENT = 191,
|
|
|
|
REMOTE_PROC_DOMAIN_REVERT_TO_SNAPSHOT = 192,
|
|
|
|
REMOTE_PROC_DOMAIN_SNAPSHOT_DELETE = 193,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_BLOCK_INFO = 194,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENT_IO_ERROR_REASON = 195,
|
|
|
|
REMOTE_PROC_DOMAIN_CREATE_WITH_FLAGS = 196,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_MEMORY_PARAMETERS = 197,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_MEMORY_PARAMETERS = 198,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_VCPUS_FLAGS = 199,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_VCPUS_FLAGS = 200,
|
|
|
|
REMOTE_PROC_DOMAIN_OPEN_CONSOLE = 201,
|
|
|
|
REMOTE_PROC_DOMAIN_IS_UPDATED = 202,
|
|
|
|
REMOTE_PROC_GET_SYSINFO = 203,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_MEMORY_FLAGS = 204,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_BLKIO_PARAMETERS = 205,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_BLKIO_PARAMETERS = 206,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_SPEED = 207,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_UPLOAD = 208,
|
|
|
|
REMOTE_PROC_STORAGE_VOL_DOWNLOAD = 209,
|
|
|
|
REMOTE_PROC_DOMAIN_INJECT_NMI = 210,
|
|
|
|
REMOTE_PROC_DOMAIN_SCREENSHOT = 211,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_STATE = 212,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_BEGIN3 = 213,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_PREPARE3 = 214,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3 = 215,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3 = 216,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_FINISH3 = 217,
|
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3 = 218,
|
|
|
|
REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS = 219,
|
|
|
|
REMOTE_PROC_INTERFACE_CHANGE_BEGIN = 220,
|
|
|
|
REMOTE_PROC_INTERFACE_CHANGE_COMMIT = 221,
|
|
|
|
REMOTE_PROC_INTERFACE_CHANGE_ROLLBACK = 222,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS_FLAGS = 223,
|
|
|
|
REMOTE_PROC_DOMAIN_EVENT_CONTROL_ERROR = 224,
|
|
|
|
REMOTE_PROC_DOMAIN_PIN_VCPU_FLAGS = 225,
|
|
|
|
REMOTE_PROC_DOMAIN_SEND_KEY = 226,
|
|
|
|
REMOTE_PROC_NODE_GET_CPU_STATS = 227,
|
|
|
|
REMOTE_PROC_NODE_GET_MEMORY_STATS = 228,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 229,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO = 230,
|
2011-07-20 03:33:51 +00:00
|
|
|
REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231,
|
2011-07-09 02:35:16 +00:00
|
|
|
REMOTE_PROC_DOMAIN_SAVE_FLAGS = 232,
|
|
|
|
REMOTE_PROC_DOMAIN_RESTORE_FLAGS = 233,
|
2011-07-20 16:33:23 +00:00
|
|
|
REMOTE_PROC_DOMAIN_DESTROY_FLAGS = 234,
|
2011-07-20 15:00:38 +00:00
|
|
|
REMOTE_PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC = 235,
|
|
|
|
REMOTE_PROC_DOMAIN_SAVE_IMAGE_DEFINE_XML = 236,
|
2011-07-22 05:31:16 +00:00
|
|
|
REMOTE_PROC_DOMAIN_BLOCK_JOB_ABORT = 237,
|
|
|
|
REMOTE_PROC_DOMAIN_GET_BLOCK_JOB_INFO = 238,
|
|
|
|
REMOTE_PROC_DOMAIN_BLOCK_JOB_SET_SPEED = 239,
|
|
|
|
REMOTE_PROC_DOMAIN_BLOCK_PULL = 240,
|
2011-07-22 05:57:42 +00:00
|
|
|
REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241,
|
2011-08-26 18:10:21 +00:00
|
|
|
REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED = 242,
|
2011-09-06 07:11:44 +00:00
|
|
|
REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS = 243,
|
2011-09-24 19:19:35 +00:00
|
|
|
REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244,
|
2011-09-29 08:56:24 +00:00
|
|
|
REMOTE_PROC_DOMAIN_RESET = 245,
|
2011-07-14 16:18:40 +00:00
|
|
|
};
|