提交 376e1d94 编写于 作者: M Michal Privoznik 提交者: Laine Stump

interface: implement remote protocol for network config transaction API

上级 e63d75bc
...@@ -6657,6 +6657,9 @@ static virInterfaceDriver interface_driver = { ...@@ -6657,6 +6657,9 @@ static virInterfaceDriver interface_driver = {
.interfaceCreate = remoteInterfaceCreate, /* 0.7.2 */ .interfaceCreate = remoteInterfaceCreate, /* 0.7.2 */
.interfaceDestroy = remoteInterfaceDestroy, /* 0.7.2 */ .interfaceDestroy = remoteInterfaceDestroy, /* 0.7.2 */
.interfaceIsActive = remoteInterfaceIsActive, /* 0.7.3 */ .interfaceIsActive = remoteInterfaceIsActive, /* 0.7.3 */
.interfaceChangeBegin = remoteInterfaceChangeBegin, /* 0.9.2 */
.interfaceChangeCommit = remoteInterfaceChangeCommit, /* 0.9.2 */
.interfaceChangeRollback = remoteInterfaceChangeRollback, /* 0.9.2 */
}; };
static virStorageDriver storage_driver = { static virStorageDriver storage_driver = {
......
...@@ -1167,6 +1167,18 @@ struct remote_interface_destroy_args { ...@@ -1167,6 +1167,18 @@ struct remote_interface_destroy_args {
unsigned int flags; unsigned int flags;
}; };
struct remote_interface_change_begin_args {
unsigned int flags;
};
struct remote_interface_change_commit_args {
unsigned int flags;
};
struct remote_interface_change_rollback_args {
unsigned int flags;
};
/* Auth calls: */ /* Auth calls: */
...@@ -2305,9 +2317,13 @@ enum remote_procedure { ...@@ -2305,9 +2317,13 @@ enum remote_procedure {
REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3 = 216, /* skipgen skipgen */ REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3 = 216, /* skipgen skipgen */
REMOTE_PROC_DOMAIN_MIGRATE_FINISH3 = 217, /* skipgen skipgen */ REMOTE_PROC_DOMAIN_MIGRATE_FINISH3 = 217, /* skipgen skipgen */
REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3 = 218, /* skipgen skipgen */ REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3 = 218, /* skipgen skipgen */
REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS = 219 /* skipgen skipgen */ REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS = 219, /* skipgen skipgen */
REMOTE_PROC_INTERFACE_CHANGE_BEGIN = 220, /* autogen autogen */
/* Notice how the entries are grouped in sets of 10 ? REMOTE_PROC_INTERFACE_CHANGE_COMMIT = 221, /* autogen autogen */
REMOTE_PROC_INTERFACE_CHANGE_ROLLBACK = 222 /* autogen autogen */
/*
* Notice how the entries are grouped in sets of 10 ?
* Nice isn't it. Please keep it this way when adding more. * Nice isn't it. Please keep it this way when adding more.
* *
* Each function must have a two-word comment. The first word is * Each function must have a two-word comment. The first word is
......
...@@ -803,6 +803,15 @@ struct remote_interface_destroy_args { ...@@ -803,6 +803,15 @@ struct remote_interface_destroy_args {
remote_nonnull_interface iface; remote_nonnull_interface iface;
u_int flags; u_int flags;
}; };
struct remote_interface_change_begin_args {
unsigned int flags;
};
struct remote_interface_change_commit_args {
unsigned int flags;
};
struct remote_interface_change_rollback_args {
unsigned int flags;
};
struct remote_auth_list_ret { struct remote_auth_list_ret {
struct { struct {
u_int types_len; u_int types_len;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册