On Thu, Oct 19, 2017 at 09:33:43PM -0500, Brijesh Singh wrote: > If hardware supports memory encryption then KVM_MEMORY_ENCRYPT_REG_REGION > and KVM_MEMORY_ENCRYPT_UNREG_REGION ioctl's can be used by userspace to > register/unregister the guest memory regions which may contain the encrypted > data (e.g guest RAM, PCI BAR, SMRAM etc). > > Cc: Thomas Gleixner <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: "H. Peter Anvin" <[email protected]> > Cc: Paolo Bonzini <[email protected]> > Cc: "Radim Krčmář" <[email protected]> > Cc: Joerg Roedel <[email protected]> > Cc: Borislav Petkov <[email protected]> > Cc: Tom Lendacky <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Brijesh Singh <[email protected]> > --- > Documentation/virtual/kvm/api.txt | 34 ++++++++++++++++++++++++++++++++++ > arch/x86/include/asm/kvm_host.h | 2 ++ > arch/x86/kvm/x86.c | 24 ++++++++++++++++++++++++ > include/uapi/linux/kvm.h | 8 ++++++++ > 4 files changed, 68 insertions(+)
Reviewed-by: Borislav Petkov <[email protected]> Improvements-by: Borislav Petkov <[email protected]> -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

