s390x/pci: move the memory region write from pcistg
authorPierre Morel <pmorel@linux.vnet.ibm.com>
Thu, 30 Nov 2017 12:55:29 +0000 (13:55 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 14 Dec 2017 16:56:54 +0000 (17:56 +0100)
commit8af27a9eab16f92990ce9b562719bdb485ffaf1b
treef8bc7f1e21d5da76ac564e446f4a86de7eec1aa3
parentab0380cab330c986ac6db91df1679c035d19ae77
s390x/pci: move the memory region write from pcistg

Let's move the memory region write from pcistg into a dedicated
function.
This allows us to prepare a later patch searching for subregions
inside of the memory region.

Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1512046530-17773-7-git-send-email-pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-pci-inst.c