[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest
From: |
Isaku Yamahata |
Subject: |
Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory |
Date: |
Mon, 22 Aug 2022 18:25:41 -0700 |
On Wed, Aug 17, 2022 at 10:27:19AM -0500,
Michael Roth <michael.roth@amd.com> wrote:
> > I think the best approach is to turn KVM_TDX_INIT_MEM_REGION into a generic
> > vCPU-scoped ioctl() that allows userspace to pre-map guest memory.
> > Supporting
> > initializing guest private memory with a source page can be implemented via
> > a
> > flag. That also gives KVM line of sight to in-place "conversion", e.g.
> > another
> > flag could be added to say that the dest is also the source.
>
> So is this proposed ioctl only intended to handle the initial encrypted
> payload, and the KVM_MEMORY_ENCRYPT_{REG,UNREG}_REGION ioctls would
> still be used for conversions post-boot?
Yes. It is called before running any vcpu. At run time (after running vcpus),
KVM_MEMORY_ENCRYPT_{REG,UNREG}_REGION is used.
--
Isaku Yamahata <isaku.yamahata@gmail.com>
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, (continued)
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Gupta, Pankaj, 2022/08/12
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Nikunj A. Dadhania, 2022/08/12
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Gupta, Pankaj, 2022/08/12
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Chao Peng, 2022/08/15
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Nikunj A. Dadhania, 2022/08/16
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Gupta, Pankaj, 2022/08/16
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Kirill A . Shutemov, 2022/08/16
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Gupta, Pankaj, 2022/08/16
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Sean Christopherson, 2022/08/16
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Michael Roth, 2022/08/18
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory,
Isaku Yamahata <=
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Gupta, Pankaj, 2022/08/23
Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Hugh Dickins, 2022/08/18
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Kirill A . Shutemov, 2022/08/18
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Sean Christopherson, 2022/08/18
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Hugh Dickins, 2022/08/18
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Sean Christopherson, 2022/08/19
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, David Hildenbrand, 2022/08/23
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Sean Christopherson, 2022/08/23
- Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Chao Peng, 2022/08/24
Re: [PATCH v7 00/14] KVM: mm: fd-based approach for supporting KVM guest private memory, Hugh Dickins, 2022/08/18