Re: [RFC 09/16] KVM: Protected memory extension

2020-06-02 Thread Huang, Kai
On Mon, 2020-05-25 at 18:34 +0300, Kirill A. Shutemov wrote: > On Mon, May 25, 2020 at 05:26:37PM +0200, Vitaly Kuznetsov wrote: > > "Kirill A. Shutemov" writes: > > > > > Add infrastructure that handles protected memory extension. > > > > > > Arch-specific code has to provide hypercalls and def

Re: [RFC 09/16] KVM: Protected memory extension

2020-05-25 Thread Kirill A. Shutemov
On Mon, May 25, 2020 at 05:26:37PM +0200, Vitaly Kuznetsov wrote: > "Kirill A. Shutemov" writes: > > > Add infrastructure that handles protected memory extension. > > > > Arch-specific code has to provide hypercalls and define non-zero > > VM_KVM_PROTECTED. > > > > Signed-off-by: Kirill A. Shutem

Re: [RFC 09/16] KVM: Protected memory extension

2020-05-25 Thread Vitaly Kuznetsov
"Kirill A. Shutemov" writes: > Add infrastructure that handles protected memory extension. > > Arch-specific code has to provide hypercalls and define non-zero > VM_KVM_PROTECTED. > > Signed-off-by: Kirill A. Shutemov > --- > include/linux/kvm_host.h | 4 ++ > mm/mprotect.c| 1 +

[RFC 09/16] KVM: Protected memory extension

2020-05-22 Thread Kirill A. Shutemov
Add infrastructure that handles protected memory extension. Arch-specific code has to provide hypercalls and define non-zero VM_KVM_PROTECTED. Signed-off-by: Kirill A. Shutemov --- include/linux/kvm_host.h | 4 ++ mm/mprotect.c| 1 + virt/kvm/kvm_main.c | 131 ++