[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback |
Date: |
Wed, 11 Jun 2014 01:23:35 +0100 |
On 10 June 2014 19:09, Alexander Graf <address@hidden> wrote:
> I agree. I see two different paths forward:
>
> 1) Use the patches as they are - they seem pretty sound and take the
> existing x86/s390 only feature to spapr
> 2) Model an "NMI" button. That button would get instantiated by the
> machine model. That would allow the wiring to be defined by the board.
> Monitor / QMP would only "press" that button (trigger an edge interrupt?
> call a function? something).
>
>
> I don't mind much either way - option 2 is the architecturally correct way
> of doing this. Option 1 probably won't hurt us either.
In an ideal world I'd like (2), ie actually model front panel switches
per machine and with whatever the machine's behaviour actually
is. However pragmatically speaking that's an awful lot of work
(especially since it basically requires adding a lot of U/I which is
always controversial and hard to drive through). I think pragmatism
should probably win here.
-- PMM
- [Qemu-devel] [PATCH v3 0/4] cpus: Add generic NMI support, Alexey Kardashevskiy, 2014/06/04
- [Qemu-devel] [PATCH v3 4/4] target-ppc: Add support for new nmi() CPU callback, Alexey Kardashevskiy, 2014/06/04
- [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexey Kardashevskiy, 2014/06/04
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Luiz Capitulino, 2014/06/10
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Cornelia Huck, 2014/06/10
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Luiz Capitulino, 2014/06/10
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Paolo Bonzini, 2014/06/10
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexander Graf, 2014/06/10
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexey Kardashevskiy, 2014/06/10
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexander Graf, 2014/06/10
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexander Graf, 2014/06/10
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Paolo Bonzini, 2014/06/11
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexander Graf, 2014/06/11
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Paolo Bonzini, 2014/06/11
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexander Graf, 2014/06/11
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Paolo Bonzini, 2014/06/11
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexander Graf, 2014/06/11
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Paolo Bonzini, 2014/06/11
- Re: [Qemu-devel] [Qemu-ppc] [PATCH v3 1/4] cpus: Define NMI callback, Benjamin Herrenschmidt, 2014/06/11
- Re: [Qemu-devel] [PATCH v3 1/4] cpus: Define NMI callback, Alexander Graf, 2014/06/11