mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-30 16:35:24 +00:00
remote: Implement 'reset' for remote driver
Signed-off-by: Xu He Jie <xuhj@linux.vnet.ibm.com>
This commit is contained in:
parent
c0e4d4329c
commit
df1a00559c
@ -4313,6 +4313,7 @@ static virDriver remote_driver = {
|
||||
.domainResume = remoteDomainResume, /* 0.3.0 */
|
||||
.domainShutdown = remoteDomainShutdown, /* 0.3.0 */
|
||||
.domainReboot = remoteDomainReboot, /* 0.3.0 */
|
||||
.domainReset = remoteDomainReset, /* 0.9.7 */
|
||||
.domainDestroy = remoteDomainDestroy, /* 0.3.0 */
|
||||
.domainDestroyFlags = remoteDomainDestroyFlags, /* 0.9.4 */
|
||||
.domainGetOSType = remoteDomainGetOSType, /* 0.3.0 */
|
||||
|
@ -688,6 +688,11 @@ struct remote_domain_reboot_args {
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_reset_args {
|
||||
remote_nonnull_domain dom;
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_destroy_args {
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
@ -2519,7 +2524,8 @@ enum remote_procedure {
|
||||
REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB = 241, /* skipgen skipgen */
|
||||
REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED = 242, /* autogen autogen */
|
||||
REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS = 243, /* skipgen skipgen */
|
||||
REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244 /* autogen autogen */
|
||||
REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244, /* autogen autogen */
|
||||
REMOTE_PROC_DOMAIN_RESET = 245 /* autogen autogen */
|
||||
|
||||
/*
|
||||
* Notice how the entries are grouped in sets of 10 ?
|
||||
|
@ -400,6 +400,10 @@ struct remote_domain_reboot_args {
|
||||
remote_nonnull_domain dom;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_reset_args {
|
||||
remote_nonnull_domain dom;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_destroy_args {
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
@ -1966,4 +1970,5 @@ enum remote_procedure {
|
||||
REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED = 242,
|
||||
REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS = 243,
|
||||
REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT = 244,
|
||||
REMOTE_PROC_DOMAIN_RESET = 245,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user