On 19/06/2017 15:05, Ladi Prosek wrote: > With these two tweaks my test VM does not generate any DB exits. We > still occasionally set TF if we have an NMI and interrupt pending at > the same time (see inject_pending_event where we check > vcpu->arch.interrupt.pending, then later vcpu->arch.nmi_pending) but > we clear it immediately in the new code added in patch 4. Good, please check that eventinj.flat still works on non-nested and doesn't regress on nested (I'm not sure if it works right now). I'll check that too before applying, though. Paolo