mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
80d23275e3
commit
71a2fd355d
2 changed files with 4 additions and 17 deletions
|
@ -174,6 +174,7 @@ typedef struct SCLPDevice {
|
|||
/* private */
|
||||
DeviceState parent_obj;
|
||||
SCLPEventFacility *event_facility;
|
||||
int increment_size;
|
||||
|
||||
/* public */
|
||||
} SCLPDevice;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue