aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-01-01 10:31:49 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-04-22 07:24:37 -0400
commit1b0462e574f5238bb1ee811f014d629092c160cb (patch)
tree5a3aa021a865bed816385ea95aae11201560efc0 /arch/s390/include/asm/kvm_host.h
parent072c9878eedc2f1ef2f0d19ac7680beeee97bf05 (diff)
KVM: s390: add 'pgm' member to kvm_vcpu_arch and helper function
Add a 'struct kvm_s390_pgm_info pgm' member to kvm_vcpu_arch. This structure will be used if during instruction emulation in the context of a vcpu exception data needs to be stored somewhere. Also add a helper function kvm_s390_inject_prog_cond() which can inject vcpu's last exception if needed. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/kvm_host.h')
-rw-r--r--arch/s390/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index 90905ca93725..c290d443d2c1 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -286,6 +286,7 @@ struct kvm_vcpu_arch {
286 struct kvm_s390_local_interrupt local_int; 286 struct kvm_s390_local_interrupt local_int;
287 struct hrtimer ckc_timer; 287 struct hrtimer ckc_timer;
288 struct tasklet_struct tasklet; 288 struct tasklet_struct tasklet;
289 struct kvm_s390_pgm_info pgm;
289 union { 290 union {
290 struct cpuid cpu_id; 291 struct cpuid cpu_id;
291 u64 stidp_data; 292 u64 stidp_data;