s390x/css: handle emw correctly for tsch
commitf068d320def7fd83bf0fcdca37b305f1c2ac5413
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 27 May 2014 10:40:44 +0000 (27 12:40 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 10 Jun 2014 07:50:26 +0000 (10 09:50 +0200)
tree4cdcf0f962d1211847f0dd15a0e7ba4688469579
parent7721a3044234c46cd6f5f899e7467dc9351f3c8d
s390x/css: handle emw correctly for tsch

We should not try to store the emw portion of the irb if extended
measurements are not applicable. In particular, we should not surprise
the guest by storing a larger irb if it did not enable extended
measurements.

Cc: qemu-stable@nongnu.org
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/css.c