i386/sev: Add sev_kvm_init() override for SEV class
authorPankaj Gupta <pankaj.gupta@amd.com>
Thu, 30 May 2024 11:16:21 +0000 (06:16 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Jun 2024 09:01:06 +0000 (11:01 +0200)
commit990da8d243a8c59dafcbed78b56a0e4ffb1605d9
treeacc06d0641e8a93c8a5ab792a4abee1bc3fd9685
parent99190f805dca9475fe244fbd8041961842657dc2
i386/sev: Add sev_kvm_init() override for SEV class

Some aspects of the init routine SEV are specific to SEV and not
applicable for SNP guests, so move the SEV-specific bits into
separate class method and retain only the common functionality.

Co-developed-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Pankaj Gupta <pankaj.gupta@amd.com>
Message-ID: <20240530111643.1091816-10-pankaj.gupta@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/sev.c