Michael Neuling b005255e12 KVM: PPC: Book3S HV: Context-switch new POWER8 SPRs
This adds fields to the struct kvm_vcpu_arch to store the new
guest-accessible SPRs on POWER8, adds code to the get/set_one_reg
functions to allow userspace to access this state, and adds code to
the guest entry and exit to context-switch these SPRs between host
and guest.

Note that DPDES (Directed Privileged Doorbell Exception State) is
shared between threads on a core; hence we store it in struct
kvmppc_vcore and have the master thread save and restore it.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-01-27 16:01:00 +01:00
..
2012-03-28 18:30:02 +01:00
2013-11-14 14:02:00 +09:00
2013-10-11 16:53:26 +11:00
2013-10-11 16:48:34 +11:00
2011-11-28 21:13:18 +02:00
2011-03-31 11:26:23 -03:00
2013-10-11 18:23:53 +11:00
2011-03-31 11:26:23 -03:00
2013-08-14 15:33:22 +10:00
2013-10-11 18:23:53 +11:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00