qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [PATCH qemu] spapr: Enable in-kernel H_SET_MODE handling


From: Alexey Kardashevskiy
Subject: Re: [Qemu-ppc] [PATCH qemu] spapr: Enable in-kernel H_SET_MODE handling
Date: Sun, 6 Sep 2015 16:14:25 +1000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 09/04/2015 02:48 PM, David Gibson wrote:
On Wed, Sep 02, 2015 at 07:29:58PM +1000, Alexey Kardashevskiy wrote:
For setting debug watchpoints, sPAPR guests use H_SET_MODE hypercall.
The existing QEMU H_SET_MODE handler does not support this but
the KVM handler in HV KVM does. However it is not enabled.

This enables the in-kernel H_SET_MODE handler which handles:
- Completed Instruction Address Breakpoint Register
- Watch point 0 registers.

The rest is still handled in QEMU.

Reported-by: Anton Blanchard <address@hidden>
Signed-off-by: Alexey Kardashevskiy <address@hidden>

Applied to spapr-dev; I'll move it into spapr-next once it's had a
little more testing.

Another thing to keep in mind is that at some point in the past the host kernel used to handle H_SET_MODE and QEMU did not have the handler at all, now this functionality is in QEMU but some RHEL kernel could have picked a kernel with the in-kernel handler.


--
Alexey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]