summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-06-01 13:03:23 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2015-09-07 16:10:44 +0200
commit71a2fd355d8fa429bcc04740c260635e084255f2 (patch)
tree61a6c4c2d2163d3230a11cd1f5216fe7d7c7696d /include
parent80d23275e3c4bc93fa6f123613d5ff389ed3fc62 (diff)
downloadqemu-71a2fd355d8fa429bcc04740c260635e084255f2.zip
s390/sclp: store the increment_size in the sclp device
Let's calculate it once and reuse it. Suggested-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/s390x/sclp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/s390x/sclp.h b/include/hw/s390x/sclp.h
index 50094ebcc8..b0c71b5550 100644
--- a/include/hw/s390x/sclp.h
+++ b/include/hw/s390x/sclp.h
@@ -174,6 +174,7 @@ typedef struct SCLPDevice {
/* private */
DeviceState parent_obj;
SCLPEventFacility *event_facility;
+ int increment_size;
/* public */
} SCLPDevice;