libvirt/examples/systemtap
Daniel P. Berrangé d154b49a7e scripts: add systemtap script for capturing SEV-ES VMSA
In general we expect to be able to construct a SEV-ES VMSA
blob from knowledge about the AMD achitectural CPU register
defaults, KVM setup and QEMU setup. If any of this unexpectedly
changes, figuring out what's wrong could be horrible. This
systemtap script demonstrates how to capture the real VMSA
that is used for a SEV-ES as it is booted. The captured data
can be fed into the 'sevctl vmsa show' command in order to
produce formatted info with named registers, allowing a
'diff' to be performed.

This script will need updating for any kernel version that is
not 6.0, to set the correct line numbers.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-11-15 11:09:30 +00:00
..
amd-sev-es-vmsa.stp scripts: add systemtap script for capturing SEV-ES VMSA 2022-11-15 11:09:30 +00:00
events.stp examples: Use GLib event loop impl in events.stp 2020-08-21 11:34:23 +01:00
lock-debug.stp meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
meson.build meson: examples: build and install example files 2020-08-03 09:27:06 +02:00
qemu-monitor.stp Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
rpc-monitor.stp Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00