Re: [kvm-unit-tests 0/5] Split large EPT mappings properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 01/03/2016 20:30, Peter Feiner wrote:
> 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.
> 
> Peter Feiner (5):
>   x86: vmx.h: trivial whitespace fixes
>   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
> 
>  x86/vmx.c       | 65 +++++++++++++++++++++++++++++++++++++++++++--------------
>  x86/vmx.h       |  9 +++++---
>  x86/vmx_tests.c |  7 -------
>  3 files changed, 55 insertions(+), 26 deletions(-)

Looks good apart for not reusing PAGE_MASK in patch 2.  Thanks!

Paolo
--
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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux