Specify remote protocol for virDomainSetMemoryStatsPeriod

Wire up the remote protocol
This commit is contained in:
John Ferlan 2013-07-08 12:42:57 -04:00
parent d5c67e7f45
commit ce2bdcbc86
3 changed files with 21 additions and 1 deletions

View File

@ -6562,6 +6562,7 @@ static virDriver remote_driver = {
.domainSetMaxMemory = remoteDomainSetMaxMemory, /* 0.3.0 */
.domainSetMemory = remoteDomainSetMemory, /* 0.3.0 */
.domainSetMemoryFlags = remoteDomainSetMemoryFlags, /* 0.9.0 */
.domainSetMemoryStatsPeriod = remoteDomainSetMemoryStatsPeriod, /* 1.1.1 */
.domainSetMemoryParameters = remoteDomainSetMemoryParameters, /* 0.8.5 */
.domainGetMemoryParameters = remoteDomainGetMemoryParameters, /* 0.8.5 */
.domainSetBlkioParameters = remoteDomainSetBlkioParameters, /* 0.9.0 */

View File

@ -833,6 +833,12 @@ struct remote_domain_set_memory_flags_args {
unsigned int flags;
};
struct remote_domain_set_memory_stats_period_args {
remote_nonnull_domain dom;
int period;
unsigned int flags;
};
struct remote_domain_get_info_args {
remote_nonnull_domain dom;
};
@ -4944,6 +4950,13 @@ enum remote_procedure {
* @generate: none
* @acl: domain:migrate
*/
REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS = 307
REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS = 307,
/**
* @generate: both
* @acl: domain:write
* @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
* @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
*/
REMOTE_PROC_DOMAIN_SET_MEMORY_STATS_PERIOD = 308
};

View File

@ -500,6 +500,11 @@ struct remote_domain_set_memory_flags_args {
uint64_t memory;
u_int flags;
};
struct remote_domain_set_memory_stats_period_args {
remote_nonnull_domain dom;
int period;
u_int flags;
};
struct remote_domain_get_info_args {
remote_nonnull_domain dom;
};
@ -2601,4 +2606,5 @@ enum remote_procedure {
REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS = 305,
REMOTE_PROC_DOMAIN_MIGRATE_FINISH3_PARAMS = 306,
REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS = 307,
REMOTE_PROC_DOMAIN_SET_MEMORY_STATS_PERIOD = 308,
};