[PATCH 3/4] KVM: PPC: Book3S HV: Preserve guest CFAR register value
    Alexander Graf 
    agraf at suse.de
       
    Fri Feb 22 00:33:37 EST 2013
    
    
  
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 <paulus at samba.org>
Acked-by: Alexander Graf <agraf at suse.de>
Alex
    
    
More information about the Linuxppc-dev
mailing list