]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Fix SEV LAUNCH_SECRET command
authorBrijesh Singh <brijesh.singh@amd.com>
Mon, 19 Feb 2018 16:13:25 +0000 (10:13 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 24 Feb 2018 01:24:13 +0000 (02:24 +0100)
commit679d80c20604ddc006a729a11852a7a23470815f
tree956dc818324c183282a3d2eddae25ca5393bb1ec
parent82e3b7d238761b2336e428379b3797f560694119
KVM: SVM: Fix SEV LAUNCH_SECRET command

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: 0a29b78745b7 (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: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c