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:
Daniel P. Berrangé 2021-03-29 11:27:42 +01:00
parent ac6d205bbd
commit dfbe4f4c9b

View File

@ -6743,7 +6743,7 @@ enum remote_procedure {
/**
* @generate: both
* @acl: domain:read
* @acl: domain:write
*/
REMOTE_PROC_DOMAIN_START_DIRTY_RATE_CALC = 427
};