[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit
From: |
Paul Mackerras |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit |
Date: |
Mon, 16 Nov 2015 14:50:46 +1100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Thu, Nov 12, 2015 at 09:09:59AM +0100, Thomas Huth wrote:
>
> Shouldn't you also check MSR_ME here first and enter checkstop when
> machine checks are disabled?
MSR_ME is a hypervisor resource and is not able to be controlled by HV
KVM guests, or in fact by the OS running on the pseries machine target
regardless of how it's accelerated or emulated.
What you say would only apply if we had a powernv machine target and
we were emulating the whole system, and in that case we wouldn't be
using any hcalls, and we wouldn't be doing FWNMI (or at least not at
this level).
So the answer is no, MSR_ME will always be set when running in a
guest, and we don't ever need to checkstop the virtual machine.
> Also I think you have to set up some more registers for machine check
> interrupts, like SRR0 and SRR1?
They are already set up by the process of taking the machine check in
the first place.
Paul.
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, (continued)
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, Aravinda Prasad, 2015/11/12
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, David Gibson, 2015/11/12
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, Aravinda Prasad, 2015/11/12
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, David Gibson, 2015/11/13
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, Aravinda Prasad, 2015/11/13
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, Alexey Kardashevskiy, 2015/11/18
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, Aravinda Prasad, 2015/11/19
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit,
Paul Mackerras <=
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, Thomas Huth, 2015/11/16
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, Aravinda Prasad, 2015/11/16
- Re: [Qemu-devel] [PATCH 4/4] target-ppc: Handle NMI guest exit, Paul Mackerras, 2015/11/16
[Qemu-devel] [PATCH 2/4] spapr: Register and handle HCALL to receive updated RTAS region, Aravinda Prasad, 2015/11/11
Re: [Qemu-devel] [PATCH 0/4] target-ppc/spapr: Add FWNMI support in QEMU for PowerKVM guests, David Gibson, 2015/11/11