Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > > On 19/04/2015 14:18, Nadav Amit wrote: >> If the host sets hardware breakpoints to debug the guest, and a task-switch >> occurs in the guest, the architectural DR7 will not be updated. The effective >> DR7 would be updated instead. >> >> This fix uses the standard DR setting mechanism instead of the one that was >> previously used. As a bonus, the update of DR7 will now be effective for AMD as >> well. > > Is there a reason not to do it in emulate.c instead? Not that I can think of. I will make a new version. Nadav-- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html