selftests: kvm: split "launch" phase of SEV VM creation
Allow the caller to set the initial state of the VM. Doing this before sev_vm_launch() matters for SEV-ES, since that is the place where the VMSA is updated and after which the guest state becomes sealed. Signed-off-by:Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20240404121327.3107131-17-pbonzini@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- tools/testing/selftests/kvm/include/x86_64/sev.h 2 additions, 1 deletiontools/testing/selftests/kvm/include/x86_64/sev.h
- tools/testing/selftests/kvm/lib/x86_64/sev.c 10 additions, 6 deletionstools/testing/selftests/kvm/lib/x86_64/sev.c
- tools/testing/selftests/kvm/x86_64/sev_smoke_test.c 6 additions, 1 deletiontools/testing/selftests/kvm/x86_64/sev_smoke_test.c
Please register or sign in to comment