• Brijesh Singh's avatar
    KVM: SVM: Add KVM_SEV_INIT command · 1654efcb
    Brijesh Singh authored
    The command initializes the SEV platform context and allocates a new ASID
    for this guest from the SEV ASID pool. The firmware must be initialized
    before we issue any guest launch commands to create a new memory encryption
    context.
    
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: "Radim Krčmář" <rkrcmar@redhat.com>
    Cc: Joerg Roedel <joro@8bytes.org>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: Tom Lendacky <thomas.lendacky@amd.com>
    Cc: x86@kernel.org
    Cc: kvm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarBrijesh Singh <brijesh.singh@amd.com>
    Reviewed-by: default avatarBorislav Petkov <bp@suse.de>
    1654efcb
svm.c 149 KB