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)
commit9c5e0afaf15788bcbd1c3469da701ac3da826886
tree956dc818324c183282a3d2eddae25ca5393bb1ec
parent7607b7174405aec7441ff6c970833c463114040a
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: 9f5b5b950aa9 (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