mirror of https://gitee.com/openkylin/libvirt.git
interface: implement remote protocol for network config transaction API
This commit is contained in:
parent
e63d75bc1c
commit
376e1d9420
|
@ -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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue