Re: [libvirt PATCH v3 11/12] scripts: add systemtap script for capturing SEV-ES VMSA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Wednesday in 2022, Daniel P. Berrangé wrote:
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.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
examples/systemtap/amd-sev-es-vmsa.stp | 48 ++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 examples/systemtap/amd-sev-es-vmsa.stp


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux