sev/i386: add command to initialize the memory encryption context
When memory encryption is enabled, KVM_SEV_INIT command is used to initialize the platform. The command loads the SEV related persistent data from non-volatile storage and initializes the platform context. This command should be first issued before invoking any other guest commands provided by the SEV firmware. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by:Brijesh Singh <brijesh.singh@amd.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- target/i386/Makefile.objs 1 addition, 0 deletionstarget/i386/Makefile.objs
- target/i386/monitor.c 10 additions, 2 deletionstarget/i386/monitor.c
- target/i386/sev-stub.c 41 additions, 0 deletionstarget/i386/sev-stub.c
- target/i386/sev.c 224 additions, 0 deletionstarget/i386/sev.c
- target/i386/sev_i386.h 24 additions, 0 deletionstarget/i386/sev_i386.h
- target/i386/trace-events 3 additions, 0 deletionstarget/i386/trace-events
Loading
Please register or sign in to comment