KVM: MMU: Extend kvm_mmu_page->slot_bitmap size
authorSheng Yang <sheng@linux.intel.com>
Thu, 16 Oct 2008 09:30:57 +0000 (17:30 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:51:45 +0000 (16:51 +0200)
commit291f26bc0f89518ad7ee3207c09eb8a743ac8fcc
treed0ce8ff4d0a4b88b656db0f559a00c5b25738ed2
parentd73fa29a9b75b2af7f69dae276d2c602a23b329b
KVM: MMU: Extend kvm_mmu_page->slot_bitmap size

Otherwise set_bit() for private memory slot(above KVM_MEMORY_SLOTS) would
corrupted memory in 32bit host.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c