mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
remote: Implement the plumbing for virDomainPinIOThread
Implement the remote plumbing.
This commit is contained in:
parent
71b234ce68
commit
d8977b8ea3
@ -8106,6 +8106,7 @@ static virHypervisorDriver hypervisor_driver = {
|
||||
.domainGetVcpus = remoteDomainGetVcpus, /* 0.3.0 */
|
||||
.domainGetMaxVcpus = remoteDomainGetMaxVcpus, /* 0.3.0 */
|
||||
.domainGetIOThreadsInfo = remoteDomainGetIOThreadsInfo, /* 1.2.14 */
|
||||
.domainPinIOThread = remoteDomainPinIOThread, /* 1.2.14 */
|
||||
.domainGetSecurityLabel = remoteDomainGetSecurityLabel, /* 0.6.1 */
|
||||
.domainGetSecurityLabelList = remoteDomainGetSecurityLabelList, /* 0.10.0 */
|
||||
.nodeGetSecurityModel = remoteNodeGetSecurityModel, /* 0.6.1 */
|
||||
|
@ -1199,6 +1199,13 @@ struct remote_domain_get_iothreads_info_ret {
|
||||
unsigned int ret;
|
||||
};
|
||||
|
||||
struct remote_domain_pin_iothread_args {
|
||||
remote_nonnull_domain dom;
|
||||
unsigned int iothreads_id;
|
||||
opaque cpumap<REMOTE_CPUMAP_MAX>; /* (unsigned char *) */
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_get_security_label_args {
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
@ -5593,5 +5600,13 @@ enum remote_procedure {
|
||||
* @generate: none
|
||||
* @acl: domain:read
|
||||
*/
|
||||
REMOTE_PROC_DOMAIN_GET_IOTHREADS_INFO = 351
|
||||
REMOTE_PROC_DOMAIN_GET_IOTHREADS_INFO = 351,
|
||||
|
||||
/**
|
||||
* @generate: both
|
||||
* @acl: domain:write
|
||||
* @acl: domain:save:!VIR_DOMAIN_AFFECT_CONFIG|VIR_DOMAIN_AFFECT_LIVE
|
||||
* @acl: domain:save:VIR_DOMAIN_AFFECT_CONFIG
|
||||
*/
|
||||
REMOTE_PROC_DOMAIN_PIN_IOTHREAD = 352
|
||||
};
|
||||
|
@ -825,6 +825,15 @@ struct remote_domain_get_iothreads_info_ret {
|
||||
} info;
|
||||
u_int ret;
|
||||
};
|
||||
struct remote_domain_pin_iothread_args {
|
||||
remote_nonnull_domain dom;
|
||||
u_int iothreads_id;
|
||||
struct {
|
||||
u_int cpumap_len;
|
||||
char * cpumap_val;
|
||||
} cpumap;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_get_security_label_args {
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
@ -2982,4 +2991,5 @@ enum remote_procedure {
|
||||
REMOTE_PROC_DOMAIN_GET_FSINFO = 349,
|
||||
REMOTE_PROC_DOMAIN_DEFINE_XML_FLAGS = 350,
|
||||
REMOTE_PROC_DOMAIN_GET_IOTHREADS_INFO = 351,
|
||||
REMOTE_PROC_DOMAIN_PIN_IOTHREAD = 352,
|
||||
};
|
||||
|
@ -68,6 +68,7 @@ sub fixup_name {
|
||||
$name =~ s/Fsthaw$/FSThaw/;
|
||||
$name =~ s/Fsinfo$/FSInfo/;
|
||||
$name =~ s/Iothreads$/IOThreads/;
|
||||
$name =~ s/Iothread$/IOThread/;
|
||||
$name =~ s/Scsi/SCSI/;
|
||||
$name =~ s/Wwn$/WWN/;
|
||||
$name =~ s/Dhcp$/DHCP/;
|
||||
|
Loading…
Reference in New Issue
Block a user