summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/push_guest_tools.sh
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-28 13:13:27 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-28 13:13:27 -0400
commit96ea661afff1c904ba46cb7e669f94f58453636f (patch)
tree862d21eea709c1c653d4fe0fcbc789ebf8131cb6 /tools/guest-diag/push_guest_tools.sh
parentba95c995a719289f40fedda081df91f576b52c2a (diff)
downloadopen-iov-96ea661afff1c904ba46cb7e669f94f58453636f.tar.gz
open-iov-96ea661afff1c904ba46cb7e669f94f58453636f.zip
gsp_rm: retire event records on FREE; guest-diag: bp999 dumps the RM error record
A freed client's notifier events (hSrcResource 0) stayed valid in the event table, so the fallback wake-up nudge kept posting POST_EVENT records for a (hClient, hEvent) pair the guest RM no longer knows; every one asserts in CliGetEventInfo (kernel_gsp.c:466) and is dropped (171 failures in the 15:24 window of the last run, zero after this fix). FREE now retires the matching event record (and a client's records when its root object is freed). bp999.py now walks rdi -> ctx -> ctx[0x1291] -> +0x10 -> +0x10 and prints the RM error notification record, and push_guest_tools.sh ships it to the guest.
Diffstat (limited to 'tools/guest-diag/push_guest_tools.sh')
-rwxr-xr-xtools/guest-diag/push_guest_tools.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/guest-diag/push_guest_tools.sh b/tools/guest-diag/push_guest_tools.sh
index 516c64a..607cce4 100755
--- a/tools/guest-diag/push_guest_tools.sh
+++ b/tools/guest-diag/push_guest_tools.sh
@@ -26,6 +26,7 @@ push_b64 "$HERE/ioctl_trace.c" /tmp/iot.c
push_b64 "$REPO/tools/test/cuda_drv_test.c" /tmp/cdt.c
push_b64 "$HERE/dumpctx.py" /tmp/dumpctx.py
push_b64 "$HERE/trkinfo.py" /tmp/trkinfo.py
+push_b64 "$HERE/bp999.py" /tmp/bp999.py
echo "[*] compiling in guest..."
"$VMEXEC" exec "gcc -O1 -w -o /tmp/ptio /tmp/ptio.c && \