On 15/06/2017 13:20, Ladi Prosek wrote: > Example: NMI singlestepping is enabled while running L1 guest. The > instruction to step over is VMRUN and nested vmrun emulation stashes > rflags to hsave->save.rflags. Then if singlestepping is disabled > while still in L2, TF/RF will be cleared from the nested VMCB but the > next nested VM exit will restore them from hsave->save.rflags and > cause an unexpected DB exception. Stupid question ahead, why is NMI singlestepping even using RF? I should fire up my AMD box and see whether changing it breaks eventinj.flat... Paolo