OSDN Git Service

kvm: svm: Add SEV feature definitions to KVM
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 4 Dec 2017 16:57:24 +0000 (10:57 -0600)
committerBrijesh Singh <brijesh.singh@amd.com>
Mon, 4 Dec 2017 16:57:24 +0000 (10:57 -0600)
commitba7c3398dc7eedbbe9d19a17ce3ab98349079fc7
tree387679e68ad9d565f8625e71c438a4e8ebca550e
parentcea3a19b007a690a40fac373f22bf34ea69761a2
kvm: svm: Add SEV feature definitions to KVM

Define the SEV enable bit for the VMCB control structure. The hypervisor
will use this bit to enable SEV in the guest.

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: x86@kernel.org
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
arch/x86/include/asm/svm.h