mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
remote: don't allow dirty rate API with read permission
This API interacts with the hypervisor and makes changes to its behaviour, so must be protected by the write permission. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
ac6d205bbd
commit
dfbe4f4c9b
@ -6743,7 +6743,7 @@ enum remote_procedure {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @generate: both
|
* @generate: both
|
||||||
* @acl: domain:read
|
* @acl: domain:write
|
||||||
*/
|
*/
|
||||||
REMOTE_PROC_DOMAIN_START_DIRTY_RATE_CALC = 427
|
REMOTE_PROC_DOMAIN_START_DIRTY_RATE_CALC = 427
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user