提交 ca79a4fb 编写于 作者: M Michal Privoznik

destroy: Wire up the remote protocol

上级 080bc4ea
......@@ -4152,6 +4152,7 @@ static virDriver remote_driver = {
.domainShutdown = remoteDomainShutdown, /* 0.3.0 */
.domainReboot = remoteDomainReboot, /* 0.3.0 */
.domainDestroy = remoteDomainDestroy, /* 0.3.0 */
.domainDestroyFlags = remoteDomainDestroyFlags, /* 0.9.4 */
.domainGetOSType = remoteDomainGetOSType, /* 0.3.0 */
.domainGetMaxMemory = remoteDomainGetMaxMemory, /* 0.3.0 */
.domainSetMaxMemory = remoteDomainSetMaxMemory, /* 0.3.0 */
......
......@@ -676,6 +676,11 @@ struct remote_domain_destroy_args {
remote_nonnull_domain dom;
};
struct remote_domain_destroy_flags_args {
remote_nonnull_domain dom;
unsigned int flags;
};
struct remote_domain_get_os_type_args {
remote_nonnull_domain dom;
};
......@@ -2406,6 +2411,7 @@ enum remote_procedure {
REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231, /* autogen autogen */
REMOTE_PROC_DOMAIN_SAVE_FLAGS = 232, /* autogen autogen */
REMOTE_PROC_DOMAIN_RESTORE_FLAGS = 233 /* autogen autogen */
REMOTE_PROC_DOMAIN_DESTROY_FLAGS = 234 /* autogen autogen */
/*
* Notice how the entries are grouped in sets of 10 ?
......
......@@ -390,6 +390,10 @@ struct remote_domain_reboot_args {
struct remote_domain_destroy_args {
remote_nonnull_domain dom;
};
struct remote_domain_destroy_flags_args {
remote_nonnull_domain dom;
u_int flags;
};
struct remote_domain_get_os_type_args {
remote_nonnull_domain dom;
};
......@@ -1877,4 +1881,5 @@ enum remote_procedure {
REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS = 231,
REMOTE_PROC_DOMAIN_SAVE_FLAGS = 232,
REMOTE_PROC_DOMAIN_RESTORE_FLAGS = 233,
REMOTE_PROC_DOMAIN_DESTROY_FLAGS = 234,
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册