Re: [PATCH v3 01/13] X86/nVMX: handle_vmon: Read 4 bytes from guest memory

From: Jim Mattson
Date: Mon Oct 22 2018 - 13:17:17 EST


On Sat, Oct 20, 2018 at 3:22 PM, KarimAllah Ahmed <karahmed@xxxxxxxxx> wrote:
> Read the data directly from guest memory instead of the map->read->unmap
> sequence. This also avoids using kvm_vcpu_gpa_to_page() and kmap() which
> assumes that there is a "struct page" for guest memory.
>
> Suggested-by: Jim Mattson <jmattson@xxxxxxxxxx>
> Signed-off-by: KarimAllah Ahmed <karahmed@xxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>