mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
remote: Add RPC support for the virDomainSetLaunchSecurityState API
Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
d46142a2f9
commit
dd6321a2fb
@ -8600,6 +8600,7 @@ static virHypervisorDriver hypervisor_driver = {
|
||||
.domainAuthorizedSSHKeysSet = remoteDomainAuthorizedSSHKeysSet, /* 6.10.0 */
|
||||
.domainGetMessages = remoteDomainGetMessages, /* 7.1.0 */
|
||||
.domainStartDirtyRateCalc = remoteDomainStartDirtyRateCalc, /* 7.2.0 */
|
||||
.domainSetLaunchSecurityState = remoteDomainSetLaunchSecurityState, /* 8.0.0 */
|
||||
};
|
||||
|
||||
static virNetworkDriver network_driver = {
|
||||
|
@ -272,6 +272,9 @@ const REMOTE_NODE_SEV_INFO_MAX = 64;
|
||||
/* Upper limit on number of launch security information entries */
|
||||
const REMOTE_DOMAIN_LAUNCH_SECURITY_INFO_PARAMS_MAX = 64;
|
||||
|
||||
/* Upper limit on number of launch security state entries */
|
||||
const REMOTE_DOMAIN_LAUNCH_SECURITY_STATE_PARAMS_MAX = 64;
|
||||
|
||||
/* Upper limit on number of parameters describing a guest */
|
||||
const REMOTE_DOMAIN_GUEST_INFO_PARAMS_MAX = 2048;
|
||||
|
||||
@ -3642,6 +3645,12 @@ struct remote_domain_get_launch_security_info_ret {
|
||||
remote_typed_param params<REMOTE_DOMAIN_LAUNCH_SECURITY_INFO_PARAMS_MAX>;
|
||||
};
|
||||
|
||||
struct remote_domain_set_launch_security_state_args {
|
||||
remote_nonnull_domain dom;
|
||||
remote_typed_param params<REMOTE_DOMAIN_LAUNCH_SECURITY_STATE_PARAMS_MAX>;
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
/* nwfilter binding */
|
||||
|
||||
struct remote_nwfilter_binding_lookup_by_port_dev_args {
|
||||
@ -6905,5 +6914,11 @@ enum remote_procedure {
|
||||
* @generate: both
|
||||
* @acl: none
|
||||
*/
|
||||
REMOTE_PROC_DOMAIN_EVENT_MEMORY_DEVICE_SIZE_CHANGE = 438
|
||||
REMOTE_PROC_DOMAIN_EVENT_MEMORY_DEVICE_SIZE_CHANGE = 438,
|
||||
|
||||
/**
|
||||
* @generate: both
|
||||
* @acl: domain:write
|
||||
*/
|
||||
REMOTE_PROC_DOMAIN_SET_LAUNCH_SECURITY_STATE = 439
|
||||
};
|
||||
|
@ -3005,6 +3005,14 @@ struct remote_domain_get_launch_security_info_ret {
|
||||
remote_typed_param * params_val;
|
||||
} params;
|
||||
};
|
||||
struct remote_domain_set_launch_security_state_args {
|
||||
remote_nonnull_domain dom;
|
||||
struct {
|
||||
u_int params_len;
|
||||
remote_typed_param * params_val;
|
||||
} params;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_nwfilter_binding_lookup_by_port_dev_args {
|
||||
remote_nonnull_string name;
|
||||
};
|
||||
@ -3680,4 +3688,5 @@ enum remote_procedure {
|
||||
REMOTE_PROC_NODE_DEVICE_IS_ACTIVE = 436,
|
||||
REMOTE_PROC_NETWORK_CREATE_XML_FLAGS = 437,
|
||||
REMOTE_PROC_DOMAIN_EVENT_MEMORY_DEVICE_SIZE_CHANGE = 438,
|
||||
REMOTE_PROC_DOMAIN_SET_LAUNCH_SECURITY_STATE = 439,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user