linux/virt/kvm
Heiko Carstens 8a3caa6d74 KVM: kvm_clear_guest_page(): fix empty_zero_page usage
Using the address of 'empty_zero_page' as source address in order to
clear a page is wrong. On some architectures empty_zero_page is only the
pointer to the struct page of the empty_zero_page.  Therefore the clear
page operation would copy the contents of a couple of struct pages instead
of clearing a page.  For kvm only arm/arm64 are affected by this bug.

To fix this use the ZERO_PAGE macro instead which will return the struct
page address of the empty_zero_page on all architectures.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
2013-11-21 11:19:32 +02:00
..
arm ARM: KVM: Bugfix: vgic_bytemap_get_reg per cpu regs 2013-08-30 16:12:38 +03:00
assigned-dev.c
async_pf.c KVM: Drop FOLL_GET in GUP when doing async page fault 2013-10-15 13:43:37 +03:00
async_pf.h
coalesced_mmio.c
coalesced_mmio.h
eventfd.c kvm eventfd: switch to fdget 2013-09-03 23:04:45 -04:00
ioapic.c
ioapic.h
iodev.h
iommu.c KVM: IOMMU: hva align mapping page size 2013-11-05 09:55:36 +02:00
irq_comm.c KVM: Fix RTC interrupt coalescing tracking 2013-06-27 14:20:53 +03:00
irqchip.c
Kconfig kvm: Add VFIO device 2013-10-30 19:02:03 +01:00
kvm_main.c KVM: kvm_clear_guest_page(): fix empty_zero_page usage 2013-11-21 11:19:32 +02:00
vfio.c kvm: Create non-coherent DMA registeration 2013-10-30 19:02:23 +01:00