s390x/pci: move the memory region read from pcilg
commitab0380cab330c986ac6db91df1679c035d19ae77
authorPierre Morel <pmorel@linux.vnet.ibm.com>
Thu, 30 Nov 2017 12:55:28 +0000 (30 13:55 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 14 Dec 2017 16:56:54 +0000 (14 17:56 +0100)
tree43132d71a75f4fb384d27f442e7618c000f520b4
parent0e7c259adff7e97f829a08a5f146e7ee03b5ae47
s390x/pci: move the memory region read from pcilg

Let's move the memory region read from pcilg into a dedicated function.
This allows us to prepare a later patch.

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-6-git-send-email-pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-pci-inst.c