diff options
| author | Sean Christopherson <[email protected]> | 2020-02-18 13:07:24 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:57:20 +0100 |
| commit | 9d4c197c0e94c372ceffd2ffc53a23518f301ed9 (patch) | |
| tree | 8229ad7045ae62a05c8b766716b60a80df5f307d /tools/perf/scripts/python/sctop.py | |
| parent | cf47f50b5c2e24c4ca1e5c8bbec1c47404a9ac24 (diff) | |
KVM: Drop "const" attribute from old memslot in commit_memory_region()
Drop the "const" attribute from @old in kvm_arch_commit_memory_region()
to allow arch specific code to free arch specific resources in the old
memslot without having to cast away the attribute. Freeing resources in
kvm_arch_commit_memory_region() paves the way for simplifying
kvm_free_memslot() by eliminating the last usage of its @dont param.
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions