1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-11 09:17:52 +03:00

destroy: Wire up the remote protocol

This commit is contained in:
Michal Privoznik 2011-07-20 18:33:23 +02:00
parent 080bc4ea02
commit ca79a4fb51
3 changed files with 12 additions and 0 deletions

View File

@ -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 */

View File

@ -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 ?

View File

@ -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,
};