Received: from eggs.gnu.org ([2001:4830:134:3::10]:60376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGKjH-00063e-Uw for qemu-devel@nongnu.org; Fri, 24 Jun 2016 02:36:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGKjC-0007TN-Sm for qemu-devel@nongnu.org; Fri, 24 Jun 2016 02:36:38 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:32937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGKjC-0007T6-M5 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 02:36:34 -0400 Received: by mail-wm0-x244.google.com with SMTP id r201so2468300wme.0 for ; Thu, 23 Jun 2016 23:36:34 -0700 (PDT) Sender: Paolo Bonzini References: <1456252389-4416-1-git-send-email-rth@twiddle.net> <1456252389-4416-6-git-send-email-rth@twiddle.net> <57607C9C.8070404@ilande.co.uk> <57631FC9.1040303@ilande.co.uk> <65a57d82-174f-cc1c-d613-984bffce13d3@twiddle.net> From: Paolo Bonzini Message-ID: <03d5a05a-2674-b755-49d7-5a46dcadc237@redhat.com> Date: Fri, 24 Jun 2016 08:36:31 +0200 MIME-Version: 1.0 In-Reply-To: <65a57d82-174f-cc1c-d613-984bffce13d3@twiddle.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PULL 5/8] target-sparc: Use global registers for the register window List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , Mark Cave-Ayland Cc: qemu-devel@nongnu.org On 24/06/2016 05:57, Richard Henderson wrote: > > Whatever happens, it happens after 10GB of logs, which is simply too > much to sift through. I've tried to narrow it down, but the lack of a > hardware tlb refill means that we get hundreds of thousands of Data > Access Faults that are simply TLB misses and not the actual Segmentation > Fault in question. > > It doesn't seem to affect other OSes, so I can't imagine what quirk is > being exercised in this case. > > As loath as I am to suggest it, we may have to revert the sparc indirect > register patch for the release. We have more than a month. If it's reproducible, it can be fixed. :) > I do now ping the rest of my sparc improvements patchset. It's > completely independent of the use of indirect registers. Mark, perhaps you can try to use migration to reduce the amount of logging? (Start QEMU with -snapshot, try to stop the vm before it fails. If you succeed, do a "migrate exec:cat>foo.sav" followed by "commit"; if you fail, try again). It would be nice to have a mechanism to stop the VM after executing N basic blocks. Binary search on this value then can help with coming up with a more easily debuggable snapshot, possibly to a point where the difference between pre-patch and post-patch becomes deterministic. Paolo