提交 6301ce52 编写于 作者: J Jiri Denemark

Wire protocol and remote driver for virDomainGetControlInfo

上级 67cc825d
...@@ -6475,6 +6475,7 @@ static virDriver remote_driver = { ...@@ -6475,6 +6475,7 @@ static virDriver remote_driver = {
.domainGetBlkioParameters = remoteDomainGetBlkioParameters, /* 0.9.0 */ .domainGetBlkioParameters = remoteDomainGetBlkioParameters, /* 0.9.0 */
.domainGetInfo = remoteDomainGetInfo, /* 0.3.0 */ .domainGetInfo = remoteDomainGetInfo, /* 0.3.0 */
.domainGetState = remoteDomainGetState, /* 0.9.2 */ .domainGetState = remoteDomainGetState, /* 0.9.2 */
.domainGetControlInfo = remoteDomainGetControlInfo, /* 0.9.3 */
.domainSave = remoteDomainSave, /* 0.3.0 */ .domainSave = remoteDomainSave, /* 0.3.0 */
.domainRestore = remoteDomainRestore, /* 0.3.0 */ .domainRestore = remoteDomainRestore, /* 0.3.0 */
.domainCoreDump = remoteDomainCoreDump, /* 0.3.0 */ .domainCoreDump = remoteDomainCoreDump, /* 0.3.0 */
......
...@@ -2138,6 +2138,17 @@ struct remote_domain_event_control_error_msg { ...@@ -2138,6 +2138,17 @@ struct remote_domain_event_control_error_msg {
remote_nonnull_domain dom; remote_nonnull_domain dom;
}; };
struct remote_domain_get_control_info_args {
remote_nonnull_domain dom;
unsigned int flags;
};
struct remote_domain_get_control_info_ret { /* insert@1 */
unsigned int state;
unsigned int details;
unsigned hyper stateTime;
};
/*----- Protocol. -----*/ /*----- Protocol. -----*/
/* Define the program number, protocol version and procedure numbers here. */ /* Define the program number, protocol version and procedure numbers here. */
...@@ -2410,7 +2421,8 @@ enum remote_procedure { ...@@ -2410,7 +2421,8 @@ enum remote_procedure {
REMOTE_PROC_DOMAIN_BLOCK_PULL_ABORT = 231, /* autogen autogen */ REMOTE_PROC_DOMAIN_BLOCK_PULL_ABORT = 231, /* autogen autogen */
REMOTE_PROC_DOMAIN_GET_BLOCK_PULL_INFO = 232, /* skipgen skipgen */ REMOTE_PROC_DOMAIN_GET_BLOCK_PULL_INFO = 232, /* skipgen skipgen */
REMOTE_PROC_DOMAIN_EVENT_BLOCK_PULL = 233 /* skipgen skipgen */ REMOTE_PROC_DOMAIN_EVENT_BLOCK_PULL = 233, /* skipgen skipgen */
REMOTE_PROC_DOMAIN_GET_CONTROL_INFO = 234 /* autogen autogen */
/* /*
* Notice how the entries are grouped in sets of 10 ? * Notice how the entries are grouped in sets of 10 ?
......
...@@ -1626,6 +1626,15 @@ struct remote_domain_migrate_confirm3_args { ...@@ -1626,6 +1626,15 @@ struct remote_domain_migrate_confirm3_args {
struct remote_domain_event_control_error_msg { struct remote_domain_event_control_error_msg {
remote_nonnull_domain dom; remote_nonnull_domain dom;
}; };
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;
};
struct remote_message_header { struct remote_message_header {
u_int prog; u_int prog;
u_int vers; u_int vers;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册