s390/sclp: move sclp_execute related functions into the SCLP class
commit25a3c5af57db0319f5cfb4c439efbc78b230599e
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Wed, 27 May 2015 08:04:56 +0000 (27 10:04 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 7 Sep 2015 14:10:43 +0000 (7 16:10 +0200)
tree04c78fa66ea9a1c21d96b91aa79f8d6d09a56530
parent515190d9da0c85084d32d6ad36afb15a6d35729e
s390/sclp: move sclp_execute related functions into the SCLP class

Let's move the sclp_execute related functions into the SCLP class
and pass the device state as parameter, so we have easy access to
the SCLPDevice later on.

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>
hw/s390x/sclp.c
include/hw/s390x/sclp.h