Re: [PATCH v2 1/3] KVM: x86: move kvm_vcpu_gfn_to_memslot() out of try_async_pf()

2020-09-03 Thread Sean Christopherson
On Tue, Sep 01, 2020 at 04:15:07PM +0200, Vitaly Kuznetsov wrote: > Sean Christopherson writes: > > > On Fri, Aug 07, 2020 at 04:12:30PM +0200, Vitaly Kuznetsov wrote: > >> No functional change intended. Slot flags will need to be analyzed > >> prior to try_async_pf() when KVM_MEM_PCI_HOLE is

Re: [PATCH v2 1/3] KVM: x86: move kvm_vcpu_gfn_to_memslot() out of try_async_pf()

2020-09-01 Thread Vitaly Kuznetsov
Sean Christopherson writes: > On Fri, Aug 07, 2020 at 04:12:30PM +0200, Vitaly Kuznetsov wrote: >> No functional change intended. Slot flags will need to be analyzed >> prior to try_async_pf() when KVM_MEM_PCI_HOLE is implemented. > (Sorry it took me so long to reply. No, I wasn't hoping for

Re: [PATCH v2 1/3] KVM: x86: move kvm_vcpu_gfn_to_memslot() out of try_async_pf()

2020-08-13 Thread Sean Christopherson
On Fri, Aug 07, 2020 at 04:12:30PM +0200, Vitaly Kuznetsov wrote: > No functional change intended. Slot flags will need to be analyzed > prior to try_async_pf() when KVM_MEM_PCI_HOLE is implemented. Why? Wouldn't it be just as easy, and arguably more appropriate, to add KVM_PFN_ERR_PCI_HOLE and

[PATCH v2 1/3] KVM: x86: move kvm_vcpu_gfn_to_memslot() out of try_async_pf()

2020-08-07 Thread Vitaly Kuznetsov
No functional change intended. Slot flags will need to be analyzed prior to try_async_pf() when KVM_MEM_PCI_HOLE is implemented. Signed-off-by: Vitaly Kuznetsov --- arch/x86/kvm/mmu/mmu.c | 14 -- arch/x86/kvm/mmu/paging_tmpl.h | 7 +-- 2 files changed, 13