From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757282AbcAaLB6 (ORCPT ); Sun, 31 Jan 2016 06:01:58 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35180 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757256AbcAaLBz (ORCPT ); Sun, 31 Jan 2016 06:01:55 -0500 Subject: Re: [CRIU] x86: Hardware breakpoints are not always triggered To: Andrew Vagin , Andrey Wagin References: <56AA8928.50507@redhat.com> <20160128224224.GA10028@gmail.com> <20160129222130.GC10798@odin.com> Cc: kvm@vger.kernel.org, Oleg Nesterov , LKML , "criu@openvz.org" , Cyrill Gorcunov From: Paolo Bonzini Message-ID: <56ADE9A1.4080309@redhat.com> Date: Sun, 31 Jan 2016 12:01:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160129222130.GC10798@odin.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/01/2016 23:21, Andrew Vagin wrote: > On Thu, Jan 28, 2016 at 02:42:25PM -0800, Andrey Wagin wrote: >> On Thu, Jan 28, 2016 at 10:33:28PM +0100, Paolo Bonzini wrote: >>> >>> >>> On 28/01/2016 09:31, Andrey Wagin wrote: >>>> I tried to print drX registers after a break-point. Looks like they >>>> are set correctly. >>> >>> Can you try this KVM patch? >> >> Looks like it fixes a case when reproducers are running only in VM. > > Actually Oleg's reproducer detects the bug with this patch when they are > rinning only in VM. That's actually a good thing, because the patch was a long shot and I had no clue _why_ it would have fixed the bug. Oleg's reproducer spanning host and a VM actually gives me an idea of what is going on, I'll try to reproduce this week. Paolo