]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386/sev: Implement ConfidentialGuestSupport functions for SEV
authorRoy Hopkins <roy.hopkins@randomman.co.uk>
Thu, 3 Jul 2025 15:34:41 +0000 (16:34 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 12 Jul 2025 13:28:21 +0000 (15:28 +0200)
commit86e85eb1d41d1f2b328be812d3390d47055b620f
treef24b6b5972d91575b9ed94e2393857d7e64af0fe
parent4c7f0976b0d2afc892c10f6cc503e8b4607115e2
i386/sev: Implement ConfidentialGuestSupport functions for SEV

The ConfidentialGuestSupport object defines a number of virtual
functions that are called during processing of IGVM directives to query
or configure initial guest state. In order to support processing of IGVM
files, these functions need to be implemented by relevant isolation
hardware support code such as SEV.

This commit implements the required functions for SEV-ES and adds
support for processing IGVM files for configuring the guest.

Signed-off-by: Roy Hopkins <roy.hopkins@randomman.co.uk>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Gerd Hoffman <kraxel@redhat.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Link: https://lore.kernel.org/r/7145835f729e6195f2fbda308aa90e089a96ae6e.1751554099.git.roy.hopkins@randomman.co.uk
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/sev.c
target/i386/sev.h