diff options
author | Peter Krempa <pkrempa@redhat.com> | 2023-03-06 11:17:42 +0100 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2023-03-06 13:35:44 +0100 |
commit | 83a78633a73ee5f3bd251fe3af03587ec629fcc6 (patch) | |
tree | 457b57adca07e89c97b7e15c2bec3d322e64f91c /examples | |
parent | c9291fceeff9bd261aaecf40751cb9c7fc3efb0d (diff) | |
download | libvirt-83a78633a73ee5f3bd251fe3af03587ec629fcc6.tar.gz |
examples: systemtap: Update to linux-6.3 (rc1)
The 'vmsa' struct was moved out of 'struct vcpu_svm' into the 'sev_es'
sub-struct in linux commit:
commit b67a4cc35c9f726999fa29880713ce72d4e39e8d
Author: Peter Gonda <pgonda@google.com>
Date: Thu Oct 21 10:42:59 2021 -0700
KVM: SEV: Refactor out sev_es_state struct
Move SEV-ES vCPU metadata into new sev_es_state struct from vcpu_svm.
Also update the line reference to have more margin.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/systemtap/amd-sev-es-vmsa.stp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/systemtap/amd-sev-es-vmsa.stp b/examples/systemtap/amd-sev-es-vmsa.stp index 7bd079be71..2ac0b6eb53 100644 --- a/examples/systemtap/amd-sev-es-vmsa.stp +++ b/examples/systemtap/amd-sev-es-vmsa.stp @@ -46,7 +46,7 @@ function dump_vmsa(addr:long) { # is the one beween the call to clflush_cache_range(...) and the # call to sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE...). # -# Line 632 is correct for Linux v6.0 -probe module("kvm_amd").statement("__sev_launch_update_vmsa@arch/x86/kvm/svm/sev.c:632") { - dump_vmsa($svm->vmsa) +# Line 635 is correct for Linux v6.3 +probe module("kvm_amd").statement("__sev_launch_update_vmsa@arch/x86/kvm/svm/sev.c:635") { + dump_vmsa($svm->sev_es->vmsa) } |