On Mon, Dec 18, 2023, Peter Gonda wrote: > A very simple of booting SEV guests that checks SEV related CPUID bits > and the SEV MSR. Phrase changelogs as commands. > Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx> > Cc: Sean Christopherson <seanjc@xxxxxxxxxx> > Cc: Vishal Annapurve <vannapurve@xxxxxxxxxx> > Cc: Ackerly Tng <ackerleytng@xxxxxxxxxx> > cc: Andrew Jones <andrew.jones@xxxxxxxxx> > Cc: Tom Lendacky <thomas.lendacky@xxxxxxx> > Cc: Michael Roth <michael.roth@xxxxxxx> > Suggested-by: Michael Roth <michael.roth@xxxxxxx> > Signed-off-by: Peter Gonda <pgonda@xxxxxxxxxx> > --- > tools/testing/selftests/kvm/Makefile | 1 + > .../selftests/kvm/x86_64/sev_all_boot_test.c | 59 +++++++++++++++++++ > 2 files changed, 60 insertions(+) > create mode 100644 tools/testing/selftests/kvm/x86_64/sev_all_boot_test.c I think sev_smoke_test is more appropriate. This isn't "booting" in the traditional sense, e.g. it's not going through BIOS/firmware, transfering to a proper kernel, etc.