]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: Clean & flush on dirty page logging enable
authorJames Hogan <james.hogan@imgtec.com>
Tue, 6 Dec 2016 14:56:20 +0000 (14:56 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:21:24 +0000 (15:21 +0000)
commit416aea37419b77c6de6d6e1583d3ffb74c4fe4dd
treeedcfa2f286a91c45fb55d74b49f5b2c696d154ea
parentf8b9297ee29c342ab226f7686d8c0010458398e8
KVM: MIPS: Clean & flush on dirty page logging enable

When an existing memory region has dirty page logging enabled, make the
entire slot clean (read only) so that writes will immediately start
logging dirty pages (once the dirty bit is transferred from GPA to GVA
page tables in an upcoming patch).

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
arch/mips/kvm/mips.c