install_ept_entry would overwrite arbitrary memory when it encountered a large page. I discovered the bug while working on a simple multi-page allocator, which I'm using for huge page testing, that sorts the free list in ascending order of HPA. v2: * Added lib/bitops.h for GENMASK. * Factored common stuff out of lib/*/asm/bitops.h * Fixed all of the whitespace in vmx.h. Peter Feiner (6): x86: vmx.h: trivial whitespace fixes lib: generic bitops.h x86: vmx: Named constant: EPT_ADDR_MASK x86: vmx: Named constant: EPT_LEVEL_SHIFT x86: vmx: split large EPTEs in install_ept_entry x86: vmx: don't explicitly split identity EPT map lib/arm/asm/bitops.h | 8 ++-- lib/arm/asm/cpumask.h | 2 +- lib/arm/bitops.c | 2 +- lib/arm64/asm/bitops.h | 8 ++-- lib/bitops.h | 35 ++++++++++++++++ lib/ppc64/asm/bitops.h | 10 +++++ lib/x86/asm/bitops.h | 14 +++++++ x86/vmx.c | 65 ++++++++++++++++++++++------- x86/vmx.h | 111 +++++++++++++++++++++++++------------------------ x86/vmx_tests.c | 7 ---- 10 files changed, 175 insertions(+), 87 deletions(-) -- 2.7.0.rc3.207.g0ac5344 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html