[PATCH v2 01/12] X86/nVMX: handle_vmon: Read 4 bytes from guest memory

2018-04-15 Thread KarimAllah Ahmed
Read the data directly from guest memory instead 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 Signed-off-by: KarimAllah Ahmed

[PATCH v2 01/12] X86/nVMX: handle_vmon: Read 4 bytes from guest memory

2018-04-15 Thread KarimAllah Ahmed
Read the data directly from guest memory instead 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 Signed-off-by: KarimAllah Ahmed --- v1 -> v2: - Massage