diff options
author | Matthew Rosato <mjrosato@linux.vnet.ibm.com> | 2014-08-28 11:25:33 -0400 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-09-01 09:25:32 +0200 |
commit | b6fe01248e66a3c1b1b22a9cd640bfa86d4c358c (patch) | |
tree | bc865027266a6747c0d521e11485145265749155 /target-s390x | |
parent | 0844df77fdf9cd115a3b8f414333d41b3a88bc9d (diff) | |
download | qemu-b6fe01248e66a3c1b1b22a9cd640bfa86d4c358c.zip qemu-b6fe01248e66a3c1b1b22a9cd640bfa86d4c358c.tar.gz qemu-b6fe01248e66a3c1b1b22a9cd640bfa86d4c358c.tar.bz2 |
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 <mjrosato@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x')
-rw-r--r-- | target-s390x/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index 17a3df4..f2715c6 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); |