On Tue, Oct 16, 2018 at 3:07 PM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > On 16/10/2018 23:29, Jim Mattson wrote: >> + } else if (vmcs12->exception_bitmap & (1u << nr)) { >> + if (nr == DB_VECTOR) >> + *exit_qual = has_payload ? payload : vcpu->arch.dr6; > > Ok to change this last line to > > if (!has_payload) { > payload = vcpu->arch.dr6; > payload &= ~(DR6_FIXED_1 | DR6_BT); > payload ^= DR6_RTM; > } > *exit_qual = payload; > > in order to keep the current behavior in kvm/queue? Yes, please do.