diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-11-15 18:13:11 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-11-15 18:13:11 +0100 |
| commit | 10d3c8f52dc2c0f498e81946bef8292424fcd1ce (patch) | |
| tree | a90061ae7f2da41693297087255668ff5fd4b1fb /test/sev-es.c | |
| parent | d27505ae4dbf2afa659df39d7498cae4b5da4454 (diff) | |
| download | cachepc-10d3c8f52dc2c0f498e81946bef8292424fcd1ce.tar.gz cachepc-10d3c8f52dc2c0f498e81946bef8292424fcd1ce.zip | |
Various fixes and improvements
Fixed vmsa decode for getting rip in debug mode. Added state machine to data access tracking. Handle mutliple unexpected data access page faults
Diffstat (limited to 'test/sev-es.c')
| -rw-r--r-- | test/sev-es.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sev-es.c b/test/sev-es.c index 2b75d6d..77abbb1 100644 --- a/test/sev-es.c +++ b/test/sev-es.c @@ -446,7 +446,7 @@ collect(struct kvm *kvm) memset(®s, 0, sizeof(regs)); ret = ioctl(kvm->vcpufd, KVM_GET_REGS, ®s); if (ret < 0) err(1, "KVM_GET_REGS"); - errx(1, "KVM_EXTI_MMIO: Victim %s at 0x%08llx: rip=0x%08llx\n", + errx(1, "KVM_EXIT_MMIO: Victim %s at 0x%08llx: rip=0x%08llx\n", kvm->run->mmio.is_write ? "write" : "read", kvm->run->mmio.phys_addr, regs.rip); } else if (kvm->run->exit_reason != KVM_EXIT_HLT) { |
