Re: [PATCH] KVM/nSVM: properly map nested VMCB

2019-08-14 Thread Paolo Bonzini
On 10/08/19 20:35, Jiri Palecek wrote: > Hello, > > On 04. 06. 19 19:27, Paolo Bonzini wrote: >> On 04/06/19 18:09, Vitaly Kuznetsov wrote: >>> Commit 8c5fbf1a7231 ("KVM/nSVM: Use the new mapping API for mapping >>> guest >>> memory") broke nested SVM completely: kvm_vcpu_map()'s second >>> parame

Re: Re: [PATCH] KVM/nSVM: properly map nested VMCB

2019-08-10 Thread Jiri Palecek
Hello, On 04. 06. 19 19:27, Paolo Bonzini wrote: On 04/06/19 18:09, Vitaly Kuznetsov wrote: Commit 8c5fbf1a7231 ("KVM/nSVM: Use the new mapping API for mapping guest memory") broke nested SVM completely: kvm_vcpu_map()'s second parameter is GFN so vmcb_gpa needs to be converted with gpa_to_gfn(

Re: [PATCH] KVM/nSVM: properly map nested VMCB

2019-06-04 Thread Paolo Bonzini
On 04/06/19 18:09, Vitaly Kuznetsov wrote: > Commit 8c5fbf1a7231 ("KVM/nSVM: Use the new mapping API for mapping guest > memory") broke nested SVM completely: kvm_vcpu_map()'s second parameter is > GFN so vmcb_gpa needs to be converted with gpa_to_gfn(), not the other way > around. > > Fixes: 8c5f

Re: [PATCH] KVM/nSVM: properly map nested VMCB

2019-06-04 Thread Sean Christopherson
On Tue, Jun 04, 2019 at 06:09:39PM +0200, Vitaly Kuznetsov wrote: > Commit 8c5fbf1a7231 ("KVM/nSVM: Use the new mapping API for mapping guest > memory") broke nested SVM completely: kvm_vcpu_map()'s second parameter is > GFN so vmcb_gpa needs to be converted with gpa_to_gfn(), not the other way > a