Oliver Upton <oupton@xxxxxxxxxx> writes: > KVM defines the #DB payload as compatible with the 'pending debug exceptions' field under VMX, not DR6. Mask off bit 12 when applying the payload to DR6, as it is reserved on DR6 but not the 'pending debug exceptions' field. > > Fixes: f10c729ff965 ("kvm: vmx: Defer setting of DR6 until #DB delivery") > Signed-off-by: Oliver Upton <oupton@xxxxxxxxxx> > Looks fine for me. Thanks. Reviewed-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>