aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2024-07-11 22:27:54 +0000
committerPaolo Bonzini <[email protected]>2024-07-26 18:46:15 +0000
commit4b5f67120a88c713b82907d55a767693382e9e9d (patch)
tree66ccc638b7d2b86d86580eb501769beaa65ea984 /rust/helpers/task.c
parentKVM: cleanup and add shortcuts to kvm_range_has_memory_attributes() (diff)
downloadkernel-4b5f67120a88c713b82907d55a767693382e9e9d.tar.gz
kernel-4b5f67120a88c713b82907d55a767693382e9e9d.zip
KVM: extend kvm_range_has_memory_attributes() to check subset of attributes
While currently there is no other attribute than KVM_MEMORY_ATTRIBUTE_PRIVATE, KVM code such as kvm_mem_is_private() is written to expect their existence. Allow using kvm_range_has_memory_attributes() as a multi-page version of kvm_mem_is_private(), without it breaking later when more attributes are introduced. Reviewed-by: Michael Roth <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions