提交 ce2bdcbc 编写于 作者: J John Ferlan

Specify remote protocol for virDomainSetMemoryStatsPeriod

Wire up the remote protocol
上级 d5c67e7f
...@@ -6562,6 +6562,7 @@ static virDriver remote_driver = { ...@@ -6562,6 +6562,7 @@ static virDriver remote_driver = {
.domainSetMaxMemory = remoteDomainSetMaxMemory, /* 0.3.0 */ .domainSetMaxMemory = remoteDomainSetMaxMemory, /* 0.3.0 */
.domainSetMemory = remoteDomainSetMemory, /* 0.3.0 */ .domainSetMemory = remoteDomainSetMemory, /* 0.3.0 */
.domainSetMemoryFlags = remoteDomainSetMemoryFlags, /* 0.9.0 */ .domainSetMemoryFlags = remoteDomainSetMemoryFlags, /* 0.9.0 */
.domainSetMemoryStatsPeriod = remoteDomainSetMemoryStatsPeriod, /* 1.1.1 */
.domainSetMemoryParameters = remoteDomainSetMemoryParameters, /* 0.8.5 */ .domainSetMemoryParameters = remoteDomainSetMemoryParameters, /* 0.8.5 */
.domainGetMemoryParameters = remoteDomainGetMemoryParameters, /* 0.8.5 */ .domainGetMemoryParameters = remoteDomainGetMemoryParameters, /* 0.8.5 */
.domainSetBlkioParameters = remoteDomainSetBlkioParameters, /* 0.9.0 */ .domainSetBlkioParameters = remoteDomainSetBlkioParameters, /* 0.9.0 */
......
...@@ -833,6 +833,12 @@ struct remote_domain_set_memory_flags_args { ...@@ -833,6 +833,12 @@ struct remote_domain_set_memory_flags_args {
unsigned int flags; 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 { struct remote_domain_get_info_args {
remote_nonnull_domain dom; remote_nonnull_domain dom;
}; };
...@@ -4944,6 +4950,13 @@ enum remote_procedure { ...@@ -4944,6 +4950,13 @@ enum remote_procedure {
* @generate: none * @generate: none
* @acl: domain:migrate * @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
}; };
...@@ -500,6 +500,11 @@ struct remote_domain_set_memory_flags_args { ...@@ -500,6 +500,11 @@ struct remote_domain_set_memory_flags_args {
uint64_t memory; uint64_t memory;
u_int flags; 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 { struct remote_domain_get_info_args {
remote_nonnull_domain dom; remote_nonnull_domain dom;
}; };
...@@ -2601,4 +2606,5 @@ enum remote_procedure { ...@@ -2601,4 +2606,5 @@ enum remote_procedure {
REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS = 305, REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS = 305,
REMOTE_PROC_DOMAIN_MIGRATE_FINISH3_PARAMS = 306, REMOTE_PROC_DOMAIN_MIGRATE_FINISH3_PARAMS = 306,
REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS = 307, REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS = 307,
REMOTE_PROC_DOMAIN_SET_MEMORY_STATS_PERIOD = 308,
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册