aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorCarsten Otte <cotte@de.ibm.com>2011-07-24 04:48:21 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2011-07-24 04:48:21 -0400
commit598841ca9919d008b520114d8a4378c4ce4e40a1 (patch)
tree3f823474e70af4305c395fb220a138b5bc4e9f90 /arch/s390/include
parente5992f2e6c3829cd43dbc4438ee13dcd6506f7f3 (diff)
[S390] use gmap address spaces for kvm guest images
This patch switches kvm from using (Qemu's) user address space to Martin's gmap address space. This way QEMU does not have to use a linker script in order to fit large guests at low addresses in its address space. Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/kvm_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index e9bcdca32a32..8264b0b0f1ce 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -227,6 +227,7 @@ struct kvm_vcpu_arch {
227 struct cpuid cpu_id; 227 struct cpuid cpu_id;
228 u64 stidp_data; 228 u64 stidp_data;
229 }; 229 };
230 struct gmap *gmap;
230}; 231};
231 232
232struct kvm_vm_stat { 233struct kvm_vm_stat {
@@ -237,6 +238,7 @@ struct kvm_arch{
237 struct sca_block *sca; 238 struct sca_block *sca;
238 debug_info_t *dbf; 239 debug_info_t *dbf;
239 struct kvm_s390_float_interrupt float_int; 240 struct kvm_s390_float_interrupt float_int;
241 struct gmap *gmap;
240}; 242};
241 243
242extern int sie64a(struct kvm_s390_sie_block *, unsigned long *); 244extern int sie64a(struct kvm_s390_sie_block *, unsigned long *);