kvm: x86: Add a hook for arch specific dirty logging emulation
authorBandan Das <bsd@redhat.com>
Fri, 5 May 2017 19:25:13 +0000 (15:25 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 May 2017 09:54:16 +0000 (11:54 +0200)
commitbab4165e2f031905bd0a2bb8b6ad65c5c8cfa870
tree266fc7f10baa2e14d42f28ca23ad5f50cad16d7b
parentc7c2c709b60ed2d7e6e6871496f0e963cfad121f
kvm: x86: Add a hook for arch specific dirty logging emulation

When KVM updates accessed/dirty bits, this hook can be used
to invoke an arch specific function that implements/emulates
dirty logging such as PML.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.h
arch/x86/kvm/paging_tmpl.h