summaryrefslogtreecommitdiffstats
path: root/wiki/open-iov.org/index.php?title=Special:RecentChanges&feed=atom
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-29 08:53:11 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-29 08:53:11 -0400
commit6e04a93838cdebbcf9183278cb71bdf1b4235cdc (patch)
tree219603fb2b24af8705a09558d93d8f41c33081e2 /wiki/open-iov.org/index.php?title=Special:RecentChanges&feed=atom
parent6588981b619814b9c2b26130165e440f0556bdec (diff)
downloadopen-iov-6e04a93838cdebbcf9183278cb71bdf1b4235cdc.tar.gz
open-iov-6e04a93838cdebbcf9183278cb71bdf1b4235cdc.zip
tools: durable guest counter enumeration/injection and VA reader
The counter enumeration/injection workflow lived in the guest's /tmp and was lost on every restart. Make it durable under tools/guest-diag: - sem_counters.py: translate a process's per-channel u32 completion counters (16-byte stride in the /dev/nvidiactl counter page) to guest PAs through /proc/<pid>/pagemap; --pairs emits handle,va,pa triples. - sem_slots.py: read/write the counter slots via /proc/<pid>/mem (fallback for the host counter publish). - read_va.py: hex dump a process VA (UVM sysmem GPU VAs are usually valid CPU VAs in the owning process); --u32 for method streams. - inject_counters.sh: host-side one-shot: push the tool, take the GR handles from the live chan_dump, enumerate, then register each counter with sema_counter and pin its VA with sema_map_add. - push_guest_tools.sh: push the new tools after every VM start. - launch_qemu_direct.sh: parameterized mdev UUID/paths instead of a stale hardcoded one; committed so it survives checkouts.
Diffstat (limited to 'wiki/open-iov.org/index.php?title=Special:RecentChanges&feed=atom')
0 files changed, 0 insertions, 0 deletions