[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v10 3/9] KVM: Extend the memslot to support fd-based private
From: |
Chao Peng |
Subject: |
Re: [PATCH v10 3/9] KVM: Extend the memslot to support fd-based private memory |
Date: |
Thu, 8 Dec 2022 19:30:03 +0800 |
On Thu, Dec 08, 2022 at 04:37:03PM +0800, Xiaoyao Li wrote:
> On 12/2/2022 2:13 PM, Chao Peng wrote:
>
> ..
>
> > Together with the change, a new config HAVE_KVM_RESTRICTED_MEM is added
> > and right now it is selected on X86_64 only.
> >
>
> From the patch implementation, I have no idea why HAVE_KVM_RESTRICTED_MEM is
> needed.
The reason is we want KVM further controls the feature enabling. An
opt-in CONFIG_RESTRICTEDMEM can cause problem if user sets that for
unsupported architectures.
Here is the original discussion:
https://lore.kernel.org/all/YkJLFu98hZOvTSrL@google.com/
Thanks,
Chao
- Re: [PATCH v10 2/9] KVM: Introduce per-page memory attributes, (continued)
Re: [PATCH v10 2/9] KVM: Introduce per-page memory attributes, Chenyi Qiang, 2022/12/28
[PATCH v10 3/9] KVM: Extend the memslot to support fd-based private memory, Chao Peng, 2022/12/02
Re: [PATCH v10 3/9] KVM: Extend the memslot to support fd-based private memory, Xiaoyao Li, 2022/12/08
Re: [PATCH v10 3/9] KVM: Extend the memslot to support fd-based private memory, Borislav Petkov, 2022/12/19
[PATCH v10 4/9] KVM: Add KVM_EXIT_MEMORY_FAULT exit, Chao Peng, 2022/12/02
[PATCH v10 5/9] KVM: Use gfn instead of hva for mmu_notifier_retry, Chao Peng, 2022/12/02