Received: from eggs.gnu.org ([208.118.235.92]:40910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEMb6-0001MK-Kr for qemu-devel@nongnu.org; Wed, 19 Sep 2012 11:53:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEMb5-0001zi-Hb for qemu-devel@nongnu.org; Wed, 19 Sep 2012 11:53:56 -0400 Received: from mail2.shareable.org ([80.68.89.115]:50747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEMb5-0001zA-BX for qemu-devel@nongnu.org; Wed, 19 Sep 2012 11:53:55 -0400 Date: Wed, 19 Sep 2012 16:53:52 +0100 From: Jamie Lokier Message-ID: <20120919155352.GI17137@jl-vm1.vm.bytemark.co.uk> References: <1347349912-15611-1-git-send-email-qemulist@gmail.com> <1347349912-15611-2-git-send-email-qemulist@gmail.com> <504EF077.9080107@redhat.com> <20120919133201.GE17137@jl-vm1.vm.bytemark.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Jan Kiszka , Marcelo Tosatti , liu ping fan , qemu-devel@nongnu.org, Avi Kivity , Anthony Liguori , Paolo Bonzini Peter Maydell wrote: > On 19 September 2012 14:32, Jamie Lokier wrote: > > However, someone may run QEMU on a kernel before 2.6.32, which isn't > > that old. (E.g. my phone is running 2.6.28). > > NB that ARM kernels that old have other amusing bugs, such > as not saving the floating point registers when invoking > signal handlers. Hi Peter, It's not that old (< 3 years). Granted that's not a nice one, but I'm under the impression it occurs only when the signal handler uses (VFP hardware) floating point. I.e. most programs don't do that, they keep the signal handlers simple (probably including QEMU). (I've read about other platforms that have similar issues using floating point in signal handlers; best avoided.) Anyway, people are running those kernels, someone will try to run QEMU on it unless... > I would be happy for QEMU to just say "your kernel is too old!"... I'd be quite happy with that as well, if you want to put a check in and refuse to run (like Glibc does). Less happy with obscure, rare failures of atomicity that are practically undebuggable, and easily fixed. Cheers, -- Jamie