From b6fe01248e66a3c1b1b22a9cd640bfa86d4c358c Mon Sep 17 00:00:00 2001 From: Matthew Rosato Date: Thu, 28 Aug 2014 11:25:33 -0400 Subject: virtio-ccw: Include standby memory when calculating storage increment When determining the memory increment size, use the maxmem size if it was specified. Signed-off-by: Matthew Rosato Signed-off-by: Christian Borntraeger --- target-s390x/cpu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target-s390x') diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index 17a3df4d06..f2715c6e72 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -1060,6 +1060,9 @@ static inline void cpu_inject_crw_mchk(S390CPU *cpu) cpu_interrupt(CPU(cpu), CPU_INTERRUPT_HARD); } +/* from s390-virtio-ccw */ +#define MEM_SECTION_SIZE 0x10000000UL + /* fpu_helper.c */ uint32_t set_cc_nz_f32(float32 v); uint32_t set_cc_nz_f64(float64 v); -- cgit v1.2.1