• Brijesh Singh's avatar
    KVM: SVM: Fix SEV LAUNCH_SECRET command · 9c5e0afa
    Brijesh Singh authored
    The SEV LAUNCH_SECRET command fails with error code 'invalid param'
    because we missed filling the guest and header system physical address
    while issuing the command.
    
    Fixes: 9f5b5b95 (KVM: SVM: Add support for SEV LAUNCH_SECRET command)
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Radim Krčmář <rkrcmar@redhat.com>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: Tom Lendacky <thomas.lendacky@amd.com>
    Cc: linux-kernel@vger.kernel.org
    Cc: Joerg Roedel <joro@8bytes.org>
    Signed-off-by: default avatarBrijesh Singh <brijesh.singh@amd.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    9c5e0afa
svm.c 175 KB