Re: [PATCH v5 10/12] KVM: X86: Rename and move the function vmx_handle_memory_failure to x86.c

2020-08-26 Thread Jim Mattson
On Wed, Aug 26, 2020 at 12:15 PM Babu Moger wrote: > > Handling of kvm_read/write_guest_virt*() errors can be moved to common > code. The same code can be used by both VMX and SVM. > > Signed-off-by: Babu Moger Reviewed-by: Jim Mattson

[PATCH v5 10/12] KVM: X86: Rename and move the function vmx_handle_memory_failure to x86.c

2020-08-26 Thread Babu Moger
Handling of kvm_read/write_guest_virt*() errors can be moved to common code. The same code can be used by both VMX and SVM. Signed-off-by: Babu Moger --- arch/x86/kvm/vmx/nested.c | 12 ++-- arch/x86/kvm/vmx/vmx.c| 29 + arch/x86/kvm/vmx/vmx.h|