History

KVM: Simplify kvm_free_memslot() and all its descendents

Now that all callers of kvm_free_memslot() pass NULL for @dont, remove the param from the top-level routine and all arch's implementations. No functional change intended.

Sean Christopherson committed 6 years ago

Commit e96c81e1 parent 5c0b4f314 files · +37 −61Browse files

Showing the changes to include/linux (1 of 14 files). Show all

Unified · Split

include/linux/kvm_host.h+1−2
@@ -669,8 +669,7 @@ int kvm_set_memory_region(struct kvm *kvm, · 668 unmodified lines
669 const struct kvm_userspace_memory_region *mem);669 const struct kvm_userspace_memory_region *mem);
670int __kvm_set_memory_region(struct kvm *kvm,670int __kvm_set_memory_region(struct kvm *kvm,
671 const struct kvm_userspace_memory_region *mem);671 const struct kvm_userspace_memory_region *mem);
672void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *free,672void kvm_arch_free_memslot(struct kvm *kvm, struct kvm_memory_slot *slot);
673 struct kvm_memory_slot *dont);
674void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen);673void kvm_arch_memslots_updated(struct kvm *kvm, u64 gen);
675int kvm_arch_prepare_memory_region(struct kvm *kvm,674int kvm_arch_prepare_memory_region(struct kvm *kvm,
676 struct kvm_memory_slot *memslot,675 struct kvm_memory_slot *memslot,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t