Signed-off-by: Xu He Jie <xuhj@xxxxxxxxxxxxxxxxxx> --- src/remote/remote_driver.c | 1 + src/remote/remote_protocol.x | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 740dd75..83f4f3c 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -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 */ diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x index 3504e34..c8a92fd 100644 --- a/src/remote/remote_protocol.x +++ b/src/remote/remote_protocol.x @@ -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 ? -- 1.7.4.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list