https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/tree/kvm-cpu.c https://lwn.net/Articles/658511/ Lauri worth trying kvmtool to check if program also zero regs in debug mode? l.