mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
remote: Implement virConnectBaselineHypervisorCPU
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
7d0a1efcd6
commit
e60210345a
@ -8451,6 +8451,7 @@ static virHypervisorDriver hypervisor_driver = {
|
||||
.domainSetBlockThreshold = remoteDomainSetBlockThreshold, /* 3.2.0 */
|
||||
.domainSetLifecycleAction = remoteDomainSetLifecycleAction, /* 3.9.0 */
|
||||
.connectCompareHypervisorCPU = remoteConnectCompareHypervisorCPU, /* 4.4.0 */
|
||||
.connectBaselineHypervisorCPU = remoteConnectBaselineHypervisorCPU, /* 4.4.0 */
|
||||
};
|
||||
|
||||
static virNetworkDriver network_driver = {
|
||||
|
@ -3467,6 +3467,19 @@ struct remote_connect_compare_hypervisor_cpu_ret {
|
||||
int result;
|
||||
};
|
||||
|
||||
struct remote_connect_baseline_hypervisor_cpu_args {
|
||||
remote_string emulator;
|
||||
remote_string arch;
|
||||
remote_string machine;
|
||||
remote_string virttype;
|
||||
remote_nonnull_string xmlCPUs<REMOTE_CPU_BASELINE_MAX>; /* (const char **) */
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_connect_baseline_hypervisor_cpu_ret {
|
||||
remote_nonnull_string cpu;
|
||||
};
|
||||
|
||||
/*----- Protocol. -----*/
|
||||
|
||||
/* Define the program number, protocol version and procedure numbers here. */
|
||||
@ -6168,5 +6181,11 @@ enum remote_procedure {
|
||||
* @generate: both
|
||||
* @acl: connect:write
|
||||
*/
|
||||
REMOTE_PROC_CONNECT_COMPARE_HYPERVISOR_CPU = 393
|
||||
REMOTE_PROC_CONNECT_COMPARE_HYPERVISOR_CPU = 393,
|
||||
|
||||
/**
|
||||
* @generate: both
|
||||
* @acl: connect:write
|
||||
*/
|
||||
REMOTE_PROC_CONNECT_BASELINE_HYPERVISOR_CPU = 394
|
||||
};
|
||||
|
@ -2893,6 +2893,20 @@ struct remote_connect_compare_hypervisor_cpu_args {
|
||||
struct remote_connect_compare_hypervisor_cpu_ret {
|
||||
int result;
|
||||
};
|
||||
struct remote_connect_baseline_hypervisor_cpu_args {
|
||||
remote_string emulator;
|
||||
remote_string arch;
|
||||
remote_string machine;
|
||||
remote_string virttype;
|
||||
struct {
|
||||
u_int xmlCPUs_len;
|
||||
remote_nonnull_string * xmlCPUs_val;
|
||||
} xmlCPUs;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_connect_baseline_hypervisor_cpu_ret {
|
||||
remote_nonnull_string cpu;
|
||||
};
|
||||
enum remote_procedure {
|
||||
REMOTE_PROC_CONNECT_OPEN = 1,
|
||||
REMOTE_PROC_CONNECT_CLOSE = 2,
|
||||
@ -3287,4 +3301,5 @@ enum remote_procedure {
|
||||
REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_TARGET_PATH = 391,
|
||||
REMOTE_PROC_DOMAIN_DETACH_DEVICE_ALIAS = 392,
|
||||
REMOTE_PROC_CONNECT_COMPARE_HYPERVISOR_CPU = 393,
|
||||
REMOTE_PROC_CONNECT_BASELINE_HYPERVISOR_CPU = 394,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user