Thread (6 messages) 6 messages, 2 authors, 2013-02-21

Re: [PATCH 3/4] KVM: PPC: Book3S HV: Preserve guest CFAR register value

From: Alexander Graf <hidden>
Date: 2013-02-21 13:33:46

On 05.02.2013, at 05:10, Paul Mackerras wrote:
The CFAR (Come-From Address Register) is a useful debugging aid that
exists on POWER7 processors.  Currently HV KVM doesn't save or restore
the CFAR register for guest vcpus, making the CFAR of limited use in
guests.

This adds the necessary code to capture the CFAR value saved in the
early exception entry code (it has to be saved before any branch is
executed), save it in the vcpu.arch struct, and restore it on entry
to the guest.

Signed-off-by: Paul Mackerras <redacted>
Acked-by: Alexander Graf <redacted>


Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help