[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 5/8] KVM: Register/unregister the guest private memory reg
From: |
Chao Peng |
Subject: |
Re: [PATCH v8 5/8] KVM: Register/unregister the guest private memory regions |
Date: |
Mon, 26 Sep 2022 22:07:15 +0800 |
On Mon, Sep 26, 2022 at 11:36:34AM +0100, Fuad Tabba wrote:
...
> > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> > index 2125b50f6345..d65690cae80b 100644
> > --- a/include/linux/kvm_host.h
> > +++ b/include/linux/kvm_host.h
> > @@ -260,6 +260,15 @@ bool kvm_test_age_gfn(struct kvm *kvm, struct
> > kvm_gfn_range *range);
> > bool kvm_set_spte_gfn(struct kvm *kvm, struct kvm_gfn_range *range);
> > #endif
> >
> > +#ifdef __KVM_HAVE_ZAP_GFN_RANGE
> > +void kvm_zap_gfn_range(struct kvm *kvm, gfn_t gfn_start, gfn_t gfn_end);
> > +#else
> > +static inline void kvm_zap_gfn_range(struct kvm *kvm, gfn_t gfn_start
> > + gfn_t gfn_end)
>
> Missing a comma after gfn_start.
Good catch, thanks!
Chao
>
> Cheers,
> /fuad
- [PATCH v8 2/8] KVM: Extend the memslot to support fd-based private memory, (continued)
- [PATCH v8 2/8] KVM: Extend the memslot to support fd-based private memory, Chao Peng, 2022/09/15
- [PATCH v8 4/8] KVM: Use gfn instead of hva for mmu_notifier_retry, Chao Peng, 2022/09/15
- [PATCH v8 5/8] KVM: Register/unregister the guest private memory regions, Chao Peng, 2022/09/15
- [PATCH v8 6/8] KVM: Update lpage info when private/shared memory are mixed, Chao Peng, 2022/09/15
- [PATCH v8 7/8] KVM: Handle page fault for private memory, Chao Peng, 2022/09/15
- [PATCH v8 8/8] KVM: Enable and expose KVM_MEM_PRIVATE, Chao Peng, 2022/09/15