mirror of https://gitee.com/openkylin/libvirt.git
Specify remote protocol for virDomainSendProcessSignal
* src/remote/remote_protocol.x: message definition * src/remote/remote_driver.c: Register driver function * src/remote_protocol-structs: Test case Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
46c329bcc5
commit
c51babd90e
|
@ -6124,6 +6124,7 @@ static virDriver remote_driver = {
|
||||||
.domainMigrateFinish3 = remoteDomainMigrateFinish3, /* 0.9.2 */
|
.domainMigrateFinish3 = remoteDomainMigrateFinish3, /* 0.9.2 */
|
||||||
.domainMigrateConfirm3 = remoteDomainMigrateConfirm3, /* 0.9.2 */
|
.domainMigrateConfirm3 = remoteDomainMigrateConfirm3, /* 0.9.2 */
|
||||||
.domainSendKey = remoteDomainSendKey, /* 0.9.3 */
|
.domainSendKey = remoteDomainSendKey, /* 0.9.3 */
|
||||||
|
.domainSendProcessSignal = remoteDomainSendProcessSignal, /* 1.0.1 */
|
||||||
.domainBlockJobAbort = remoteDomainBlockJobAbort, /* 0.9.4 */
|
.domainBlockJobAbort = remoteDomainBlockJobAbort, /* 0.9.4 */
|
||||||
.domainGetBlockJobInfo = remoteDomainGetBlockJobInfo, /* 0.9.4 */
|
.domainGetBlockJobInfo = remoteDomainGetBlockJobInfo, /* 0.9.4 */
|
||||||
.domainBlockJobSetSpeed = remoteDomainBlockJobSetSpeed, /* 0.9.4 */
|
.domainBlockJobSetSpeed = remoteDomainBlockJobSetSpeed, /* 0.9.4 */
|
||||||
|
|
|
@ -1019,6 +1019,13 @@ struct remote_domain_send_key_args {
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct remote_domain_send_process_signal_args {
|
||||||
|
remote_nonnull_domain dom;
|
||||||
|
hyper pid_value;
|
||||||
|
unsigned int signum;
|
||||||
|
unsigned int flags;
|
||||||
|
};
|
||||||
|
|
||||||
struct remote_domain_set_vcpus_args {
|
struct remote_domain_set_vcpus_args {
|
||||||
remote_nonnull_domain dom;
|
remote_nonnull_domain dom;
|
||||||
unsigned int nvcpus;
|
unsigned int nvcpus;
|
||||||
|
@ -3034,7 +3041,8 @@ enum remote_procedure {
|
||||||
REMOTE_PROC_NETWORK_UPDATE = 291, /* autogen autogen priority:high */
|
REMOTE_PROC_NETWORK_UPDATE = 291, /* autogen autogen priority:high */
|
||||||
REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND_DISK = 292, /* autogen autogen */
|
REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND_DISK = 292, /* autogen autogen */
|
||||||
REMOTE_PROC_NODE_GET_CPU_MAP = 293, /* skipgen skipgen */
|
REMOTE_PROC_NODE_GET_CPU_MAP = 293, /* skipgen skipgen */
|
||||||
REMOTE_PROC_DOMAIN_FSTRIM = 294 /* autogen autogen */
|
REMOTE_PROC_DOMAIN_FSTRIM = 294, /* autogen autogen */
|
||||||
|
REMOTE_PROC_DOMAIN_SEND_PROCESS_SIGNAL = 295 /* autogen autogen */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Notice how the entries are grouped in sets of 10 ?
|
* Notice how the entries are grouped in sets of 10 ?
|
||||||
|
|
|
@ -672,6 +672,12 @@ struct remote_domain_send_key_args {
|
||||||
} keycodes;
|
} keycodes;
|
||||||
u_int flags;
|
u_int flags;
|
||||||
};
|
};
|
||||||
|
struct remote_domain_send_process_signal_args {
|
||||||
|
remote_nonnull_domain dom;
|
||||||
|
int64_t pid_value;
|
||||||
|
u_int signum;
|
||||||
|
u_int flags;
|
||||||
|
};
|
||||||
struct remote_domain_set_vcpus_args {
|
struct remote_domain_set_vcpus_args {
|
||||||
remote_nonnull_domain dom;
|
remote_nonnull_domain dom;
|
||||||
u_int nvcpus;
|
u_int nvcpus;
|
||||||
|
@ -2440,4 +2446,5 @@ enum remote_procedure {
|
||||||
REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND_DISK = 292,
|
REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND_DISK = 292,
|
||||||
REMOTE_PROC_NODE_GET_CPU_MAP = 293,
|
REMOTE_PROC_NODE_GET_CPU_MAP = 293,
|
||||||
REMOTE_PROC_DOMAIN_FSTRIM = 294,
|
REMOTE_PROC_DOMAIN_FSTRIM = 294,
|
||||||
|
REMOTE_PROC_DOMAIN_SEND_PROCESS_SIGNAL = 295,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue