[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations |
Date: |
Wed, 19 Sep 2012 16:53:52 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Peter Maydell wrote:
> On 19 September 2012 14:32, Jamie Lokier <address@hidden> 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
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, (continued)
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Avi Kivity, 2012/09/11
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, liu ping fan, 2012/09/13
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Avi Kivity, 2012/09/13
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Paolo Bonzini, 2012/09/13
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Avi Kivity, 2012/09/13
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Paolo Bonzini, 2012/09/13
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, liu ping fan, 2012/09/13
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Jamie Lokier, 2012/09/19
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Jamie Lokier, 2012/09/19
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Peter Maydell, 2012/09/19
- Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations,
Jamie Lokier <=
Re: [Qemu-devel] [PATCH V3 01/11] atomic: introduce atomic operations, Peter Maydell, 2012/09/11
[Qemu-devel] [PATCH V3 02/11] qom: apply atomic on object's refcount, Liu Ping Fan, 2012/09/11
[Qemu-devel] [PATCH V3 03/11] hotplug: introduce qdev_unplug_complete() to remove device from views, Liu Ping Fan, 2012/09/11
[Qemu-devel] [PATCH V3 04/11] pci: remove pci device from mem view when unplug, Liu Ping Fan, 2012/09/11
[Qemu-devel] [PATCH V3 05/11] memory: introduce ref, unref interface for MemoryRegionOps, Liu Ping Fan, 2012/09/11
[Qemu-devel] [PATCH V3 07/11] memory: implement e1000's MemoryRegionOps ref/unref, Liu Ping Fan, 2012/09/11
[Qemu-devel] [PATCH V3 10/11] vcpu: introduce lockmap, Liu Ping Fan, 2012/09/11