diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-11-09 17:19:43 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-11-09 17:20:31 +0300 |
commit | 6314a17fec5cab4784a5cbb75e816b15e3d22e3e (patch) | |
tree | 3af05ba8d007f82e58491e3431095913ba3d7645 /arch/x86/kvm/mmu.c | |
parent | ad3610919e6f6a4d815c5bf163556b950d6aea56 (diff) | |
parent | 871b7ef2a1850d0b435c8b324bf4a5d391adde3f (diff) | |
download | linux-6314a17fec5cab4784a5cbb75e816b15e3d22e3e.tar.xz |
Merge tag 'tags/for-kvmgt' into HEAD
The three KVM patches that KVMGT needs.
Conflicts:
arch/x86/include/asm/kvm_page_track.h
arch/x86/kvm/mmu.c
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r-- | arch/x86/kvm/mmu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 25ca7621474a..1d2f350dcf6c 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -4397,7 +4397,8 @@ static u64 *get_written_sptes(struct kvm_mmu_page *sp, gpa_t gpa, int *nspte) } static void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa, - const u8 *new, int bytes) + const u8 *new, int bytes, + struct kvm_page_track_notifier_node *node) { gfn_t gfn = gpa >> PAGE_SHIFT; struct kvm_mmu_page *sp; @@ -4610,7 +4611,8 @@ void kvm_mmu_setup(struct kvm_vcpu *vcpu) } static void kvm_mmu_invalidate_zap_pages_in_memslot(struct kvm *kvm, - struct kvm_memory_slot *slot) + struct kvm_memory_slot *slot, + struct kvm_page_track_notifier_node *node) { kvm_mmu_invalidate_zap_all_pages(kvm); } |