diff options
author | Collin Walling | 2020-09-15 21:44:09 +0200 |
---|---|---|
committer | Cornelia Huck | 2020-10-02 13:52:49 +0200 |
commit | 912d70d2755cb9b3144eeed4014580ebc5485ce6 (patch) | |
tree | e5513d817bc3c448556b74579fb6931bb8ce3294 /scsi/qemu-pr-helper.c | |
parent | hw/s390x/css: Remove double initialization (diff) | |
download | qemu-912d70d2755cb9b3144eeed4014580ebc5485ce6.tar.gz qemu-912d70d2755cb9b3144eeed4014580ebc5485ce6.tar.xz qemu-912d70d2755cb9b3144eeed4014580ebc5485ce6.zip |
s390/sclp: get machine once during read scp/cpu info
Functions within read scp/cpu info will need access to the machine
state. Let's make a call to retrieve the machine state once and
pass the appropriate data to the respective functions.
Signed-off-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Message-Id: <20200915194416.107460-2-walling@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'scsi/qemu-pr-helper.c')
0 files changed, 0 insertions, 0 deletions