linux/arch/powerpc/kvm
Takuya Yoshikawa 87bf6e7de1 KVM: fix the handling of dirty bitmaps to avoid overflows
Int is not long enough to store the size of a dirty bitmap.

This patch fixes this problem with the introduction of a wrapper
function to calculate the sizes of dirty bitmaps.

Note: in mark_page_dirty(), we have to consider the fact that
  __set_bit() takes the offset as int, not long.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2010-04-20 13:06:55 +03:00
..
44x.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
44x_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
44x_tlb.c KVM: PPC: Add helpers for CR, XER 2010-03-01 12:35:47 -03:00
44x_tlb.h
Kconfig Merge branch 'kvm-updates/2.6.34' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-03-05 13:12:34 -08:00
Makefile
book3s.c KVM: fix the handling of dirty bitmaps to avoid overflows 2010-04-20 13:06:55 +03:00
book3s_32_mmu.c
book3s_64_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
book3s_64_exports.c KVM: PPC: Add helper functions to call real mode loaders 2010-03-01 12:35:52 -03:00
book3s_64_interrupts.S KVM: PPC: Keep SRR1 flags around in shadow_msr 2010-03-01 12:35:56 -03:00
book3s_64_mmu.c KVM: PPC: Make large pages work 2010-03-01 12:35:50 -03:00
book3s_64_mmu_host.c
book3s_64_rmhandlers.S KVM: PPC: Add helper functions to call real mode loaders 2010-03-01 12:35:52 -03:00
book3s_64_slb.S KVM: PPC: Call SLB patching code in interrupt safe manner 2010-03-01 12:35:49 -03:00
booke.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
booke.h
booke_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
booke_interrupts.S
e500.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
e500_emulate.c KVM: PPC E500: fix tlbcfg emulation 2010-03-01 12:36:06 -03:00
e500_tlb.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
e500_tlb.h
emulate.c KVM: ppc/booke: Set ESR and DEAR when inject interrupt to guest 2010-03-01 12:36:10 -03:00
powerpc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
timing.c
timing.h
trace.h