]> git.proxmox.com Git - mirror_qemu.git/commit - kvm-all.c
kvm: Fix dirty tracking with large kernel page size
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 4 Apr 2012 01:15:54 +0000 (11:15 +1000)
committerAvi Kivity <avi@redhat.com>
Thu, 10 May 2012 09:40:08 +0000 (12:40 +0300)
commit3145fcb6057c82e9d8b57bf86494df6af844c732
treef0705457be2690e6abff52e6167fad5c83f3341b
parent8f473dd104f0937ce98523fa6f9de0bd845aebbe
kvm: Fix dirty tracking with large kernel page size

If the kernel page size is larger than TARGET_PAGE_SIZE, which
happens for example on ppc64 with kernels compiled for 64K pages,
the dirty tracking doesn't work.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Avi Kivity <avi@redhat.com>
kvm-all.c